summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/ib_verbs.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-09-05 01:41:51 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-11 16:24:53 +0300
commit901bca71cd5bb940c7a57042c4c1cc15bc847ffe (patch)
tree1e937732633a0f0e383b37add1b47091f5b7d9af /drivers/infiniband/hw/bnxt_re/ib_verbs.c
parent68363052ff5addd3817a104cc453f4e2045704c9 (diff)
downloadlinux-901bca71cd5bb940c7a57042c4c1cc15bc847ffe.tar.xz
RDMA/qedr: Use ib_umem_num_dma_blocks() instead of ib_umem_page_count()
The length of the list populated by qedr_populate_pbls() should be calculated using ib_umem_num_dma_blocks() with the same size/shift passed to qedr_populate_pbls(). Link: https://lore.kernel.org/r/10-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/ib_verbs.c')
0 files changed, 0 insertions, 0 deletions