03/05/2017 18:10, Ferruh Yigit:
> To clean alloc_q, which has physicall addresses of the mbufs, kni lib
> free the pkt_mempool, but this leads a crash in kni unit test.
>
> KNI library shouldn't free the pkt_mempool.
>
> Implementation updated to find the mbufs in the alloc_q and return them
> ba
On 5/4/2017 6:23 AM, gowrishankar muthukrishnan wrote:
> Hi Ferruh,
> Even w/o this patch, I mostly find mbufs returned by rte_kni_rx_burst()
> always 0
> (or sometimes 1) where as more than 32000 mbufs approx created in
> ingress side
> for this test.
>
>dpdk/test/test $ ./test -l 0,1,2 --s
Hi Ferruh,
Even w/o this patch, I mostly find mbufs returned by rte_kni_rx_burst()
always 0
(or sometimes 1) where as more than 32000 mbufs approx created in
ingress side
for this test.
dpdk/test/test $ ./test -l 0,1,2 --socket-mem 1024
Am I missing something required for this unit test ?.
To clean alloc_q, which has physicall addresses of the mbufs, kni lib
free the pkt_mempool, but this leads a crash in kni unit test.
KNI library shouldn't free the pkt_mempool.
Implementation updated to find the mbufs in the alloc_q and return them
back to mempool.
Fixes: 8eba5ebd1811 ("kni: fix
4 matches
Mail list logo