linux/net/ethtool
Ivan Vecera a3bb7b6381 ethtool: Fix get module eeprom fallback
Function fallback_set_params() checks if the module type returned
by a driver is ETH_MODULE_SFF_8079 and in this case it assumes
that buffer returns a concatenated content of page  A0h and A2h.
The check is wrong because the correct type is ETH_MODULE_SFF_8472.

Fixes: 96d971e307 ("ethtool: Add fallback to get_module_eeprom from netlink command")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/20220616160856.3623273-1-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-06-17 20:22:16 -07:00
..
bitset.c
bitset.h
cabletest.c
channels.c
coalesce.c
common.c ethtool: Add 10base-T1L link mode entry 2022-05-01 17:45:35 +01:00
common.h
debug.c
eee.c
eeprom.c ethtool: Fix get module eeprom fallback 2022-06-17 20:22:16 -07:00
features.c
fec.c
ioctl.c ethtool: use phydev variable 2022-01-06 12:33:35 +00:00
linkinfo.c
linkmodes.c
linkstate.c
Makefile
module.c
netlink.c
netlink.h net: ethtool: extend ringparam set/get APIs for tx_push 2022-04-15 11:41:35 -07:00
pause.c
phc_vclocks.c
privflags.c
rings.c net: ethtool: move checks before rtnl_lock() in ethnl_set_rings 2022-04-15 11:41:45 -07:00
stats.c
strset.c
tsinfo.c
tunnels.c
wol.c