gro: support VXLAN UDP/IPv4
authorYi Yang <yangyi01@inspur.com>
Thu, 24 Sep 2020 08:57:39 +0000 (16:57 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Oct 2020 19:51:03 +0000 (21:51 +0200)
commite2d81106367321cf49d6b4e5d087e1a7c2e808ba
tree49ed16ade0d56e259ec776d3ac31888e4cf1f8b1
parent1ca5e67408528b9870bb40f400c5f934aa91dcce
gro: support VXLAN UDP/IPv4

VXLAN UDP/IPv4 GRO can help improve VM-to-VM UDP
performance when UFO or GSO is enabled in VM, GRO
must be supported if UFO or GSO is enabled,
otherwise, performance can't get big improvement
if only GSO is there.

With this enabled in DPDK, OVS DPDK can leverage it
to improve VM-to-VM UDP performance, it will reassemble
VXLAN UDP/IPv4 fragments immediate after they are
received from a physical NIC. It is very helpful in
OVS DPDK VXLAN use case.

Signed-off-by: Yi Yang <yangyi01@inspur.com>
Acked-by: Jiayu Hu <jiayu.hu@intel.com>
doc/guides/prog_guide/generic_receive_offload_lib.rst
doc/guides/rel_notes/release_20_11.rst
lib/librte_gro/gro_udp4.h
lib/librte_gro/gro_vxlan_udp4.c [new file with mode: 0644]
lib/librte_gro/gro_vxlan_udp4.h [new file with mode: 0644]
lib/librte_gro/meson.build
lib/librte_gro/rte_gro.c
lib/librte_gro/rte_gro.h