Re: [PATCH] IB/mlx5: unify return value to ENOENT

From: Jason Gunthorpe
Date: Tue Sep 28 2021 - 13:08:51 EST


On Fri, Sep 03, 2021 at 04:48:15PM +0800, Li Zhijian wrote:
> Previously, ENOENT or EINVAL will be returned by ibv_advise_mr() although
> the errors all occur at get_prefetchable_mr().

What do you think about this instead?