Add GTP tunnel type in ice pmd tunneling parameters parse
to enable checksum offload.

Signed-off-by: Ting Xu <ting...@intel.com>
---
 doc/guides/rel_notes/release_19_11.rst | 5 +++++
 drivers/net/ice/ice_rxtx.c             | 1 +
 2 files changed, 6 insertions(+)

diff --git a/doc/guides/rel_notes/release_19_11.rst 
b/doc/guides/rel_notes/release_19_11.rst
index 8490d897c..c456b5050 100644
--- a/doc/guides/rel_notes/release_19_11.rst
+++ b/doc/guides/rel_notes/release_19_11.rst
@@ -56,6 +56,11 @@ New Features
      Also, make sure to start the actual text at the margin.
      =========================================================
 
+* **Updated the Intel ice driver.**
+
+  Updated the Intel ice driver with new features and improvements, including:
+
+  * Enabled Tx GTP checksum offload.
 
 Removed Items
 -------------
diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 0282b5375..8105ff741 100644
--- a/drivers/net/ice/ice_rxtx.c
+++ b/drivers/net/ice/ice_rxtx.c
@@ -1764,6 +1764,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

Reply via email to