diff options
author | Ariel Levkovich <lariel@mellanox.com> | 2018-04-26 15:42:54 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 14:22:24 -0400 |
commit | 5ccbf63f87a39c279729670d2e31166844a335c6 (patch) | |
tree | 58e78361f5595303d03bcc70d34a11b463535667 /tools/perf/scripts/python/compaction-times.py | |
parent | 4f9ca2d8686ecfdd40ca4f0294a3d94f83f05cea (diff) |
IB/uverbs: Prevent reregistration of DM_MR to regular MR
This patch adds a check in the ib_uverbs_rereg_mr flow to make
sure there's no attempt to rereg a device memory MR to regular MR.
In such case the command will fail with -EINVAL status.
fixes: be934cca9e98 ("IB/uverbs: Add device memory registration ioctl support")
Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions