[v2,2/2] net/ice: add GTP tunnel type in tunneling parse
Checks
Commit Message
Add GTP tunnel type in ice pmd tunneling parameters parse
to enable Tx checksum offload.
Signed-off-by: Ting Xu <ting.xu@intel.com>
---
doc/guides/rel_notes/release_19_11.rst | 1 +
drivers/net/ice/ice_rxtx.c | 1 +
2 files changed, 2 insertions(+)
Comments
On 10/21/2019 11:00 AM, Ting Xu wrote:
> 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>
@@ -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.**
@@ -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;