DPDK usage discussions
 help / color / mirror / Atom feed
* Reg.dpdk reorder library usage
@ 2023-03-20 10:53 Balakrishnan K
  2023-03-20 11:19 ` Volodymyr Fialko
  0 siblings, 1 reply; 4+ messages in thread
From: Balakrishnan K @ 2023-03-20 10:53 UTC (permalink / raw)
  To: users; +Cc: vfialko

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

Hi All,
     I am planning to use dpdk reorder library in my application.
Used reorder library API's by refereeing  the packet ordering example.
Steps:
Our application uses dpdk pipeline.
1.read the packet from rx
2.Create the rte_reorder_create() if not created already or use the existing buffer.
3.iterate through the rx packets and set the sequence number using *rte_reorder_seqn(pkt) = seqn++.
4.insert the packets using the API rte_reorder_insert(ro_buf, pkt);
5.after insert completed I am using rte_reorder_drain API to get the reorder packets .

In step 5 always getting zero packets.
Even though all the rx packets are in order rte_reoder_drain API not giving the output.

Could any please help on this am I missing anything in the implementation .
How to use this library properly.
Tried to run the packet ordering example with 4 ports .
Sent traffic in port 1 there is no packet out in port 1 as mentioned in application example page.
https://doc.dpdk.org/guides/sample_app_ug/packet_ordering.html


Regards,
Bala

[-- Attachment #2: Type: text/html, Size: 4183 bytes --]

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

end of thread, other threads:[~2023-03-21  5:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 10:53 Reg.dpdk reorder library usage Balakrishnan K
2023-03-20 11:19 ` Volodymyr Fialko
2023-03-20 11:54   ` Balakrishnan K
2023-03-21  5:10     ` Balakrishnan K

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).