diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-06-01 23:08:32 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-06-02 01:31:11 +0100 |
commit | 6042804cf6ecc229e600cf78124a152a40b0dc89 (patch) | |
tree | ba584711c055b95badd90b92dff24f8ffc91238d /smsc911x.c | |
parent | 5bebf1ee71990a00fb7973702e3ed19b3fa71027 (diff) | |
download | ethtool-6042804cf6ecc229e600cf78124a152a40b0dc89.tar.gz |
Change -k/-K options to use ETHTOOL_{G,S}FEATURES
Rewrite the offload get and set functions to use the generic features
API where available, while maintaining a similar output format.
Add the long options --show-features and --features as additional
aliases for -k and -K.
Where there is exactly one named feature corresponding to an old
offload name, show the feature using the old offload name. Where
there are multiple features corresponding to an old offload name,
show the features as a group, indented underneath it.
Add some test cases to check that this works properly with or without
the generic features API. (These may well be insufficient.)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'smsc911x.c')
0 files changed, 0 insertions, 0 deletions