From 042410c59125e2fea9226ec795d61e823364384b Mon Sep 17 00:00:00 2001 From: Siobhan Butler Date: Thu, 18 Dec 2014 15:01:35 +0000 Subject: [PATCH] doc: add udp tunnel flag for checksum offload Added to configuration instructions for UDP packet tunneling. Signed-off-by: Siobhan Butler Acked-by: Bernard Iremonger --- doc/guides/prog_guide/poll_mode_drv.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/prog_guide/poll_mode_drv.rst b/doc/guides/prog_guide/poll_mode_drv.rst index d6943e39de..e9e1132fc1 100755 --- a/doc/guides/prog_guide/poll_mode_drv.rst +++ b/doc/guides/prog_guide/poll_mode_drv.rst @@ -199,6 +199,7 @@ Other features such as the L3/L4 5-Tuple packet filtering feature of a port can Ethernet* flow control (pause frame) can be configured on the individual port. Refer to the testpmd source code for details. Also, L4 (UDP/TCP/ SCTP) checksum offload by the NIC can be enabled for an individual packet as long as the packet mbuf is set up correctly. +In terms of UDP tunneling packet, the PKT_TX_UDP_TUNNEL_PKT flag must be set to enable tunneling packet TX checksum offload for both outer layer and inner layer. Refer to the testpmd source code (specifically the csumonly.c file) for details. That being said, the support of some offload features implies the addition of dedicated status bit(s) and value field(s) into the rte_mbuf -- 2.20.1