From: Volodymyr Fialko <vfialko@marvell.com>
To: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>,
"users@dpdk.org" <users@dpdk.org>
Subject: RE: Reg.dpdk reorder library usage
Date: Mon, 20 Mar 2023 11:19:47 +0000 [thread overview]
Message-ID: <MW2PR18MB2282D5E4711B9303D53FC45EA8809@MW2PR18MB2282.namprd18.prod.outlook.com> (raw)
In-Reply-To: <PSAPR04MB5516AE67E1276D4A854FD109D6809@PSAPR04MB5516.apcprd04.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1860 bytes --]
Hi,
Could you take a look at the app/test/test_reorder.c `test_reorder_drain()` test case. It follows your steps closely and includes comments that describe the internal state of buffers, which could be helpful during debugging.
From: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>
Sent: Monday, March 20, 2023 11:54 AM
To: users@dpdk.org
Cc: Volodymyr Fialko <vfialko@marvell.com>
Subject: [EXT] Reg.dpdk reorder library usage
External Email
________________________________
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<https://urldefense.proofpoint.com/v2/url?u=https-3A__doc.dpdk.org_guides_sample-5Fapp-5Fug_packet-5Fordering.html&d=DwMFAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=4iVvgx5PfauIDNaDpT1Ph7naVrkBkhwh2wdQ1AUXVjo&m=LRnVWVWJFPG262ii-XDMQhsmNnSxIXzBIwBY_fRUQsmMdsEDvqC9-T16uF0eYOxo&s=1Oji8GpXbRO608Vsx4e_m1MT1oOXqYA1hx5C6JSiDLY&e=>
Regards,
Bala
[-- Attachment #2: Type: text/html, Size: 5028 bytes --]
next prev parent reply other threads:[~2023-03-20 11:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-20 10:53 Balakrishnan K
2023-03-20 11:19 ` Volodymyr Fialko [this message]
2023-03-20 11:54 ` Balakrishnan K
2023-03-21 5:10 ` Balakrishnan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MW2PR18MB2282D5E4711B9303D53FC45EA8809@MW2PR18MB2282.namprd18.prod.outlook.com \
--to=vfialko@marvell.com \
--cc=Balakrishnan.K1@tatacommunications.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).