From 14089930823f954d232fdde8b4cc3af7d26a4f6e Mon Sep 17 00:00:00 2001 From: Zhichao Zeng Date: Thu, 17 Nov 2022 11:30:24 +0800 Subject: [PATCH] net/iavf: support VXLAN-GPE tunnel offload 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 Tested-by: Ke Xu --- 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;