mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
nfp: implement ethtool .get_link() callback
Point the ethtool .get_link() callback to the standard ethtool_op_get_link() implementation. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
committed by
David S. Miller
parent
f642963bff
commit
2370def2e4
@@ -605,6 +605,7 @@ static int nfp_net_set_coalesce(struct net_device *netdev,
|
||||
|
||||
static const struct ethtool_ops nfp_net_ethtool_ops = {
|
||||
.get_drvinfo = nfp_net_get_drvinfo,
|
||||
.get_link = ethtool_op_get_link,
|
||||
.get_ringparam = nfp_net_get_ringparam,
|
||||
.set_ringparam = nfp_net_set_ringparam,
|
||||
.get_strings = nfp_net_get_strings,
|
||||
|
||||
Reference in New Issue
Block a user