DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1] net/ice/base: fix inner L4 offset for gptu dummy packet
@ 2021-04-26  6:02 Yuying Zhang
  2021-04-26  9:21 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Yuying Zhang @ 2021-04-26  6:02 UTC (permalink / raw)
  To: dev, qi.z.zhang; +Cc: Yuying Zhang, stable

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 <yuying.zhang@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH v1] net/ice/base: fix inner L4 offset for gptu dummy packet
  2021-04-26  6:02 [dpdk-dev] [PATCH v1] net/ice/base: fix inner L4 offset for gptu dummy packet Yuying Zhang
@ 2021-04-26  9:21 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2021-04-26  9:21 UTC (permalink / raw)
  To: Zhang, Yuying, dev; +Cc: stable



> -----Original Message-----
> From: Zhang, Yuying <yuying.zhang@intel.com>
> Sent: Monday, April 26, 2021 2:02 PM
> To: dev@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: Zhang, Yuying <yuying.zhang@intel.com>; stable@dpdk.org
> Subject: [PATCH v1] 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")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-26  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26  6:02 [dpdk-dev] [PATCH v1] net/ice/base: fix inner L4 offset for gptu dummy packet Yuying Zhang
2021-04-26  9:21 ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).