Skip to contentSkip to conversation

net/ice/base: fix inner L4 offset for gptu dummy packet

PATCH Applied Yuying Zhang 2 participants 2 messages Apr 26, 2021 Network drivers

lore
Share & tools
lore
#0 lore raw

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")
---
 drivers/net/ice/base/ice_switch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ice/base/ice_switch.c +2 -2
index 2a9bea4261..c48e7b7232 100644
@@ -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
Acked-by on v1 1/1 Applied
#1 lore raw
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 switch

filter")
Cc: [email protected]

Applied to dpdk-next-net-intel.

Thanks
Qi