Skip to contentSkip to conversation

net/mlx: align drivers to latest naming convention

PATCH Applied David Marchand 3 participants 3 messages Oct 7, 2016 – Oct 12, 2016 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx: align drivers to latest naming convention

Fixes 2f45703c17ac ("drivers: make driver names consistent")
---
 drivers/net/mlx4/mlx4.h      | 2 +-
 drivers/net/mlx5/mlx5_defs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/mlx4/mlx4.h +1 -1
index d0c7bc2..4c7505e 100644
@@ -96,7 +96,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_CONNECTX3PRO = 0x1007,
 };
 
-#define MLX4_DRIVER_NAME "librte_pmd_mlx4"
+#define MLX4_DRIVER_NAME "net_mlx4"
 
 /* Bit-field manipulation. */
 #define BITFIELD_DECLARE(bf, type, size)				\
drivers/net/mlx5/mlx5_defs.h +1 -1
index cc2a6f3..b32816e 100644
@@ -37,7 +37,7 @@
 #include "mlx5_autoconf.h"
 
 /* Reported driver name. */
-#define MLX5_DRIVER_NAME "librte_pmd_mlx5"
+#define MLX5_DRIVER_NAME "net_mlx5"
 
 /* Maximum number of simultaneous MAC addresses. */
 #define MLX5_MAX_MAC_ADDRESSES 128
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 36 lines · David Marchand
Fixes 2f45703c17ac ("drivers: make driver names consistent")
---
 drivers/net/mlx4/mlx4.h      | 2 +-
 drivers/net/mlx5/mlx5_defs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/mlx4/mlx4.h +1 -1
index d0c7bc2..4c7505e 100644
@@ -96,7 +96,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_CONNECTX3PRO = 0x1007,
 };
 
-#define MLX4_DRIVER_NAME "librte_pmd_mlx4"
+#define MLX4_DRIVER_NAME "net_mlx4"
 
 /* Bit-field manipulation. */
 #define BITFIELD_DECLARE(bf, type, size)				\
drivers/net/mlx5/mlx5_defs.h +1 -1
index cc2a6f3..b32816e 100644
@@ -37,7 +37,7 @@
 #include "mlx5_autoconf.h"
 
 /* Reported driver name. */
-#define MLX5_DRIVER_NAME "librte_pmd_mlx5"
+#define MLX5_DRIVER_NAME "net_mlx5"
 
 /* Maximum number of simultaneous MAC addresses. */
 #define MLX5_MAX_MAC_ADDRESSES 128
Signature · 1 line
2.7.4
Signature · 2 lines
Adrien Mazarguil
6WIND