i40e: support NVGRE in Rx tunnel filtering
The filter types supported are listed below for NVGRE packet: 1. Inner MAC and Inner VLAN ID. 2. Inner MAC address, inner VLAN ID and tenant ID. 3. Inner MAC and tenant ID. 4. Inner MAC address. 5. Outer MAC address, tenant ID and inner MAC address. Signed-off-by: Jijiang Liu <jijiang.liu@intel.com> Signed-off-by: Declan Doherty <declan.doherty@intel.com>
This commit is contained in:
parent
09ba608848
commit
352378ede8
@ -4811,6 +4811,9 @@ i40e_dev_tunnel_filter_set(struct i40e_pf *pf,
|
||||
case RTE_TUNNEL_TYPE_VXLAN:
|
||||
tun_type = I40E_AQC_ADD_CLOUD_TNL_TYPE_XVLAN;
|
||||
break;
|
||||
case RTE_TUNNEL_TYPE_NVGRE:
|
||||
tun_type = I40E_AQC_ADD_CLOUD_TNL_TYPE_NVGRE_OMAC;
|
||||
break;
|
||||
default:
|
||||
/* Other tunnel types is not supported. */
|
||||
PMD_DRV_LOG(ERR, "tunnel type is not supported.");
|
||||
|
Loading…
Reference in New Issue
Block a user