net/mlx5e: Fix SFF 8472 eeprom length
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 5 Dec 2019 08:30:22 +0000 (10:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:35:53 +0000 (20:35 +0100)
commit935f39807a7e95678e5bda50757af326691a211c
tree7e38b6f7ad81f7fe834583abe6ad71b9ffd9f334
parent67256225ecf3b70f5829a95049dd7aa2997b5427
net/mlx5e: Fix SFF 8472 eeprom length

[ Upstream commit c431f8597863a91eea6024926e0c1b179cfa4852 ]

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

Fixes: ace329f4ab3b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c