diff options
author | Parav Pandit <[email protected]> | 2017-09-24 21:46:31 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-09-25 11:47:23 -0400 |
commit | edd31551148c09608feee6b8756ad148d550ee3b (patch) | |
tree | d584b00f8d035cda6a28ab7733b2a4ebfb2032f7 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 73827a605bbd7cebef4cfd1261e497246a82a0e7 (diff) |
IB: Correct MR length field to be 64-bit
The ib_mr->length represents the length of the MR in bytes as per
the IBTA spec 1.3 section 11.2.10.3 (REGISTER PHYSICAL MEMORY REGION).
Currently ib_mr->length field is defined as only 32-bits field.
This might result into truncation and failed WRs of consumers who
registers more than 4GB bytes memory regions and whose WRs accessing
such MRs.
This patch makes the length 64-bit to avoid such truncation.
Cc: Sagi Grimberg <[email protected]>
Cc: Chuck Lever <[email protected]>
Cc: Faisal Latif <[email protected]>
Fixes: 4c67e2bfc8b7 ("IB/core: Introduce new fast registration API")
Signed-off-by: Ilya Lesokhin <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions