net/ice: add GTP tunnel type
authorTing Xu <ting.xu@intel.com>
Mon, 21 Oct 2019 10:00:01 +0000 (10:00 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:10 +0000 (16:43 +0200)
Add GTP tunnel type in ice pmd tunneling parameters parse
to enable Tx checksum offload.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/rel_notes/release_19_11.rst
drivers/net/ice/ice_rxtx.c

index 34a413d..e77d226 100644 (file)
@@ -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.**
 
index d4c801f..8d4820d 100644 (file)
@@ -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;