linux_dsm_epyc7002/drivers/infiniband/hw/mlx4
Chuck Lever cbc9355a93 IB/mlx4: Prevent cross page boundary allocation
Prevent cross page boundary allocation by allocating
new page, this is required to be aligned with ConnectX-3 HW
requirements.

Not doing that might cause to "RDMA read local protection" error.

Fixes: 1b2cd0fc67 ('IB/mlx4: Support the new memory registration API')
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-23 10:08:25 -04:00
..
ah.c infiniband: Replace memset with eth_zero_addr 2016-01-19 15:24:54 -05:00
alias_GUID.c IB/mlx4: Use boottime 2016-02-29 17:11:40 -05:00
cm.c IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order 2015-02-17 22:11:40 -08:00
cq.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
mad.c IB/mlx4: Fix error flow when sending mads under SRIOV 2016-06-23 10:07:03 -04:00
main.c IB/mlx4: Verify port number in flow steering create flow 2016-06-23 10:07:04 -04:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
mcg.c IB/mlx4: Fix unaligned access in send_reply_to_slave 2016-05-18 10:25:56 -04:00
mlx4_ib.h IB/mlx4: Prevent cross page boundary allocation 2016-06-23 10:08:25 -04:00
mr.c IB/mlx4: Prevent cross page boundary allocation 2016-06-23 10:08:25 -04:00
qp.c IB/mlx4: Fix memory leak if QP creation failed 2016-06-23 10:08:25 -04:00
srq.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00