[PATCH rdma-next 0/6] Annotate mlx5 driver to reuse restrack IDs

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

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Hi,

This series is based on previously sent "Provide per-ID access to
restrack objects" patch set. This annotation is needed to ensure
that driver and nldev shares the same ID numbers.

Based on that number, users will be able to perform explicit .doit
callback (query on specific object) and see relations between
various objects, e.g. see to which context, specific PD is connected.

The supported code for such functionality will be posted next week
together with ready to use rdmatool part.

Thanks

Leon Romanovsky (6):
  RDMA/restrack: Fortify source by ensuring that restrack type is set
  RDMA/mlx5: Use restrack allocation PD scheme
  RDMA/mlx5: Use automatic restrack CQ ID allocation mode
  RDMA/mlx5: Use HW variant restrack QP ID allocation mode
  RDMA/mlx5: Convert CTX to use restrack HW allocation scheme
  RDMA/mlx5: Annotate MR allocation

 drivers/infiniband/core/core_priv.h  |  3 +-
 drivers/infiniband/core/nldev.c      |  2 +-
 drivers/infiniband/core/restrack.c   | 32 +++++++++++++++----
 drivers/infiniband/hw/mlx5/cq.c      |  9 ++++++
 drivers/infiniband/hw/mlx5/gsi.c     |  5 ++-
 drivers/infiniband/hw/mlx5/main.c    | 47 ++++++++++++++++++++++------
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  3 --
 drivers/infiniband/hw/mlx5/mr.c      | 26 ++++++++++-----
 drivers/infiniband/hw/mlx5/qp.c      | 44 +++++++++++++++++++-------
 drivers/infiniband/hw/mlx5/srq.c     |  2 +-
 include/rdma/restrack.h              | 20 ++++++++++--
 11 files changed, 148 insertions(+), 45 deletions(-)

--
2.19.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