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 <zhichaox.zeng@intel.com> Tested-by: Ke Xu <ke1.xu@intel.com>
This commit is contained in:
parent
ff5b90f9d0
commit
1408993082
@ -2424,6 +2424,7 @@ iavf_fill_ctx_desc_tunnelling_field(volatile uint64_t *qw0,
|
|||||||
/* for non UDP / GRE tunneling, set to 00b */
|
/* for non UDP / GRE tunneling, set to 00b */
|
||||||
break;
|
break;
|
||||||
case RTE_MBUF_F_TX_TUNNEL_VXLAN:
|
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_GTP:
|
||||||
case RTE_MBUF_F_TX_TUNNEL_GENEVE:
|
case RTE_MBUF_F_TX_TUNNEL_GENEVE:
|
||||||
eip_typ |= IAVF_TXD_CTX_UDP_TUNNELING;
|
eip_typ |= IAVF_TXD_CTX_UDP_TUNNELING;
|
||||||
|
Loading…
Reference in New Issue
Block a user