summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/Kconfig
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-08-15 11:38:30 +0300
committerDoug Ledford <dledford@redhat.com>2019-08-20 13:44:43 -0400
commit27b7fb1ab7bfad45f5702ff0c78a4822a41b1456 (patch)
tree4cf696cda214d8fae2e1afb8e5d9d410f0b65ffe /drivers/infiniband/Kconfig
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 (diff)
downloadlinux-stable-27b7fb1ab7bfad45f5702ff0c78a4822a41b1456.tar.gz
linux-stable-27b7fb1ab7bfad45f5702ff0c78a4822a41b1456.tar.bz2
linux-stable-27b7fb1ab7bfad45f5702ff0c78a4822a41b1456.zip
RDMA/mlx5: Fix MR npages calculation for IB_ACCESS_HUGETLB
When ODP is enabled with IB_ACCESS_HUGETLB then the required pages should be calculated based on the extent of the MR, which is rounded to the nearest huge page alignment. Fixes: d2183c6f1958 ("RDMA/umem: Move page_shift from ib_umem to ib_odp_umem") Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Link: https://lore.kernel.org/r/20190815083834.9245-5-leon@kernel.org Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/Kconfig')
0 files changed, 0 insertions, 0 deletions