mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
netdev: octeon_mgmt: Improve ethtool_ops.
Correctly show no link when the interface is down, and return -EOPNOTSUPP for things that don't work. This quiets the ethtool program when run on down interfaces. Signed-off-by: David Daney <david.daney@cavium.com> Acked-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3d30585026
commit
f21105df0f
1 changed files with 18 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue