diff options
| author | Li Zhijian <[email protected]> | 2022-10-01 10:00:45 +0800 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2022-10-19 10:02:18 +0300 |
| commit | 53c2d5b14a82f6e7f0f8089083972df20e66a354 (patch) | |
| tree | cfe4989e21826726805684e336612870986d6cb8 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 26312973bfbc1db24b157797776ee2b5b48f5c50 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Zhu Yanjun <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions