[dpdk-users] Sequential UDP packets

Tom Barbette barbette at kth.se
Thu Nov 14 15:27:31 CET 2019


Are they from the same UDP flow? Else RSS and multi-queing in general could lead to this.

Tom
________________________________________
De : users <users-bounces at dpdk.org> de la part de Pathak, Pravin <pravin.pathak at intel.com>
Envoyé : mercredi 13 novembre 2019 16:52
À : sachin gupta; users at dpdk.org; Nutman, Richard
Objet : Re: [dpdk-users] Sequential UDP packets

Hi Sarvesh -
How are you generating and sending UDP packets? Can you describe a bit more on send and receive configuration?
Pravin

-----Original Message-----
From: users <users-bounces at dpdk.org> On Behalf Of sachin gupta
Sent: Wednesday, November 13, 2019 10:46 AM
To: users at dpdk.org; Nutman, Richard <Richard.Nutman at grassvalley.com>
Subject: Re: [dpdk-users] Sequential UDP packets

 Hi Sarvesh, Richard
In general any router is not supposed to re-order the packets, even when the packets are received from outside.In this case, the packets are created internally only. So as such UDP protocol makes no difference.
One reason i can think is the use of multiple queues, or threads for transmission.
Sachin
    On Wednesday, November 13, 2019, 03:24:35 PM GMT+5:30, Nutman, Richard <richard.nutman at grassvalley.com> wrote:

 Hi Sarvesh,

UDP is not a reliable protocol, not even for the order of packets you receive.
You have to re-order them when you receive them. For example using a sequence number to index them into a circular buffer.

Wireshark does not re-order UDP packets but merely shows them in the order they were captured.

Regards,
Richard

> -----Original Message-----
> From: Sarvesh Verma [mailto:sarveshfwecverma79 at gmail.com]
> Sent: 13 November 2019 07:56
> To: users at dpdk.org
> Subject: [dpdk-users] Sequential UDP packets
>
> Hey DPDK users,
>
> Since last two months I'm struggling to generate my own sequential UDP
> packets through DPDK. At receiving side my packets counts are matching
> but are not in sequence in Wireshark.
> Expected- 1,2,3,4,5,6,7,8,9,10.........
> Getting-1,4,6,8,9,2,3,5,7,10........…
>
> Hope anyone will reply soon.
>
> Thank you
> Sarvesh Verma


**********************************************************************
DISCLAIMER:
Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.



More information about the users mailing list