On 26/08/2021 01:28, Jason Gunthorpe wrote:
On Sat, Aug 21, 2021 at 05:44:43PM +0800, Li, Zhijian wrote:thanks a lot, i have submitted a RP to rdma-core https://github.com/linux-rdma/rdma-core/pull/1048
convert to text and send againNo, the man page should be fixed
Hi Jason & Leon
It reminds me that ibv_advise_mr doesn't mention ENOENT any more which value the API actually returns now.
the ENOENT cases/situations returned by kernel mlx5 implementation is most likely same with EINVALL as its manpage[1].
So shall we return EINVAL instead of ENOENT in kernel side when get_prefetchable_mr returns NULL?
Thanks
Zhijian
Jason