numam-dpdk/lib/librte_gso
Mark Kavanagh 70e737e448 gso: support GRE GSO
This patch adds GSO support for GRE-tunneled packets. Supported GRE
packets must contain an outer IPv4 header, and inner TCP/IPv4 headers.
They may also contain a single VLAN tag. GRE GSO doesn't check if all
input packets have correct checksums and doesn't update checksums for
output packets. Additionally, it doesn't process IP fragmented packets.

As with VxLAN GSO, GRE GSO uses a two-segment MBUF to organize each
output packet, which requires multi-segment mbuf support in the TX
functions of the NIC driver. Also, if a packet is GSOed, GRE GSO reduces
its MBUF refcnt by 1. As a result, when all of its GSOed segments are
freed, the packet is freed automatically.

Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2017-10-12 01:36:57 +01:00
..
gso_common.c gso: support TCP/IPv4 GSO 2017-10-12 01:36:57 +01:00
gso_common.h gso: support GRE GSO 2017-10-12 01:36:57 +01:00
gso_tcp4.c gso: support TCP/IPv4 GSO 2017-10-12 01:36:57 +01:00
gso_tcp4.h gso: support TCP/IPv4 GSO 2017-10-12 01:36:57 +01:00
gso_tunnel_tcp4.c gso: support GRE GSO 2017-10-12 01:36:57 +01:00
gso_tunnel_tcp4.h gso: support VxLAN GSO 2017-10-12 01:36:57 +01:00
Makefile gso: support VxLAN GSO 2017-10-12 01:36:57 +01:00
rte_gso_version.map gso: add Generic Segmentation Offload API framework 2017-10-12 01:36:57 +01:00
rte_gso.c gso: support GRE GSO 2017-10-12 01:36:57 +01:00
rte_gso.h gso: support TCP/IPv4 GSO 2017-10-12 01:36:57 +01:00