DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] test: fix 5-fragment IP reassembly test vectors
@ 2026-09-17  6:19 Aarnav JP
  2026-09-24 11:53 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Aarnav JP @ 2026-09-17  6:19 UTC (permalink / raw)
  To: dev, Akhil Goyal, Anoob Joseph, Fan Zhang
  Cc: jerinj, ndabilpuram, rbhansali, Aarnav JP, stable

Fix UDP source port bytes (0x80 -> 0x08) in IPv4
and IPv6 first fragments, and fix IPv6 full packet
next_header field (0x2c -> 0x11) to indicate UDP
instead of Fragment header.

Fixes: a310577766d6 ("test/security: add inline IPsec reassembly cases")

Cc: stable@dpdk.org
Signed-off-by: Aarnav JP <ajp@marvell.com>
---
 app/test/test_security_inline_proto_vectors.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/test/test_security_inline_proto_vectors.h b/app/test/test_security_inline_proto_vectors.h
index 86dfa54777..b2566654e9 100644
--- a/app/test/test_security_inline_proto_vectors.h
+++ b/app/test/test_security_inline_proto_vectors.h
@@ -217,7 +217,7 @@ struct ip_reassembly_test_packet pkt_ipv6_udp_p3 = {
 	.l4_offset = 40,
 	.data = {
 		/* IP */
-		0x60, 0x00, 0x00, 0x00, 0x16, 0x6e, 0x2c, 0x40,
+		0x60, 0x00, 0x00, 0x00, 0x16, 0x6e, 0x11, 0x40,
 		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 		0x00, 0x00, 0xff, 0xff, 0x0d, 0x00, 0x00, 0x02,
 		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -241,7 +241,7 @@ struct ip_reassembly_test_packet pkt_ipv6_udp_p3_f1 = {
 		0x11, 0x00, 0x00, 0x01, 0x65, 0xcf, 0x5a, 0xae,
 
 		/* UDP */
-		0x80, 0x00, 0x27, 0x10, 0x16, 0x6e, 0x2f, 0x99,
+		0x08, 0x00, 0x27, 0x10, 0x16, 0x6e, 0x2f, 0x99,
 	},
 };
 
@@ -439,7 +439,7 @@ struct ip_reassembly_test_packet pkt_ipv4_udp_p3_f1 = {
 		0x02, 0x00, 0x00, 0x02,
 
 		/* UDP */
-		0x80, 0x00, 0x27, 0x10, 0x16, 0x82, 0xbb, 0xfd,
+		0x08, 0x00, 0x27, 0x10, 0x16, 0x82, 0xbb, 0xfd,
 	},
 };
 
-- 
2.43.0


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

* RE: [PATCH] test: fix 5-fragment IP reassembly test vectors
  2026-09-17  6:19 [PATCH] test: fix 5-fragment IP reassembly test vectors Aarnav JP
@ 2026-09-24 11:53 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2026-09-24 11:53 UTC (permalink / raw)
  To: Aarnav JP, dev@dpdk.org, Anoob Joseph, Fan Zhang
  Cc: Jerin Jacob, Nithin Kumar Dabilpuram, Rahul Bhansali, Aarnav JP,
	stable@dpdk.org



> -----Original Message-----
> From: Aarnav JP <ajp@marvell.com>
> Sent: Thursday, September 17, 2026 11:49 AM
> To: dev@dpdk.org; Akhil Goyal <gakhil@marvell.com>; Anoob Joseph
> <anoobj@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>
> Cc: Jerin Jacob <jerinj@marvell.com>; Nithin Kumar Dabilpuram
> <ndabilpuram@marvell.com>; Rahul Bhansali <rbhansali@marvell.com>; Aarnav
> JP <ajp@marvell.com>; stable@dpdk.org
> Subject: [PATCH] test: fix 5-fragment IP reassembly test vectors
> 
> Fix UDP source port bytes (0x80 -> 0x08) in IPv4
> and IPv6 first fragments, and fix IPv6 full packet
> next_header field (0x2c -> 0x11) to indicate UDP
> instead of Fragment header.
> 
> Fixes: a310577766d6 ("test/security: add inline IPsec reassembly cases")
> 
> Cc: stable@dpdk.org
> Signed-off-by: Aarnav JP <ajp@marvell.com>
Applied to dpdk-next-crypto
Thanks.

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

end of thread, other threads:[~2026-09-24 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-17  6:19 [PATCH] test: fix 5-fragment IP reassembly test vectors Aarnav JP
2026-09-24 11:53 ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox