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 <>
Reviewed-by: Andrew Lunn <>
Signed-off-by: Michal Kubecek <>
1 file changed