Re: [dpdk-dev] [dpdk-users] Issue in draining packets when head is null

2020-01-23 Thread Muhammad Zain-ul-Abideen
I see the current implementation doesn't cater for this escape sequence. U have to implement a little logic to traverse through the empty buffs w.r.t. current packets in buffer via some count. On Thu, Jan 23, 2020, 10:54 PM Suraj R Gupta wrote: > Folks, > Any Ideas on this. > > On Mon, Jan 13, 2

Re: [dpdk-dev] [dpdk-users] Issue in draining packets when head is null

2020-01-23 Thread Suraj R Gupta
Folks, Any Ideas on this. On Mon, Jan 13, 2020 at 1:04 PM Suraj R Gupta wrote: > Hi all, > This is regarding an issue in the draining packet using rte_reorder_drain. > Suppose we have a window size of 16 and we get packets with sequence no > like 0,1,2,4,5,6. On performing drain operation, I ret

[dpdk-dev] [dpdk-users] Issue in draining packets when head is null

2020-01-12 Thread Suraj R Gupta
Hi all, This is regarding an issue in the draining packet using rte_reorder_drain. Suppose we have a window size of 16 and we get packets with sequence no like 0,1,2,4,5,6. On performing drain operation, I retrieve packets like 0,1,2. Since now order_buf->entries[order_buf->head] i.e. order_buf->en