[dpdk-dev,v2] map: add rte_eth_tx_done_cleanup to rte_ether_version.map

Message ID 20170622120459.4466-1-lboccass@brocade.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation success Compilation OK

Commit Message

Luca Boccassi June 22, 2017, 12:04 p.m. UTC
  From: Luca Boccassi <luca.boccassi@gmail.com>

Commit 44a718c457b5 added rte_eth_tx_done_cleanup but it wasn't added
to the rte_ether_version.map so it cannot be used by applications
linking to shared libraries.
pktgen uses it since version 3.2.0.
Added to the 17.05 list as requested by Ferruh in case backporting is
needed.

Fixes: 44a718c457b5 ("ethdev: add API to free consumed buffers in Tx ring")

Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
---
v2: moved to 17.05 list as requested on IRC, fixed checkpatch
complaint about git hashes length

 lib/librte_ether/rte_ether_version.map | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Thomas Monjalon June 26, 2017, 10 p.m. UTC | #1
22/06/2017 14:04, lboccass@brocade.com:
> From: Luca Boccassi <luca.boccassi@gmail.com>
> 
> Commit 44a718c457b5 added rte_eth_tx_done_cleanup but it wasn't added
> to the rte_ether_version.map so it cannot be used by applications
> linking to shared libraries.
> pktgen uses it since version 3.2.0.
> Added to the 17.05 list as requested by Ferruh in case backporting is
> needed.
> 
> Fixes: 44a718c457b5 ("ethdev: add API to free consumed buffers in Tx ring")

Cc: stable@dpdk.org

> Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>

Applied, thanks
  

Patch

diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map
index 805e6de80..e0881f09d 100644
--- a/lib/librte_ether/rte_ether_version.map
+++ b/lib/librte_ether/rte_ether_version.map
@@ -142,6 +142,7 @@  DPDK_17.05 {
 
 	rte_eth_dev_attach_secondary;
 	rte_eth_find_next;
+	rte_eth_tx_done_cleanup;
 	rte_eth_xstats_get_by_id;
 	rte_eth_xstats_get_id_by_name;
 	rte_eth_xstats_get_names_by_id;