summaryrefslogtreecommitdiff
path: root/lib/librte_gso/meson.build
diff options
context:
space:
mode:
authorJiayu Hu <jiayu.hu@intel.com>2018-07-06 09:02:22 +0800
committerThomas Monjalon <thomas@monjalon.net>2018-07-11 23:45:20 +0200
commitb166d4f30b667b054bdd8bd1cbf30610061f8cc0 (patch)
treec6b1018f9138e12c61bf2ada31a55de7d75e4766 /lib/librte_gso/meson.build
parentf28f3594ded2a55cf8ab15995ffc4f0b9e9eda55 (diff)
downloaddpdk-b166d4f30b667b054bdd8bd1cbf30610061f8cc0.zip
dpdk-b166d4f30b667b054bdd8bd1cbf30610061f8cc0.tar.gz
dpdk-b166d4f30b667b054bdd8bd1cbf30610061f8cc0.tar.xz
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>
Diffstat (limited to 'lib/librte_gso/meson.build')
-rw-r--r--lib/librte_gso/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_gso/meson.build b/lib/librte_gso/meson.build
index 056534f..ad8dd85 100644
--- a/lib/librte_gso/meson.build
+++ b/lib/librte_gso/meson.build
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-sources = files('gso_common.c', 'gso_tcp4.c',
+sources = files('gso_common.c', 'gso_tcp4.c', 'gso_udp4.c',
'gso_tunnel_tcp4.c', 'rte_gso.c')
headers = files('rte_gso.h')
deps += ['ethdev']