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: NDavid Daney <david.daney@cavium.com> Acked-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录