This patch set add the VxLAN & NVGRE checksum off-load support. Both RX and TX checksum off-load can be used for VxLAN & NVGRE. And the VxLAN port can be set, it's implemented in this patch set either.
v2: - Update release note. v3: - Update RX/TX offload capability. - Reuse PKT_RX_EIP_CKSUM_BAD but not add a new one. - Correct the tunnel len for TX, and remove the useless out_l2_len. - Don't set the tunnel type for TX, and remove the unused ol_flag_nvgre. v4: - Fix the issue that not setting the MAC length correctly. v5: - Change the behavior of VxLAN port add/del to make it align with i40e. v6: - Fix x86_64-native-linuxapp-gcc-shared compile error. v7: - Change the return value from hardcode to macro. Wenzhuo Lu (5): lib/librte_ether: change function name of tunnel port config i40e: rename the tunnel port config functions ixgbe: support UDP tunnel port config ixgbe: support VxLAN & NVGRE RX checksum off-load ixgbe: support VxLAN & NVGRE TX checksum off-load app/test-pmd/cmdline.c | 6 +- doc/guides/rel_notes/release_16_04.rst | 9 +++ drivers/net/i40e/i40e_ethdev.c | 22 +++--- drivers/net/ixgbe/ixgbe_ethdev.c | 131 +++++++++++++++++++++++++++++++++ drivers/net/ixgbe/ixgbe_rxtx.c | 67 ++++++++++++++--- drivers/net/ixgbe/ixgbe_rxtx.h | 6 +- examples/tep_termination/vxlan_setup.c | 2 +- lib/librte_ether/rte_ethdev.c | 45 +++++++++++ lib/librte_ether/rte_ethdev.h | 19 +++++ lib/librte_ether/rte_ether_version.map | 2 + lib/librte_mbuf/rte_mbuf.c | 2 +- lib/librte_mbuf/rte_mbuf.h | 2 +- 12 files changed, 285 insertions(+), 28 deletions(-) Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com> -- 1.9.3