* [dpdk-users] rte_eth_tx_burst not freeing mbufs
@ 2017-04-08 21:06 Cliff Burdick
0 siblings, 0 replies; only message in thread
From: Cliff Burdick @ 2017-04-08 21:06 UTC (permalink / raw)
To: users
Hi, I have an application where I'm sending a very low rate (1pps) to
certain ports just for gratuitous arp. I allocate a pktmbuf on a different
core, send it through a ring to my tx core thread, and
use rte_eth_tx_burst() to send that packet, and hopefully free. I've
noticed that even though the packets are sent, the driver is never freeing
the packets back to the mempool, which just throws errors when I try to
allocate another one. I've tried playing with tx_conf.tx_free_thresh, but
that didn't seem to have any effect. If I called rte_pktmbuf_free() right
after sending, it appears to free just fine, although that's not a
solution. Does anyone know what might cause this?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-08 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-08 21:06 [dpdk-users] rte_eth_tx_burst not freeing mbufs Cliff Burdick
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).