DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/iavf: support vxlan gpe tunnel offload
@ 2022-11-17  3:30 Zhichao Zeng
  2022-11-17  3:30 ` Xu, Ke1
  0 siblings, 1 reply; 3+ messages in thread
From: Zhichao Zeng @ 2022-11-17  3:30 UTC (permalink / raw)
  To: dev; +Cc: yidingx.zhou, qi.z.zhang, Zhichao Zeng, Jingjing Wu, Beilei Xing

Add support for Vxlan-GPE tunnel packet checksum offloading by adding
the VXLAN_GPE flag during processing of Tx context descriptor.

Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com>
---
 drivers/net/iavf/iavf_rxtx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index bd5dd2d4ed..cf87a6beda 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -2424,6 +2424,7 @@ iavf_fill_ctx_desc_tunnelling_field(volatile uint64_t *qw0,
 			/* for non UDP / GRE tunneling, set to 00b */
 			break;
 		case RTE_MBUF_F_TX_TUNNEL_VXLAN:
+		case RTE_MBUF_F_TX_TUNNEL_VXLAN_GPE:
 		case RTE_MBUF_F_TX_TUNNEL_GTP:
 		case RTE_MBUF_F_TX_TUNNEL_GENEVE:
 			eip_typ |= IAVF_TXD_CTX_UDP_TUNNELING;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-17  3:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17  3:30 [PATCH] net/iavf: support vxlan gpe tunnel offload Zhichao Zeng
2022-11-17  3:30 ` Xu, Ke1
2022-11-17  3:59   ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).