Skip to contentSkip to conversation

have net drivers use a standard map file name format

PATCH Applied Bruce Richardson 2 participants 7 messages Sep 14, 2017 – Sep 20, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover have net drivers use a standard map file name format

rename some of the version.map files that don't match the standard naming convention. For future meson build system, this will save us having to specify for each driver what the filename of its map file is.

Bruce Richardson (2):
net/bonding: rename map file to standard name
net/xenvirt: rename map file to standard name

 drivers/net/bonding/Makefile                                            | 2 +-
 .../net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map}  | 0
 drivers/net/xenvirt/Makefile                                            | 2 +-
 .../{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map}        | 0
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map} (100%)
 rename drivers/net/xenvirt/{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map} (100%)
Signature · 1 line
2.13.5
#1 lore raw

PATCH 1/2 net/bonding: rename map file to standard name

Naming convention for net drivers is "rte_pmd_<name>_version.map"

---
 drivers/net/bonding/Makefile                                            | 2 +-
 .../net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map} (100%)
drivers/net/bonding/Makefile +1 -1
index 910c932da..ab8b6894a 100644
@@ -39,7 +39,7 @@ LIB = librte_pmd_bond.a
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 
-EXPORT_MAP := rte_eth_bond_version.map
+EXPORT_MAP := rte_pmd_bond_version.map
 
 LIBABIVER := 1
 
drivers/net/bonding/rte_pmd_bond_version.map renamed from drivers/net/bonding/rte_eth_bond_version.map +0 -0
similarity index 100%
rename from drivers/net/bonding/rte_eth_bond_version.map
rename to drivers/net/bonding/rte_pmd_bond_version.map
Signature · 1 line
2.13.5
#3 lore raw

PATCH 2/2 net/xenvirt: rename map file to standard name

In reply to Bruce Richardson

Naming convention for net drivers is "rte_pmd_<name>_version.map"

---
 drivers/net/xenvirt/Makefile                                            | 2 +-
 .../{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map}        | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/net/xenvirt/{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map} (100%)
drivers/net/xenvirt/Makefile +1 -1
index 8b4b8f037..bf5db050f 100644
@@ -40,7 +40,7 @@ CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 LDLIBS += -lxenstore
 
-EXPORT_MAP := rte_eth_xenvirt_version.map
+EXPORT_MAP := rte_pmd_xenvirt_version.map
 
 LIBABIVER := 1
 
drivers/net/xenvirt/rte_pmd_xenvirt_version.map renamed from drivers/net/xenvirt/rte_eth_xenvirt_version.map +0 -0
similarity index 100%
rename from drivers/net/xenvirt/rte_eth_xenvirt_version.map
rename to drivers/net/xenvirt/rte_pmd_xenvirt_version.map
Signature · 1 line
2.13.5
#5 lore raw
In reply to Bruce Richardson
Quoted 7 lines · Bruce Richardson

rename some of the version.map files that don't match the standard naming convention. For future meson build system, this will save us having to specify for each driver what the filename of its map file is.

Bruce Richardson (2):
net/bonding: rename map file to standard name
net/xenvirt: rename map file to standard name

+1 for bonding,
but xenvirt is going away in this release, can we drop that one?

Quoted 9 lines
 drivers/net/bonding/Makefile                                            | 2 +-
 .../net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map}  | 0
 drivers/net/xenvirt/Makefile                                            | 2 +-
 .../{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map}        | 0
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map} (100%)
 rename drivers/net/xenvirt/{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map} (100%)
#6 lore raw
Quoted 16 lines

-----Original Message-----
From: Yigit, Ferruh
Sent: Thursday, September 14, 2017 5:34 PM
To: Richardson, Bruce <[email protected]>; Tan, Jianfeng <[email protected]>; Doherty, Declan <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 0/2] have net drivers use a standard map file name format

Quoted 4 lines · Bruce Richardson

rename some of the version.map files that don't match the standard naming convention. For future meson build system, this will save us having to specify for each driver what the filename of its map file is.

Quoted 7 lines
Quoted 3 lines

Bruce Richardson (2):
net/bonding: rename map file to standard name
net/xenvirt: rename map file to standard name

+1 for bonding,
but xenvirt is going away in this release, can we drop that one?

Good point. Please ignore patch 2, and take only patch 1.