[PATCH] net/iavf: support vxlan gpe tunnel offload
    Zhichao Zeng 
    zhichaox.zeng at intel.com
       
    Thu Nov 17 04:30:24 CET 2022
    
    
  
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 at 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
    
    
More information about the dev
mailing list