lib/net: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I26ff6653b73d931c7b49b47fac506c01990ca42d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2240
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Seth Howell 2020-05-07 10:35:13 -07:00 committed by Tomasz Zawadzki
parent 17b53caab4
commit d7620b3579
3 changed files with 19 additions and 0 deletions

View File

@ -42,4 +42,6 @@ C_SRCS = interface.c net_rpc.c
LIBNAME = net LIBNAME = net
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_net.map)
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

9
lib/net/spdk_net.map Normal file
View File

@ -0,0 +1,9 @@
{
global:
# public functions
spdk_interface_init;
spdk_interface_destroy;
local: *;
};

View File

@ -74,6 +74,14 @@ function confirm_abi_deps() {
name = spdk_nbd_disk_get_nbd_path name = spdk_nbd_disk_get_nbd_path
[suppress_function] [suppress_function]
name = spdk_nbd_disk_get_bdev_name name = spdk_nbd_disk_get_bdev_name
[suppress_variable]
name = SPDK_LOG_NET
[suppress_function]
name = spdk_interface_net_interface_add_ip_address
[suppress_function]
name = spdk_interface_net_interface_delete_ip_address
[suppress_function]
name = spdk_interface_get_list
EOF EOF
for object in "$libdir"/libspdk_*.so; do for object in "$libdir"/libspdk_*.so; do