* Question regarding duplicate fragment handling in DPDK IP reassembly library
@ 2026-06-15 12:39 Samyak Jain
2026-06-15 17:37 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: Samyak Jain @ 2026-06-15 12:39 UTC (permalink / raw)
To: dev@dpdk.org; +Cc: Vikash kumar, Ankur Bharadwaj
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
Hi DPDK Community,
I am using DPDK 25.11 and evaluating the IP reassembly library
(librte_ip_frag).
During testing, I observed that duplicate fragments appear to cause reassembly failure and the fragment context gets invalidated.
I would like to know:
1. Is duplicate fragment handling intentionally unsupported in
rte_ipv4_frag_reassemble_packet() / rte_ipv6_frag_reassemble_packet()?
2. Has there been any upstream discussion or patch to support
duplicate fragments while still rejecting conflicting
fragments?
3. Are there any recommended approaches for applications that need
Linux-like duplicate fragment tolerance?
Any guidance would be appreciated.
Thanks & Regards,
Samyak Jain
[-- Attachment #2: Type: text/html, Size: 4975 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question regarding duplicate fragment handling in DPDK IP reassembly library
2026-06-15 12:39 Question regarding duplicate fragment handling in DPDK IP reassembly library Samyak Jain
@ 2026-06-15 17:37 ` Stephen Hemminger
2026-06-16 5:59 ` Samyak Jain
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2026-06-15 17:37 UTC (permalink / raw)
To: Samyak Jain; +Cc: dev@dpdk.org, Vikash kumar, Ankur Bharadwaj
On Mon, 15 Jun 2026 12:39:48 +0000
Samyak Jain <samyak.jain@amantyatech.com> wrote:
> Hi DPDK Community,
>
> I am using DPDK 25.11 and evaluating the IP reassembly library
> (librte_ip_frag).
>
> During testing, I observed that duplicate fragments appear to cause reassembly failure and the fragment context gets invalidated.
>
> I would like to know:
>
> 1. Is duplicate fragment handling intentionally unsupported in
> rte_ipv4_frag_reassemble_packet() / rte_ipv6_frag_reassemble_packet()?
>
> 2. Has there been any upstream discussion or patch to support
> duplicate fragments while still rejecting conflicting
> fragments?
>
> 3. Are there any recommended approaches for applications that need
> Linux-like duplicate fragment tolerance?
>
> Any guidance would be appreciated.
>
> Thanks & Regards,
> Samyak Jain
>
Short answer: yes it is buggy, no it shouldn't be.
Looking into it but not a simple answer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question regarding duplicate fragment handling in DPDK IP reassembly library
2026-06-15 17:37 ` Stephen Hemminger
@ 2026-06-16 5:59 ` Samyak Jain
0 siblings, 0 replies; 3+ messages in thread
From: Samyak Jain @ 2026-06-16 5:59 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: dev@dpdk.org, Vikash kumar, Ankur Bharadwaj, Rajan Goel
[-- Attachment #1.1: Type: text/plain, Size: 1626 bytes --]
Can we fix it ?
Thanks & Regards,
Samyak Jain
Software Engineer
[cid:cb660601-cf07-4da8-aa47-acae8e4439c5]
________________________________
From: Stephen Hemminger <stephen@networkplumber.org>
Sent: Monday, June 15, 2026 11:07 PM
To: Samyak Jain <samyak.jain@amantyatech.com>
Cc: dev@dpdk.org <dev@dpdk.org>; Vikash kumar <vikash.kumar@amantyatech.com>; Ankur Bharadwaj <ankur.bharadwaj@amantyatech.com>
Subject: Re: Question regarding duplicate fragment handling in DPDK IP reassembly library
▲ CAUTION: This e-mail originated from OUTSIDE the organization. Please do not click links or open attachments from an unknown or suspicious origin.
On Mon, 15 Jun 2026 12:39:48 +0000
Samyak Jain <samyak.jain@amantyatech.com> wrote:
> Hi DPDK Community,
>
> I am using DPDK 25.11 and evaluating the IP reassembly library
> (librte_ip_frag).
>
> During testing, I observed that duplicate fragments appear to cause reassembly failure and the fragment context gets invalidated.
>
> I would like to know:
>
> 1. Is duplicate fragment handling intentionally unsupported in
> rte_ipv4_frag_reassemble_packet() / rte_ipv6_frag_reassemble_packet()?
>
> 2. Has there been any upstream discussion or patch to support
> duplicate fragments while still rejecting conflicting
> fragments?
>
> 3. Are there any recommended approaches for applications that need
> Linux-like duplicate fragment tolerance?
>
> Any guidance would be appreciated.
>
> Thanks & Regards,
> Samyak Jain
>
Short answer: yes it is buggy, no it shouldn't be.
Looking into it but not a simple answer
[-- Attachment #1.2: Type: text/html, Size: 3464 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 3798 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-16 6:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-15 12:39 Question regarding duplicate fragment handling in DPDK IP reassembly library Samyak Jain
2026-06-15 17:37 ` Stephen Hemminger
2026-06-16 5:59 ` Samyak Jain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox