David Gwynne <[email protected]> wrote:
> so the problem is the older api doenst support the "get phy types"
> command, or the sff commands. should we silence the "get phy types"
> error output? is there a better errno to use when the sff command
> isn't supported? should we add something to the manpage? should that
> something be "i'm not angry, just disappointed"?
I don't think it is the errno that matters, it is this:
> ifconfig: ixl0 transceiver: Input/output error
Way I read the code, there's no other cause for EIO in that place
in ifconfig. Why print the errno translation. Why not just something
vague like this:
ixl3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:e0:ed:75:a5:5f
index 6 priority 0 llprio 3
media: Ethernet autoselect (10GbaseLR full-duplex)
status: active
transceiver: cannot determine
Or something like that. Consider it a soft error.