Skip to content

Support NVGRE on i40e

Declan Doherty dpdk-dev 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 1 replyApplied

Changes in v3 from the cover letter

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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4librte_ether:add an ETHER_TYPE_TEB macrolib/librte_ether/rte_ether.h+1 -00 replies
2/4i40e:support RX tunnel filter for NVGRE packetlib/librte_pmd_i40e/i40e_ethdev.c+3 -00 replies
3/4app/testpmd:test RX tunnel filter for NVGRE packetapp/test-pmd/cmdline.c+7 -50 replies
4/4app/testpmd:test NVGRE Tx checksum offloadapp/test-pmd/csumonly.c+18 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] Support NVGRE on i40e

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(-)
Signature · 1 line
1.9.3