From 028c9d4da2b7bc843fe65c13432b26700b5e29a6 Mon Sep 17 00:00:00 2001 From: Yuying Zhang Date: Mon, 26 Apr 2021 06:02:08 +0000 Subject: [PATCH] net/ice/base: fix inner L4 offset for GTPU dummy packet 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: stable@dpdk.org Signed-off-by: Yuying Zhang Acked-by: Qi Zhang --- 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.20.1