Re: [dpdk-dev] [PATCH] net/mlx5: fix errno in case of unsupported Direct Rules

2019-05-07 Thread Shahaf Shuler
Tuesday, May 7, 2019 4:42 PM, Ori Kam: > Subject: [PATCH] net/mlx5: fix errno in case of unsupported Direct Rules > > When Direct Rules API is not supported we don't set the errno. > this results in failing the function but with errno equals to zero. > The result of this is that a function that fa

[dpdk-dev] [PATCH] net/mlx5: fix errno in case of unsupported Direct Rules

2019-05-07 Thread Ori Kam
When Direct Rules API is not supported we don't set the errno. this results in failing the function but with errno equals to zero. The result of this is that a function that failed, is considered as a function that worked correctly. This commit fixes this issue by setting the errno to ENOTSUP and