diff --git a/lib/net/Makefile b/lib/net/Makefile index c02f9d7cb..e4813dc13 100644 --- a/lib/net/Makefile +++ b/lib/net/Makefile @@ -42,4 +42,6 @@ C_SRCS = interface.c net_rpc.c LIBNAME = net +SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_net.map) + include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk diff --git a/lib/net/spdk_net.map b/lib/net/spdk_net.map new file mode 100644 index 000000000..944bc4c6e --- /dev/null +++ b/lib/net/spdk_net.map @@ -0,0 +1,9 @@ +{ + global: + + # public functions + spdk_interface_init; + spdk_interface_destroy; + + local: *; +}; diff --git a/test/make/check_so_deps.sh b/test/make/check_so_deps.sh index 2e21480d2..eba434c86 100755 --- a/test/make/check_so_deps.sh +++ b/test/make/check_so_deps.sh @@ -74,6 +74,14 @@ function confirm_abi_deps() { name = spdk_nbd_disk_get_nbd_path [suppress_function] 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 for object in "$libdir"/libspdk_*.so; do