net/mlx5: Set driver version into firmware
authorHuy Nguyen <huyn@mellanox.com>
Thu, 17 Nov 2016 11:46:00 +0000 (13:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 17:08:57 +0000 (12:08 -0500)
commit012e50e109fd27ff989492ad74c50ca7ab21e6a1
tree6bda61810dbbf59c83d1279eb7ee38a4f56a8fe4
parent0dbc6fe09fbe5f5191bcc606f3bdc9a829f97066
net/mlx5: Set driver version into firmware

If driver_version capability bit is enabled, set driver version
to firmware after the init HCA command, for display purposes.

Example of driver version: "Linux,mlx5_core,3.0-1"

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/main.c