From: Ting Xu Date: Mon, 21 Oct 2019 10:00:01 +0000 (+0000) Subject: net/ice: add GTP tunnel type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=927a0e20e2415f718ceb346cd94bbf930ad9f29a;p=dpdk.git net/ice: add GTP tunnel type Add GTP tunnel type in ice pmd tunneling parameters parse to enable Tx checksum offload. Signed-off-by: Ting Xu Reviewed-by: Ferruh Yigit --- diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/release_19_11.rst index 34a413d099..e77d226b55 100644 --- a/doc/guides/rel_notes/release_19_11.rst +++ b/doc/guides/rel_notes/release_19_11.rst @@ -123,6 +123,7 @@ New Features - Supported pipeline mode. - Supported new packet type like PPPoE for switch filter. * Supported input set change and symmetric hash by rte_flow RSS action. + * Added support for GTP Tx checksum offload. * **Added cryptodev asymmetric session-less operation.** diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index d4c801fc80..8d4820d3c8 100644 --- a/drivers/net/ice/ice_rxtx.c +++ b/drivers/net/ice/ice_rxtx.c @@ -2163,6 +2163,7 @@ ice_parse_tunneling_params(uint64_t ol_flags, /* for non UDP / GRE tunneling, set to 00b */ break; case PKT_TX_TUNNEL_VXLAN: + case PKT_TX_TUNNEL_GTP: case PKT_TX_TUNNEL_GENEVE: *cd_tunneling |= ICE_TXD_CTX_UDP_TUNNELING; break;