[PATCH rdma-next v1 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>

Changelog v0->v1:
 * Fix Pd unwinding flow
 * First patch helped to find unset "struct ib_device *" in MR flow
 * Change CQ ID allocation from SW to HW mode.

---------------------------------------------------------------------

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 this 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 HW 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/core/verbs.c      |  2 +
 drivers/infiniband/hw/mlx5/cq.c      | 10 ++++-
 drivers/infiniband/hw/mlx5/gsi.c     |  5 ++-
 drivers/infiniband/hw/mlx5/main.c    | 66 +++++++++++++++++++++-------
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  3 --
 drivers/infiniband/hw/mlx5/mr.c      | 34 ++++++++++----
 drivers/infiniband/hw/mlx5/qp.c      | 44 ++++++++++++++-----
 drivers/infiniband/hw/mlx5/srq.c     |  2 +-
 include/rdma/restrack.h              | 20 ++++++++-
 12 files changed, 171 insertions(+), 52 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