net/mlx5e: Fill advertised and supported port data from Hardware info
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 16 Apr 2017 07:03:38 +0000 (10:03 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 8 Jun 2017 11:12:00 +0000 (14:12 +0300)
commit46e9d0b61e27a3a9286002311f349f0c33dcb18f
tree45e59e3ff9be26256f93861bd14a2945a0be005c
parent5b4793f817452e478442684e6bba85bddb5a9345
net/mlx5e: Fill advertised and supported port data from Hardware info

Translate hardware port connector type data into link mode supported and
advertised info instead of caching it in driver.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c