<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">     I am planning to use dpdk reorder library in my application.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Used reorder library API’s by refereeing  the packet ordering example.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Steps:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Our application uses dpdk pipeline.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">1.read the packet from rx <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2.Create the rte_reorder_create() if not created already or use the existing buffer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">3.iterate through the rx packets and set the sequence number using *rte_reorder_seqn(pkt) = seqn++.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">4.insert the packets using the API rte_reorder_insert(ro_buf, pkt);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">5.after insert completed I am using rte_reorder_drain API to get the reorder packets .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In step 5 always getting zero packets.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Even though all the rx packets are in order rte_reoder_drain API not giving the output.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Could any please help on this am I missing anything in the implementation .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How to use this library properly.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tried to run the packet ordering example with 4 ports .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sent traffic in port 1 there is no packet out in port 1 as mentioned in application example page.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://doc.dpdk.org/guides/sample_app_ug/packet_ordering.html">https://doc.dpdk.org/guides/sample_app_ug/packet_ordering.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Bala <o:p></o:p></span></p>
</div>
</body>
</html>