ethdev: fix missing function in version map file
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 6 Apr 2017 10:18:21 +0000 (11:18 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 6 Apr 2017 10:52:52 +0000 (12:52 +0200)
The function rte_eth_find_next is missing in the map file, which causes
errors with shared library builds.

  .../test-pmd/testpmd.c:1693: undefined reference to `rte_eth_find_next'

Adding function to map file fixes the issue.

Fixes: 5588909af21b ("ethdev: add device iterator")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_ether/rte_ether_version.map

index c6c9d0d..0ea3856 100644 (file)
@@ -154,3 +154,10 @@ DPDK_17.02 {
        rte_flow_validate;
 
 } DPDK_16.11;
+
+DPDK_17.05 {
+       global:
+
+       rte_eth_find_next;
+
+} DPDK_17.02;