[dpdk-dev] [PATCH v2 2/2] net/ice: add GTP tunnel type in tunneling parse
Ting Xu
ting.xu at intel.com
Mon Oct 21 12:00:01 CEST 2019
Add GTP tunnel type in ice pmd tunneling parameters parse
to enable Tx checksum offload.
Signed-off-by: Ting Xu <ting.xu at intel.com>
---
doc/guides/rel_notes/release_19_11.rst | 1 +
drivers/net/ice/ice_rxtx.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/release_19_11.rst
index 88086b795..d61604c10 100644
--- a/doc/guides/rel_notes/release_19_11.rst
+++ b/doc/guides/rel_notes/release_19_11.rst
@@ -104,6 +104,7 @@ New Features
* Generic filter enhancement
- Supported pipeline mode.
- Supported new packet type like PPPoE for switch filter.
+ * Added support for GTP Tx checksum offload.
* **Updated iavf PMD.**
diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index d4c801fc8..8d4820d3c 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;
--
2.17.1
More information about the dev
mailing list