From: Yi Yang <yangy...@inspur.com> In case that UFO or GSO is enabled, GRO is very necessary, especially for UDP, it is more so. Many NICs can't support VXLAN UDP UFO/USO and VLAN UFO/USO, so UDP performance improvement depends on GSO and GRO to a great extent.
This patch series added VLAN UDP GRO and VXLAN UDP GRO support. Changelog --------- v2 -> v3: Remove UDP header length check v1 -> v2: split into two patches Yi Yang (2): gro: add UDP GRO support gro: add VXLAN UDP GRO support lib/librte_gro/Makefile | 2 + lib/librte_gro/gro_udp4.c | 435 +++++++++++++++++++++++++++++++ lib/librte_gro/gro_udp4.h | 294 +++++++++++++++++++++ lib/librte_gro/gro_vxlan_udp4.c | 556 ++++++++++++++++++++++++++++++++++++++++ lib/librte_gro/gro_vxlan_udp4.h | 152 +++++++++++ lib/librte_gro/meson.build | 2 +- lib/librte_gro/rte_gro.c | 192 +++++++++++--- lib/librte_gro/rte_gro.h | 8 +- 8 files changed, 1607 insertions(+), 34 deletions(-) create mode 100644 lib/librte_gro/gro_udp4.c create mode 100644 lib/librte_gro/gro_udp4.h create mode 100644 lib/librte_gro/gro_vxlan_udp4.c create mode 100644 lib/librte_gro/gro_vxlan_udp4.h -- 1.8.3.1