summaryrefslogtreecommitdiff
path: root/lib/librte_kni
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2015-02-02 12:40:20 -0500
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-02-03 16:56:58 +0100
commit9d41beed24b01666913de301a9462b7b0d379a51 (patch)
tree51a090b64f39903ea6738b6e7e3028a95794814b /lib/librte_kni
parent166a743c53fa6cde255c5e0e3bb34d4a7c54d0bf (diff)
downloaddpdk-9d41beed24b01666913de301a9462b7b0d379a51.zip
dpdk-9d41beed24b01666913de301a9462b7b0d379a51.tar.gz
dpdk-9d41beed24b01666913de301a9462b7b0d379a51.tar.xz
lib: provide initial versioning
Add linker version script files to each DPDK library to put a stake in the ground from which we can start cleaning up API's Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Diffstat (limited to 'lib/librte_kni')
-rw-r--r--lib/librte_kni/Makefile2
-rw-r--r--lib/librte_kni/rte_kni_version.map19
2 files changed, 21 insertions, 0 deletions
diff --git a/lib/librte_kni/Makefile b/lib/librte_kni/Makefile
index 5267304..93a516d 100644
--- a/lib/librte_kni/Makefile
+++ b/lib/librte_kni/Makefile
@@ -36,6 +36,8 @@ LIB = librte_kni.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing
+EXPORT_MAP := rte_kni_version.map
+
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_KNI) := rte_kni.c
diff --git a/lib/librte_kni/rte_kni_version.map b/lib/librte_kni/rte_kni_version.map
new file mode 100644
index 0000000..b0bbf4d
--- /dev/null
+++ b/lib/librte_kni/rte_kni_version.map
@@ -0,0 +1,19 @@
+DPDK_2.0 {
+ global:
+
+ rte_kni_alloc;
+ rte_kni_close;
+ rte_kni_create;
+ rte_kni_get;
+ rte_kni_get_port_id;
+ rte_kni_handle_request;
+ rte_kni_info_get;
+ rte_kni_init;
+ rte_kni_register_handlers;
+ rte_kni_release;
+ rte_kni_rx_burst;
+ rte_kni_tx_burst;
+ rte_kni_unregister_handlers;
+
+ local: *;
+};