[Intel-wired-lan] [next PATCH S64 1/1] i40e/i40evf: Add capability exchange for outer checksum

Bowers, AndrewX andrewx.bowers at intel.com
Wed Mar 29 00:27:03 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Monday, March 27, 2017 2:43 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Alexander Duyck <aduyck at mirantis.com>
> Subject: [Intel-wired-lan] [next PATCH S64 1/1] i40e/i40evf: Add capability
> exchange for outer checksum
> 
> From: Preethi Banala <preethi.banala at intel.com>
> 
> 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.
> 
> Signed-off-by: Preethi Banala <preethi.banala at intel.com>
> Signed-off-by: Alan Brady <alan.brady at intel.com>
> Signed-off-by: Alexander Duyck <aduyck at mirantis.com>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-ID: Ie380a6f57eca557a2bb575b66b12fae36d308920
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c        | 52 +++++++++---------
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl.h    |  3 +-
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c |  7 +++
> drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h  |  3 +-
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 61 ++++++++++++-------
> ---
>  .../net/ethernet/intel/i40evf/i40evf_virtchnl.c    |  4 +-
>  6 files changed, 74 insertions(+), 56 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list