[PATCH v1 rdma-next 0/5] Use correct sizing on buffers holding page DMA addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Saleem, Shiraz" <shiraz.saleem@xxxxxxxxx>

This patchset updates certain drivers that incorrectly size their internal
buffers to hold the page DMA addresses while iterating the DMA-mapped umem SGL.
It is a precursor series to adding page combining for umem SGLs.

v0->v1:
*Use ib_umem_num_pages() accessor as opposed to umem->npages
to size the buffers.

Selvin Xavier (1):
  RDMA/bnxt_re: Use correct sizing on buffers holding page DMA addresses

Shiraz Saleem (4):
  RDMA/cxbg: Use correct sizing on buffers holding page DMA addresses
  RDMA/mthca: Use correct sizing on buffers holding page DMA addresses
  RDMA/rxe: Use correct sizing on buffers holding page DMA addresses
  RDMA/rdmavt: Use correct sizing on buffers holding page DMA addresses

 drivers/infiniband/hw/bnxt_re/ib_verbs.c     | 25 ++++++++--------
 drivers/infiniband/hw/bnxt_re/qplib_fp.c     | 27 ++++++++---------
 drivers/infiniband/hw/bnxt_re/qplib_fp.h     |  9 ++----
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c   |  4 +--
 drivers/infiniband/hw/bnxt_re/qplib_res.c    | 43 +++++++++++++++++-----------
 drivers/infiniband/hw/bnxt_re/qplib_res.h    |  8 +++++-
 drivers/infiniband/hw/bnxt_re/qplib_sp.c     |  4 +--
 drivers/infiniband/hw/cxgb3/iwch_provider.c  |  2 +-
 drivers/infiniband/hw/cxgb4/mem.c            |  2 +-
 drivers/infiniband/hw/mthca/mthca_provider.c |  2 +-
 drivers/infiniband/sw/rdmavt/mr.c            |  2 +-
 drivers/infiniband/sw/rxe/rxe_mr.c           |  2 +-
 12 files changed, 72 insertions(+), 58 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux