summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/port.h
diff options
context:
space:
mode:
authorErez Alfasi <ereza@mellanox.com>2019-03-21 16:02:13 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-05-02 00:39:16 +0300
commita708fb7b1f8dcc7a8ed949839958cd5d812dd939 (patch)
tree0ff97e7cf47ab30ced373f49f63c1d435434fd7a /include/linux/mlx5/port.h
parent0e1a2a3e6e7d37cea9f8586f6d7745b539147d9f (diff)
downloadlinux-a708fb7b1f8dcc7a8ed949839958cd5d812dd939.tar.xz
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>
Diffstat (limited to 'include/linux/mlx5/port.h')
-rw-r--r--include/linux/mlx5/port.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/port.h b/include/linux/mlx5/port.h
index 64e78394fc9c..de9a272c9f3d 100644
--- a/include/linux/mlx5/port.h
+++ b/include/linux/mlx5/port.h
@@ -60,6 +60,7 @@ enum mlx5_an_status {
#define MLX5_I2C_ADDR_LOW 0x50
#define MLX5_I2C_ADDR_HIGH 0x51
#define MLX5_EEPROM_PAGE_LENGTH 256
+#define MLX5_EEPROM_HIGH_PAGE_LENGTH 128
enum mlx5e_link_mode {
MLX5E_1000BASE_CX_SGMII = 0,