[LTP] [PATCH] network/busy_poll: TCONF if driver doesn't support busy-poll feature
Cyril Hrubis
chrubis@suse.cz
Mon Oct 10 17:11:01 CEST 2016
Hi!
> +ethtool --show-features $(tst_iface) | grep -q 'busy-poll.*on' || \
> + tst_brkm TCONF "busy poll not supported by driver"
> +
Maybe it would be better to move all the TCONF checks into a common
bussy_poll_lib.sh and source it in the scripts.
And also we should check for ethtool command with the tst_check_cmds.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list