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)
commitc431f8597863a91eea6024926e0c1b179cfa4852
treeb85f7938317c3028bdf41a9923491f7189c52110
parent73e6551699a32fac703ceea09214d6580edcf2d5
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: 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>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c