diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-03-18 22:35:44 +0000 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-03-18 22:44:45 +0000 |
commit | c5bcaca8807869ccdf2bf639cadd6107b64522dc (patch) | |
tree | 931512b2dd6cb6efb6b9d7057c1478da50f60fa8 /vioc.c | |
parent | 423c656b22eccfe21a7700a388c8765d43136a05 (diff) | |
download | ethtool-c5bcaca8807869ccdf2bf639cadd6107b64522dc.tar.gz |
ethtool: Report driver features described in struct ethtool_drvinfo
ETHTOOL_GDRVINFO fills out struct ethtool_drvinfo with the size of the
data returned by various other operations. The size should be non-zero
if and only if the driver implements that operation. Therefore, we can
report whether the driver supports certain operations without actually
trying them (which may be expensive and disruptive).
Do this in dump_drvinfo() rather than adding a separation operation.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'vioc.c')
0 files changed, 0 insertions, 0 deletions