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

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
UDP fragments immediate after they are received from
a physical NIC. It is very helpful in OVS DPDK VLAN 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.c [new file with mode: 0644]
lib/librte_gro/gro_udp4.h [new file with mode: 0644]
lib/librte_gro/meson.build
lib/librte_gro/rte_gro.c
lib/librte_gro/rte_gro.h