diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2022-10-01 05:00:45 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-10-19 10:02:18 +0300 |
commit | 53c2d5b14a82f6e7f0f8089083972df20e66a354 (patch) | |
tree | cfe4989e21826726805684e336612870986d6cb8 /include/rdma/rdma_counter.h | |
parent | 26312973bfbc1db24b157797776ee2b5b48f5c50 (diff) | |
download | linux-53c2d5b14a82f6e7f0f8089083972df20e66a354.tar.xz |
RDMA/core: return -EOPNOSUPP for ODP unsupported device
ib_reg_mr(3) which is used to register a MR with specific access flags
for specific HCA will set errno when something go wrong.
So, here we should return the specific -EOPNOTSUPP when the being
requested ODP access flag is unsupported by the HCA(such as RXE).
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Link: https://lore.kernel.org/r/20221001020045.8324-1-lizhijian@fujitsu.com
Reviewed-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma/rdma_counter.h')
0 files changed, 0 insertions, 0 deletions