From: Jingjing Wu Date: Sat, 10 Dec 2016 11:24:23 +0000 (+0800) Subject: net/i40e/base: add encap checksum VF offload flag X-Git-Tag: spdx-start~5039 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9710c12898ed83258f6ac7c8e9d53112425a0cd6;p=dpdk.git net/i40e/base: add encap checksum VF offload flag Add ENCAP_CSUM offload negotiation flag. Currently VF assumes checksum offload for encapsulated packets is supported by default. Going forward, this feature needs to be negotiated with PF before advertising to the stack. Hence, we need a flag to control it. Signed-off-by: Jingjing Wu --- diff --git a/drivers/net/i40e/base/i40e_virtchnl.h b/drivers/net/i40e/base/i40e_virtchnl.h index fd51ec32d8..07e7472a80 100644 --- a/drivers/net/i40e/base/i40e_virtchnl.h +++ b/drivers/net/i40e/base/i40e_virtchnl.h @@ -170,6 +170,7 @@ struct i40e_virtchnl_vsi_resource { #define I40E_VIRTCHNL_VF_OFFLOAD_RX_POLLING 0x00020000 #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_PCTYPE_V2 0x00040000 #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF 0X00080000 +#define I40E_VIRTCHNL_VF_OFFLOAD_ENCAP_CSUM 0X00100000 struct i40e_virtchnl_vf_resource { u16 num_vsis;