Ben Hutchings e596e6e4d5 ethtool: Report link-down while interface is down
While an interface is down, many implementations of
ethtool_ops::get_link, including the default, ethtool_op_get_link(),
will report the last link state seen while the interface was up.  In
general the current physical link state is not available if the
interface is down.

Define ETHTOOL_GLINK to reflect whether the interface *and* any
physical port have a working link, and consistently return 0 when the
interface is down.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-10 15:55:23 -08:00
..
2010-10-25 13:09:44 -07:00
2010-12-10 12:49:23 +01:00
2010-09-23 14:33:39 -07:00
2010-12-10 14:57:34 -08:00
2010-10-21 15:44:13 +02:00
2010-09-23 14:33:39 -07:00
2010-11-15 13:24:06 -05:00
2010-12-02 13:34:06 -08:00
2010-11-28 18:24:14 -08:00
2010-10-15 15:53:27 +02:00
2010-11-12 13:27:25 -08:00