mirror of https://gitee.com/openkylin/linux.git
net/mlx5: Bump driver version
Remove date and bump version for mlx5_core driver. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
e29341fb3a
commit
7913d20596
|
@ -39,7 +39,7 @@ static void mlx5e_get_drvinfo(struct net_device *dev,
|
|||
struct mlx5_core_dev *mdev = priv->mdev;
|
||||
|
||||
strlcpy(drvinfo->driver, DRIVER_NAME, sizeof(drvinfo->driver));
|
||||
strlcpy(drvinfo->version, DRIVER_VERSION " (" DRIVER_RELDATE ")",
|
||||
strlcpy(drvinfo->version, DRIVER_VERSION,
|
||||
sizeof(drvinfo->version));
|
||||
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
|
||||
"%d.%d.%04d (%.16s)",
|
||||
|
|
|
@ -39,8 +39,7 @@
|
|||
#include <linux/if_link.h>
|
||||
|
||||
#define DRIVER_NAME "mlx5_core"
|
||||
#define DRIVER_VERSION "3.0-1"
|
||||
#define DRIVER_RELDATE "January 2015"
|
||||
#define DRIVER_VERSION "5.0-0"
|
||||
|
||||
#define MLX5_TOTAL_VPORTS(mdev) (1 + pci_sriov_get_totalvfs(mdev->pdev))
|
||||
|
||||
|
|
Loading…
Reference in New Issue