[dpdk-dev] [PATCH v3 0/4] Support NVGRE on i40e

Declan Doherty declan.doherty at intel.com
Fri Feb 20 18:01:43 CET 2015


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.

V3 changes:
	- Addresses Olivier's comment's for V2 of patchset
	- Re-based against HEAD 

Jijiang Liu (4):
  librte_ether:add an ETHER_TYPE_TEB macro
  i40e:support RX tunnel filter for NVGRE packet
  app/testpmd:test RX tunnel filter for NVGRE packet
  app/testpmd:test NVGRE Tx checksum offload

 app/test-pmd/cmdline.c            | 12 +++++++-----
 app/test-pmd/csumonly.c           | 29 ++++++++++++++++++-----------
 lib/librte_ether/rte_ether.h      |  1 +
 lib/librte_pmd_i40e/i40e_ethdev.c |  3 +++
 4 files changed, 29 insertions(+), 16 deletions(-)

-- 
1.9.3



More information about the dev mailing list