Fix inner L4 offset of ipv6_gtpu_ipv6_tcp/udp dummy packet.

Fixes: bd4d9a89dbc1 ("net/ice/base: add GTP filtering via advanced switch 
filter")
Cc: sta...@dpdk.org

Signed-off-by: Yuying Zhang <yuying.zh...@intel.com>
---
 drivers/net/ice/base/ice_switch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ice/base/ice_switch.c 
b/drivers/net/ice/base/ice_switch.c
index 2a9bea4261..c48e7b7232 100644
--- a/drivers/net/ice/base/ice_switch.c
+++ b/drivers/net/ice/base/ice_switch.c
@@ -808,7 +808,7 @@ static const struct ice_dummy_pkt_offsets 
dummy_ipv6_gtpu_ipv6_tcp_packet_offset
        { ICE_UDP_OF,           54 },
        { ICE_GTP,              62 },
        { ICE_IPV6_IL,          82 },
-       { ICE_TCP_IL,           102 },
+       { ICE_TCP_IL,           122 },
        { ICE_PROTOCOL_LAST,    0 },
 };
 
@@ -865,7 +865,7 @@ static const struct ice_dummy_pkt_offsets 
dummy_ipv6_gtpu_ipv6_udp_packet_offset
        { ICE_UDP_OF,           54 },
        { ICE_GTP,              62 },
        { ICE_IPV6_IL,          82 },
-       { ICE_UDP_ILOS,         102 },
+       { ICE_UDP_ILOS,         122 },
        { ICE_PROTOCOL_LAST,    0 },
 };
 
-- 
2.25.1

Reply via email to