linux/drivers/infiniband/hw/nes
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
..
Kconfig
Makefile
nes.c Merge branch 'misc' into k.o/for-next 2017-08-18 14:10:23 -04:00
nes.h drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
nes_cm.c net: convert sk_buff.users from atomic_t to refcount_t 2017-07-01 07:39:07 -07:00
nes_cm.h
nes_context.h
nes_hw.c IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
nes_hw.h
nes_mgt.c IB/nes: use setup_timer 2017-04-28 13:19:13 -04:00
nes_mgt.h
nes_nic.c
nes_utils.c
nes_verbs.c IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
nes_verbs.h