]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Show board id in ethtool driver information
authorInbar Karmy <inbark@mellanox.com>
Mon, 13 Mar 2017 13:36:57 +0000 (15:36 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Apr 2017 22:21:26 +0000 (01:21 +0300)
commitc768c10237ffbf32cf9d62d1194c409804063f96
tree8d9714a99f081e9d057c8da0015bc3349ebcc05f
parent6fc7bfe5bbc05f901ad08289278edbb907271b83
net/mlx5e: Show board id in ethtool driver information

Add the board id (PSID) to the firmware-version field
in the ethtool -i (driver information).
The PSID is shown in parentheses, next to the fw-version.

$ ethtool -i ens6
firmware-version: 12.14.1101 (MT_2190110032)

Signed-off-by: Inbar Karmy <inbark@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c