From: Jingjing Wu Date: Sat, 10 Dec 2016 11:24:27 +0000 (+0800) Subject: net/i40e/base: group base mode VF offload flags X-Git-Tag: spdx-start~5035 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bac253d42df79f68b12a13a3b4f3b8522812843f;p=dpdk.git net/i40e/base: group base mode VF offload flags Group together the minimum set of offload capabilities that are always supported by VF in base mode. This define would be used by PF to make sure VF in base mode gets minimum of base capabilities. Signed-off-by: Jingjing Wu --- diff --git a/drivers/net/i40e/base/i40e_virtchnl.h b/drivers/net/i40e/base/i40e_virtchnl.h index 07e7472a80..8fba6081e4 100644 --- a/drivers/net/i40e/base/i40e_virtchnl.h +++ b/drivers/net/i40e/base/i40e_virtchnl.h @@ -172,6 +172,10 @@ struct i40e_virtchnl_vsi_resource { #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF 0X00080000 #define I40E_VIRTCHNL_VF_OFFLOAD_ENCAP_CSUM 0X00100000 +#define I40E_VF_BASE_MODE_OFFLOADS (I40E_VIRTCHNL_VF_OFFLOAD_L2 | \ + I40E_VIRTCHNL_VF_OFFLOAD_VLAN | \ + I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF) + struct i40e_virtchnl_vf_resource { u16 num_vsis; u16 num_queue_pairs;