Skip to content

Commit 50dffe7

Browse files
committed
Merge branch 'mlx4-drivers-version-update'
Tariq Toukan says: ==================== mlx4 drivers: version update This patchset contains version updates for the MLX4 drivers: Core, EN, and IB. Just like we've done in mlx5, we modify the outdated driver version (reported in ethtool for example). This better reflects the current driver state, and removes the redundant date string. We are not going to change this frequently or even use it. I include the IB patch in this series as it has similar subject and content. It does not cause any kind of conflict with Doug's tree. The rdma mailing list is CCed. Please let me know if I need to submit this differently. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 5ebe31d + 0a528ee commit 50dffe7

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

drivers/infiniband/hw/mlx4/main.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
#include <rdma/mlx4-abi.h>
6262

6363
#define DRV_NAME MLX4_IB_DRV_NAME
64-
#define DRV_VERSION "2.2-1"
65-
#define DRV_RELDATE "Feb 2014"
64+
#define DRV_VERSION "4.0-0"
6665

6766
#define MLX4_IB_FLOW_MAX_PRIO 0xFFF
6867
#define MLX4_IB_FLOW_QPN_MASK 0xFFFFFF
@@ -79,7 +78,7 @@ MODULE_PARM_DESC(sm_guid_assign, "Enable SM alias_GUID assignment if sm_guid_ass
7978

8079
static const char mlx4_ib_version[] =
8180
DRV_NAME ": Mellanox ConnectX InfiniBand driver v"
82-
DRV_VERSION " (" DRV_RELDATE ")\n";
81+
DRV_VERSION "\n";
8382

8483
static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init);
8584

drivers/net/ethernet/mellanox/mlx4/en_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ mlx4_en_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo)
8989
struct mlx4_en_dev *mdev = priv->mdev;
9090

9191
strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
92-
strlcpy(drvinfo->version, DRV_VERSION " (" DRV_RELDATE ")",
92+
strlcpy(drvinfo->version, DRV_VERSION,
9393
sizeof(drvinfo->version));
9494
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
9595
"%d.%d.%d",

drivers/net/ethernet/mellanox/mlx4/en_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
MODULE_AUTHOR("Liran Liss, Yevgeny Petrilin");
4747
MODULE_DESCRIPTION("Mellanox ConnectX HCA Ethernet driver");
4848
MODULE_LICENSE("Dual BSD/GPL");
49-
MODULE_VERSION(DRV_VERSION " ("DRV_RELDATE")");
49+
MODULE_VERSION(DRV_VERSION);
5050

5151
static const char mlx4_en_version[] =
5252
DRV_NAME ": Mellanox ConnectX HCA Ethernet driver v"
53-
DRV_VERSION " (" DRV_RELDATE ")\n";
53+
DRV_VERSION "\n";
5454

5555
#define MLX4_EN_PARM_INT(X, def_val, desc) \
5656
static unsigned int X = def_val;\

drivers/net/ethernet/mellanox/mlx4/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ MODULE_PARM_DESC(enable_4k_uar,
119119

120120
static char mlx4_version[] =
121121
DRV_NAME ": Mellanox ConnectX core driver v"
122-
DRV_VERSION " (" DRV_RELDATE ")\n";
122+
DRV_VERSION "\n";
123123

124124
static struct mlx4_profile default_profile = {
125125
.num_qp = 1 << 18,

drivers/net/ethernet/mellanox/mlx4/mlx4.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656

5757
#define DRV_NAME "mlx4_core"
5858
#define PFX DRV_NAME ": "
59-
#define DRV_VERSION "2.2-1"
60-
#define DRV_RELDATE "Feb, 2014"
59+
#define DRV_VERSION "4.0-0"
6160

6261
#define MLX4_FS_UDP_UC_EN (1 << 1)
6362
#define MLX4_FS_TCP_UC_EN (1 << 2)

drivers/net/ethernet/mellanox/mlx4/mlx4_en.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
#include "mlx4_stats.h"
5959

6060
#define DRV_NAME "mlx4_en"
61-
#define DRV_VERSION "2.2-1"
62-
#define DRV_RELDATE "Feb 2014"
61+
#define DRV_VERSION "4.0-0"
6362

6463
#define MLX4_EN_MSG_LEVEL (NETIF_MSG_LINK | NETIF_MSG_IFDOWN)
6564

0 commit comments

Comments
 (0)