Name
dev_ethtool_get_settings —
call device's ethtool_ops::get_settings
Synopsis
int dev_ethtool_get_settings ( | struct net_device * dev, |
| struct ethtool_cmd * cmd) ; |
Arguments
dev
device
cmd
memory area for ethtool_ops::get_settings
result
Description
The cmd arg is initialized properly (cleared and
ethtool_cmd
:cmd field set to ETHTOOL_GSET).
Return device's ethtool_ops::get_settings
result value or
-EOPNOTSUPP when device doesn't expose
ethtool_ops
:get_settings
operation.