net/ice/base: fix inner L4 offset for gptu dummy packet
PATCH 1/1 net/ice/base: fix inner L4 offset for gptu 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")
Signed-off-by Yuying Zhang <[email protected]>
--- drivers/net/ice/base/ice_switch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ice/base/ice_switch.c +2 -2
@@ -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 }, };
Signature · 1 line
2.25.1
Quoted 9 lines
-----Original Message-----
From: Zhang, Yuying <[email protected]>
Sent: Monday, April 26, 2021 2:02 PM
To: [email protected]; Zhang, Qi Z <[email protected]>
Cc: Zhang, Yuying <[email protected]>; [email protected]
Subject: [PATCH v1]net/ice/base: fix inner L4 offset for gptu dummy packet
Quoted 7 lines
Fix inner L4 offset of ipv6_gtpu_ipv6_tcp/udp dummy packet.
Fixes bd4d9a89dbc1 ("net/ice/base: add GTP filtering via advanced switchfilter")
Cc: [email protected]Signed-off-by Yuying Zhang <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi