net/ring: rename map file to standardized name
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 31 Aug 2017 13:42:42 +0000 (14:42 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 31 Aug 2017 21:03:01 +0000 (23:03 +0200)
The filenames of the linker map files for DPDK PMDs, all follow a
standard format: rte_pmd_<libname>_version.map. The ring version, however,
had eth instead of pmd in the name, so was non-standard. By changing
this, we no longer need the build system to explicitly be given the name of
the mapfile, as it can determine it from the directory name.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ring/Makefile
drivers/net/ring/rte_eth_ring_version.map [deleted file]
drivers/net/ring/rte_pmd_ring_version.map [new file with mode: 0644]

index b7e1a37..7ae15ef 100644 (file)
@@ -39,7 +39,7 @@ LIB = librte_pmd_ring.a
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 
-EXPORT_MAP := rte_eth_ring_version.map
+EXPORT_MAP := rte_pmd_ring_version.map
 
 LIBABIVER := 2
 
diff --git a/drivers/net/ring/rte_eth_ring_version.map b/drivers/net/ring/rte_eth_ring_version.map
deleted file mode 100644 (file)
index 1f785d9..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-DPDK_2.0 {
-       global:
-
-       rte_eth_from_rings;
-
-       local: *;
-};
-
-DPDK_2.2 {
-       global:
-
-       rte_eth_from_ring;
-
-} DPDK_2.0;
diff --git a/drivers/net/ring/rte_pmd_ring_version.map b/drivers/net/ring/rte_pmd_ring_version.map
new file mode 100644 (file)
index 0000000..1f785d9
--- /dev/null
@@ -0,0 +1,14 @@
+DPDK_2.0 {
+       global:
+
+       rte_eth_from_rings;
+
+       local: *;
+};
+
+DPDK_2.2 {
+       global:
+
+       rte_eth_from_ring;
+
+} DPDK_2.0;