diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2018-05-09 18:29:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-10 23:08:25 +0300 |
commit | e5c9a705452acf59efe00cb84f086624fda010ab (patch) | |
tree | 3c0931831af42181eeb1255cf80a2064b63542c7 /drivers/net/ethernet/mellanox/mlx4/mlx4.h | |
parent | a37fb855f6e8e9eafac046721393f68f48eb5f91 (diff) | |
download | linux-e5c9a705452acf59efe00cb84f086624fda010ab.tar.xz |
net/mlx4_core: Report driver version to FW
If supported, write a driver version string to FW as part of the
INIT_HCA command.
Example of driver version: "Linux,mlx4_core,4.0-0"
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h index c68da1986e51..cb9e923e8399 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h @@ -55,8 +55,8 @@ #include "fw_qos.h" #define DRV_NAME "mlx4_core" -#define PFX DRV_NAME ": " #define DRV_VERSION "4.0-0" +#define DRV_NAME_FOR_FW "Linux," DRV_NAME "," DRV_VERSION #define MLX4_FS_UDP_UC_EN (1 << 1) #define MLX4_FS_TCP_UC_EN (1 << 2) |