summaryrefslogtreecommitdiff
path: root/lib/librte_acl
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_acl
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_acl')
-rw-r--r--lib/librte_acl/Makefile2
-rw-r--r--lib/librte_acl/rte_acl_version.map21
2 files changed, 23 insertions, 0 deletions
diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile
index e27de04..aba885b 100644
--- a/lib/librte_acl/Makefile
+++ b/lib/librte_acl/Makefile
@@ -37,6 +37,8 @@ LIB = librte_acl.a
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
+EXPORT_MAP := rte_acl_version.map
+
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_ACL) += tb_mem.c
diff --git a/lib/librte_acl/rte_acl_version.map b/lib/librte_acl/rte_acl_version.map
new file mode 100644
index 0000000..3f9c810
--- /dev/null
+++ b/lib/librte_acl/rte_acl_version.map
@@ -0,0 +1,21 @@
+DPDK_2.0 {
+ global:
+
+ rte_acl_add_rules;
+ rte_acl_build;
+ rte_acl_classify;
+ rte_acl_classify_alg;
+ rte_acl_classify_scalar;
+ rte_acl_create;
+ rte_acl_dump;
+ rte_acl_find_existing;
+ rte_acl_free;
+ rte_acl_ipv4vlan_add_rules;
+ rte_acl_ipv4vlan_build;
+ rte_acl_list_dump;
+ rte_acl_reset;
+ rte_acl_reset_rules;
+ rte_acl_set_ctx_classify;
+
+ local: *;
+};