[dpdk-dev] [PATCH] kni: fix vhost-kni compile errors

Ferruh Yigit ferruh.yigit at intel.com
Mon Apr 11 19:57:20 CEST 2016


On 4/11/2016 6:04 PM, Thomas Monjalon wrote:
> 2016-04-11 17:54, Ferruh Yigit:
>> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0)
>> +	    (!test_and_set_bit(SOCKWQ_ASYNC_NOSPACE, &q->sock->flags) &&
>> +#else
>>  	    (!test_and_set_bit(SOCK_ASYNC_NOSPACE, &q->sock->flags) &&
>> +#endif
> 
> You could avoid some issues with backported feature by using
> #ifdef SOCKWQ_ASYNC_NOSPACE
> 
Right, I am sending a new version.

Regards,
ferruh


More information about the dev mailing list