summaryrefslogtreecommitdiff
path: root/test-features.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-02Regularise offload feature settingsBen Hutchings1-3/+3
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>
2012-06-02Add unit tests for setting offload features (old API)Ben Hutchings1-0/+153
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>