net/mlx4_core: Report driver version to FW
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 9 May 2018 15:29:02 +0000 (18:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 20:08:25 +0000 (16:08 -0400)
commite5c9a705452acf59efe00cb84f086624fda010ab
tree3c0931831af42181eeb1255cf80a2064b63542c7
parenta37fb855f6e8e9eafac046721393f68f48eb5f91
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>
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
include/linux/mlx4/device.h