commit | 5e63b6bc832fb2bf5ff99e4de83354429504e0e9 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Wed Dec 02 19:22:14 2020 +0200 |
committer | Michal Kubecek <mkubecek@suse.cz> | Sun Dec 06 19:36:41 2020 +0100 |
tree | 6ffc76ed8a84f0e89db5dc3c0dd6762396535877 | |
parent | 124a3c06d1c34b125d84a9eb312fddd365bb7bf6 [diff] |
Improve error message when SFP module is missing ETHTOOL_GMODULEINFO request success indicates that SFP cage is present. Failure of ETHTOOL_GMODULEEEPROM is most likely because SFP module is not plugged in. Add an indication to the user as to what might be the reason for the failure. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Michal Kubecek <mkubecek@suse.cz>