[dpdk-dev] [PATCH v3 1/5] net/af_xdp: introduce AF XDP PMD driver

Ye Xiaolong xiaolong.ye at intel.com
Sat Mar 23 00:19:53 CET 2019


On 03/22, Stephen Hemminger wrote:
>On Fri, 22 Mar 2019 10:01:57 +0800
>Ye Xiaolong <xiaolong.ye at intel.com> wrote:
>
>> On 03/21, Stephen Hemminger wrote:
>> >On Thu, 21 Mar 2019 17:18:41 +0800
>> >Xiaolong Ye <xiaolong.ye at intel.com> wrote:
>> >  
>> >> +
>> >> +	if (ret < 0)
>> >> +		return -EINVAL;
>> >> +
>> >> +	return 0;  
>> >
>> >You could propogate kernel errno into DPDK?
>> >	return (ret < 0) ? -errno : 0;
>> >  
>> 
>> Sorry, could you share the advantage of doing this?
>> 
>> Thanks,
>> Xiaolong
>
>Suppose kernel returned -ENOTSUPP or other error, it could go back to
>the caller rather than juse invalid.

Got it.


More information about the dev mailing list