Red Hat Bugzilla – Bug 1476337
[fdBeta] linking error when using rte_eth_tx_done_cleanup function
Last modified: 2018-03-20 06:26:11 EDT
From release note of DPDK 17.05:
* **Added free Tx mbuf on demand API.**
Added a new function ``rte_eth_tx_done_cleanup()`` which allows an
application to request the driver to release mbufs that are no longer in use
from a Tx ring, independent of whether or not the ``tx_rs_thresh`` has been
But the function is missing in map and so it can't be used by applications linking to shared libraries (like pktgen).
Upstream commit to backport:
Author: Luca Boccassi <email@example.com>
Date: Thu Jun 22 13:04:59 2017 +0100
ethdev: add missing symbol in map
The function rte_eth_tx_done_cleanup() was missing in the map file
so it cannot be used by applications linking to shared libraries.
pktgen uses it since version 3.2.0.
Fixes: 44a718c457b5 ("ethdev: add API to free consumed buffers in Tx ring")
Signed-off-by: Luca Boccassi <firstname.lastname@example.org>