On 03/22, Stephen Hemminger wrote:
>On Fri, 22 Mar 2019 10:01:57 +0800
>Ye Xiaolong <xiaolong...@intel.com> wrote:
>
>> On 03/21, Stephen Hemminger wrote:
>> >On Thu, 21 Mar 2019 17:18:41 +0800
>> >Xiaolong Ye <xiaolong...@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.

Reply via email to