net/mlx5e: Add support for reading connector type from PTYS
authorEran Ben Elisha <eranbe@mellanox.com>
Mon, 13 Feb 2017 12:00:59 +0000 (14:00 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 8 Jun 2017 11:12:00 +0000 (14:12 +0300)
commit5b4793f817452e478442684e6bba85bddb5a9345
treef215869d53ac0b315a463b383e97238ac404aa7c
parent0c90e9c6b5549825e410b6589ad6c4478f81ebad
net/mlx5e: Add support for reading connector type from PTYS

Read port connector type from the firmware instead of caching it in the
driver metadata.

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
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/port.h