]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add missing ethtool driver info for representors
authorDmytro Linkin <dmitrolin@mellanox.com>
Thu, 25 Apr 2019 08:52:02 +0000 (08:52 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 17 May 2019 20:16:49 +0000 (13:16 -0700)
commit4388b8ce1bf0486d9431d71936588aa86fa12f0b
tree499acd90f352ce3d1e226dbeec2ca5ea998fe498
parent1a63cada8468032d7f0eff9b119cc58cd83a1c6f
net/mlx5e: Add missing ethtool driver info for representors

For all representors added firmware version info to show in
ethtool driver info.
For uplink representor, because only it is tied to the pci device
sysfs, added pci bus info.

Fixes: caeb4ed0f2f9 ("net/mlx5e: Add some ethtool port control entries to the uplink rep netdev")
Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com>
Reviewed-by: Gavi Teitz <gavi@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c