[LTP] [PATCH] network/busy_poll: TCONF if driver doesn't support busy-poll feature
Alexey Kodanev
alexey.kodanev@oracle.com
Thu Oct 13 15:44:43 CEST 2016
Hi,
On 10/10/2016 06:11 PM, Cyril Hrubis wrote:
> 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.
Added new shell lib with checks and applied.
Thanks,
Alexey
More information about the ltp
mailing list