]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb925a2dc165e5ec2330ca1256704faef8ed96913
tree544fd60925f8a4e8742b6cbf59f3d66d36d90fbe
parente9d8a0fdeacd843c85dcef480cdb2ab76bcdb6e4
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