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)
commitcf83c8fdcd4756644595521f48748ec22f7efede
tree499acd90f352ce3d1e226dbeec2ca5ea998fe498
parent955858009708326b26f47b6f99939489bb88a0dc
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: ff9b85de5d5d ("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