[dpdk-dev] [PATCH v1 5/5] net/hinic/base: modify return errors
Ferruh Yigit
ferruh.yigit at intel.com
Tue Jul 7 21:42:08 CEST 2020
On 6/27/2020 4:55 AM, Xiaoyun wang wrote:
> Modify return errors with linux system errors when
> system requests fail.
>
> Signed-off-by: Xiaoyun wang <cloud.wangxiaoyun at huawei.com>
<...>
> @@ -475,7 +475,7 @@ static int wait_for_flr_finish(struct hinic_hwif *hwif)
> rte_delay_ms(10);
> } while (time_before(jiffies, end));
>
> - return -EFAULT;
> + return -ETIME;
> }
Hi Xiaoyun,
'ETIME' is not defined in FreeBSD and was causing build error [1].
I have reverted the 'ETIME' changes in this patch (3 occurances) back.
Can you please do an incremental patch if 'EFAULT' errors needs to be replaced?
Thanks,
ferruh
[1]
http://mails.dpdk.org/archives/test-report/2020-July/142068.html
More information about the dev
mailing list