[LTP] [PATCH] network/busy_poll: TCONF if driver doesn't support busy-poll feature

Alexey Kodanev alexey.kodanev@oracle.com
Tue Oct 11 13:22:42 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.

Good point, I'll do that.

Thanks,
Alexey



More information about the ltp mailing list