]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix SFF 8472 eeprom length
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 5 Dec 2019 08:30:22 +0000 (10:30 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Dec 2019 21:02:11 +0000 (13:02 -0800)
commitfa967d422fa218db736eee998c4e7250481a3e42
treeb85f7938317c3028bdf41a9923491f7189c52110
parent53d0d3107aa5afc86111c44c31d5f17d537b161f
net/mlx5e: Fix SFF 8472 eeprom length

SFF 8472 eeprom length is 512 bytes. Fix module info return value to
support 512 bytes read.

Fixes: 0d14cb509b63 ("net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c