linux_dsm_epyc7002/drivers/infiniband/ulp/iser
Parav Pandit edd3155114 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 <sagi@grimberg.me>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Faisal Latif <faisal.latif@intel.com>
Fixes: 4c67e2bfc8 ("IB/core: Introduce new fast registration API")
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-09-25 11:47:23 -04:00
..
iscsi_iser.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
iscsi_iser.h RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
iser_initiator.c RDMA/iser: don't send an rkey if all data is written as immadiate-data 2017-07-20 11:20:50 -04:00
iser_memory.c IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
iser_verbs.c RDMA/(core, ulp): Convert register/unregister event handler to be void 2017-08-24 16:27:10 -04:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile