numam-dpdk/lib/librte_gso
Jiayu Hu b166d4f30b gso: support UDP/IPv4 fragmentation
This patch adds GSO support for UDP/IPv4 packets. Supported packets
may include a single VLAN tag. UDP/IPv4 GSO doesn't check if input
packets have correct checksums, and doesn't update checksums for
output packets (the responsibility for this lies with the application).
Additionally, UDP/IPv4 GSO doesn't process IP fragmented packets.

UDP/IPv4 GSO uses two chained MBUFs, one direct MBUF and one indrect
MBUF, to organize an output packet. The direct MBUF stores the packet
header, while the indirect mbuf simply points to a location within the
original packet's payload. Consequently, use of UDP GSO requires
multi-segment MBUF support in the TX functions of the NIC driver.

If a packet is GSO'd, UDP/IPv4 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: Jiayu Hu <jiayu.hu@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
2018-07-11 23:45:20 +02:00
..
gso_common.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gso_common.h gso: support UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02:00
gso_tcp4.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gso_tcp4.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gso_tunnel_tcp4.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gso_tunnel_tcp4.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gso_udp4.c gso: support UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02:00
gso_udp4.h gso: support UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02:00
Makefile gso: support UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02:00
meson.build gso: support UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02: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 UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02:00
rte_gso.h gso: support UDP/IPv4 fragmentation 2018-07-11 23:45:20 +02:00