]> Git Repo - linux.git/commit
i40e/i40evf: Add capability exchange for outer checksum
authorPreethi Banala <[email protected]>
Mon, 27 Mar 2017 21:43:18 +0000 (14:43 -0700)
committerJeff Kirsher <[email protected]>
Fri, 7 Apr 2017 03:14:51 +0000 (20:14 -0700)
commitbacd75cfac8af9fc91b7fde4b0cad8960c77986f
treee6baeb6ce83e8e2a35adb5e4c69fba701d622619
parentdc423b6be10c56d0dd957caf307f12d16f728f07
i40e/i40evf: Add capability exchange for outer checksum

This patch adds a capability negotiation between VF and PF using ENCAP/
ENCAP_CSUM offload flags in order for the VF to support outer checksum
and TSO offloads for encapsulated packets. These capabilities were assumed
by default and enabled in current hardware. Going forward, these features
needs to be negotiated with PF before advertising to the stack.
Additionally, strip out the mac.type checks for X722 since outer checksums
are enabled based on the ENCAP_CSUM offload negotiation flag and maintain
consistency between drivers in how the features are configured.

Change-ID: Ie380a6f57eca557a2bb575b66b12fae36d308920
Signed-off-by: Preethi Banala <[email protected]>
Signed-off-by: Alan Brady <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl.h
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
This page took 0.055051 seconds and 4 git commands to generate.