The patch set supports NVGRE on i40e. It includes: - Support RX filters for NVGRE packet. It uses MAC and VLAN to point to a queue. The filter types supported are listed below:
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 - Support TX checksum offload for NVGRE packet, which include outer L3(IP), inner L3(IP) and inner L4(UDP, TCP and SCTP) V2 changes: Do some rework based on Olivier's patch set [PATCH v2 00/20] enhance tx checksum offload API; the changes are listed below, 1. remove nvgre_hdr definition from rte_ether.h file. It is not used in csumonly.c file. 2. remove filter type iip that is not supported well in current firmware. 3. remove GRE packet flag from mbuf. Jijiang Liu (4): add ETHER_TYPE_TEB definition add nvgre filter test nvgre filter test nvgre tx checksum app/test-pmd/cmdline.c | 14 ++++++++------ app/test-pmd/csumonly.c | 32 +++++++++++++++++++------------- lib/librte_ether/rte_ether.h | 1 + lib/librte_pmd_i40e/i40e_ethdev.c | 3 +++ 4 files changed, 31 insertions(+), 19 deletions(-) -- 1.7.7.6