summaryrefslogtreecommitdiff
path: root/lib/librte_meter
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_meter
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_meter')
-rw-r--r--lib/librte_meter/Makefile2
-rw-r--r--lib/librte_meter/rte_meter_version.map12
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/librte_meter/Makefile b/lib/librte_meter/Makefile
index b25c0cc..c4a7a32 100644
--- a/lib/librte_meter/Makefile
+++ b/lib/librte_meter/Makefile
@@ -39,6 +39,8 @@ LIB = librte_meter.a
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+EXPORT_MAP := rte_meter_version.map
+
#
# all source are stored in SRCS-y
#
diff --git a/lib/librte_meter/rte_meter_version.map b/lib/librte_meter/rte_meter_version.map
new file mode 100644
index 0000000..2fd647c
--- /dev/null
+++ b/lib/librte_meter/rte_meter_version.map
@@ -0,0 +1,12 @@
+DPDK_2.0 {
+ global:
+
+ rte_meter_srtcm_color_aware_check;
+ rte_meter_srtcm_color_blind_check;
+ rte_meter_srtcm_config;
+ rte_meter_trtcm_color_aware_check;
+ rte_meter_trtcm_color_blind_check;
+ rte_meter_trtcm_config;
+
+ local: *;
+};