net/mlx5e: ethtool, Add support for EEPROM high pages query
authorErez Alfasi <ereza@mellanox.com>
Thu, 21 Mar 2019 13:02:13 +0000 (15:02 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 21:39:16 +0000 (14:39 -0700)
commita708fb7b1f8dcc7a8ed949839958cd5d812dd939
tree0ff97e7cf47ab30ced373f49f63c1d435434fd7a
parent0e1a2a3e6e7d37cea9f8586f6d7745b539147d9f
net/mlx5e: ethtool, Add support for EEPROM high pages query

Add the support to read additional EEPROM information from high pages.
Information for modules such as SFF-8436 and SFF-8636:
 1) Application select table
 2) User writable EEPROM
 3) Thresholds and alarms

Signed-off-by: Erez Alfasi <ereza@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/port.h