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>
This commit is contained in:
Eran Ben Elisha 2017-04-16 10:03:38 +03:00 • committed by Saeed Mahameed
commit 46e9d0b61e