net/i40e/base: add VF offload flags
This patch adds: - ENCAP offload negotiation flag. Use the existing ENCAP_CSUM offload flag to negotiate GSO_UDP_TUNNEL_CSUM capability and create new ENCAP flag for negotiating offloads for encapsulated packets - RX_ENCAP_CSUM offload negotiation flag for VF to negotiate RX checksum capability for tunnelled packet types. Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
This commit is contained in:
parent
1bed3a34d5
commit
1661615d9a
@ -170,7 +170,9 @@ 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
|
||||
#define I40E_VIRTCHNL_VF_OFFLOAD_ENCAP 0X00100000
|
||||
#define I40E_VIRTCHNL_VF_OFFLOAD_ENCAP_CSUM 0X00200000
|
||||
#define I40E_VIRTCHNL_VF_OFFLOAD_RX_ENCAP_CSUM 0X00400000
|
||||
|
||||
#define I40E_VF_BASE_MODE_OFFLOADS (I40E_VIRTCHNL_VF_OFFLOAD_L2 | \
|
||||
I40E_VIRTCHNL_VF_OFFLOAD_VLAN | \
|
||||
|
Loading…
Reference in New Issue
Block a user