]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-rdma: default MR page size to 4k
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 28 Aug 2017 09:52:27 +0000 (12:52 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2017 12:46:10 +0000 (14:46 +0200)
commit15212497d305e04d5b55d9cd087731f109fd6484
tree544fd60925f8a4e8742b6cbf59f3d66d36d90fbe
parent1ca4adc6e24c59107d8f830d95a1c78d693a00cf
nvme-rdma: default MR page size to 4k

Due to various page sizes in the system (IOMMU/device/kernel), we
set the fabrics controller page size to 4k and block layer boundaries
accordinglly. In architectures that uses different kernel page size
we'll have a mismatch to the MR page size that may cause a mapping error.
Update the MR page size to correspond to the core ctrl settings.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c