diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-05-13 23:25:26 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-06-02 01:31:09 +0100 |
commit | e5c984ac501788d668e8aed1f7b1fd79ce1d93c5 (patch) | |
tree | ca1a9c90ca55cb4b0c3df0490d170ef5921d484b /e1000.c | |
parent | f2686c1e2b988af68e0bf14cacde254b487fd4f2 (diff) | |
download | ethtool-e5c984ac501788d668e8aed1f7b1fd79ce1d93c5.tar.gz |
Regularise offload feature settings
This is partly preparation for use of the new net device features API,
but is useful in its own right.
Replace repetitive code for getting/setting offload flags with data-
driven loops.
This changes error messages to use the same long names for offload
flags as in dump_offload(), and changes various exit codes to 1.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'e1000.c')
0 files changed, 0 insertions, 0 deletions