[dpdk-dev] keepalive: fix exported symbols

Message ID 1466175761-22563-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon June 17, 2016, 3:02 p.m. UTC
  The function rte_keepalive_register_alive_callback do not exist.
The function rte_keepalive_register_relay_callback was missing for BSD.

Fixes: 90c622f35679 ("keepalive: add liveness callback")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 lib/librte_eal/bsdapp/eal/rte_eal_version.map   | 2 +-
 lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
  

Comments

Thomas Monjalon June 17, 2016, 3:51 p.m. UTC | #1
2016-06-17 17:02, Thomas Monjalon:
> The function rte_keepalive_register_alive_callback do not exist.
> The function rte_keepalive_register_relay_callback was missing for BSD.
> 
> Fixes: 90c622f35679 ("keepalive: add liveness callback")
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied
  
Remy Horton June 17, 2016, 4:14 p.m. UTC | #2
rte_keepalive_mark_sleep is also missing from both.

On 17/06/2016 16:02, Thomas Monjalon wrote:
> The function rte_keepalive_register_alive_callback do not exist.
> The function rte_keepalive_register_relay_callback was missing for BSD.
>
> Fixes: 90c622f35679 ("keepalive: add liveness callback")
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Acked-by: Remy Horton <remy.horton@intel.com>
  

Patch

diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map
index 0fb1cf2..97d091b 100644
--- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map
+++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map
@@ -156,6 +156,6 @@  DPDK_16.07 {
 	global:
 
 	pci_get_sysfs_path;
-	rte_keepalive_register_alive_callback;
+	rte_keepalive_register_relay_callback;
 
 } DPDK_16.04;
diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
index cacf9e1..4874c92 100644
--- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map
+++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
@@ -159,7 +159,6 @@  DPDK_16.07 {
 	global:
 
 	pci_get_sysfs_path;
-	rte_keepalive_register_alive_callback;
 	rte_keepalive_register_relay_callback;
 
 } DPDK_16.04;