diff options
author | Israel Rukshin <israelr@mellanox.com> | 2016-12-28 12:48:28 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 11:03:17 -0500 |
commit | ad8e66b4a80182174f73487ed25fd2140cf43361 (patch) | |
tree | 10f7a56fb264e5f62e4629584144d01457ad040e /tools/perf/scripts/python/sched-migration.py | |
parent | 3bcf96e0183f5c863657cb6ae9adad307a0f6071 (diff) |
IB/srp: fix mr allocation when the device supports sg gaps
If the device support arbitrary sg list mapping (device cap
IB_DEVICE_SG_GAPS_REG set) we allocate the memory regions with
IB_MR_TYPE_SG_GAPS.
Fixes: 509c5f33f4f6 ("IB/srp: Prevent mapping failures")
Cc: <stable@vger.kernel.org> # 4.7+
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions