VxLAN is one of the most widely used tunneled protocols. Providing GRO support for VxLAN-encapsulated packets can benefit many per-packet based applications, like OVS.
This patchset is to support VxLAN GRO. The first patch cleans up current TCP/IPv4 GRO codes for the sake of supporting tunneled GRO. The second patch supports GRO on the VxLAN packets which have an outer IPv4 header and inner TCP/IPv4 headers. Jiayu Hu (2): gro: TCP/IPV4 GRO codes cleanup gro: support VxLAN GRO lib/librte_gro/Makefile | 1 + lib/librte_gro/gro_tcp4.c | 294 +++++++----------------- lib/librte_gro/gro_tcp4.h | 236 ++++++++++++++------ lib/librte_gro/gro_vxlan_tcp4.c | 481 ++++++++++++++++++++++++++++++++++++++++ lib/librte_gro/gro_vxlan_tcp4.h | 178 +++++++++++++++ lib/librte_gro/rte_gro.c | 166 ++++++++++---- lib/librte_gro/rte_gro.h | 3 + 7 files changed, 1032 insertions(+), 327 deletions(-) create mode 100644 lib/librte_gro/gro_vxlan_tcp4.c create mode 100644 lib/librte_gro/gro_vxlan_tcp4.h -- 2.7.4