On Wed, May 13, 2020 at 12:50:20PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > From Maor: > > Hi, > > The following series adds support to get the RDMA resource data in RAW > format. The main motivation for doing this is to enable vendors to return > the entire QP/CQ/MR data without a need from the vendor to set each field > separately. > > Thanks > > Maor Gottlieb (14): > net/mlx5: Export resource dump interface > net/mlx5: Add support in query QP, CQ and MKEY segments > RDMA/core: Fix double put of resource This specific patch was already sent to -rc and accepted. Please ignore. > RDMA/core: Allow to override device op > RDMA/core: Don't call fill_res_entry for PD > RDMA/core: Add restrack dummy ops > RDMA: Add dedicated MR resource tracker function > RDMA: Add a dedicated CQ resource tracker function > RDMA: Add a dedicated QP resource tracker function > RDMA: Add dedicated cm id resource tracker function > RDMA: Add support to dump resource tracker in RAW format > RDMA/mlx5: Add support to get QP resource in raw format > RDMA/mlx5: Add support to get CQ resource in RAW format > RDMA/mlx5: Add support to get MR resource in RAW format > > drivers/infiniband/core/device.c | 16 ++- > drivers/infiniband/core/nldev.c | 136 ++++++++---------- > drivers/infiniband/core/restrack.c | 32 +++++ > drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 7 +- > drivers/infiniband/hw/cxgb4/provider.c | 11 +- > drivers/infiniband/hw/cxgb4/restrack.c | 33 ++--- > drivers/infiniband/hw/hns/hns_roce_device.h | 4 +- > drivers/infiniband/hw/hns/hns_roce_main.c | 2 +- > drivers/infiniband/hw/hns/hns_roce_restrack.c | 17 +-- > drivers/infiniband/hw/mlx5/main.c | 6 +- > drivers/infiniband/hw/mlx5/mlx5_ib.h | 11 +- > drivers/infiniband/hw/mlx5/restrack.c | 105 +++++++++++--- > .../mellanox/mlx5/core/diag/rsc_dump.c | 6 + > .../mellanox/mlx5/core/diag/rsc_dump.h | 33 +---- > .../diag => include/linux/mlx5}/rsc_dump.h | 25 ++-- > include/rdma/ib_verbs.h | 13 +- > include/uapi/rdma/rdma_netlink.h | 2 + > 17 files changed, 258 insertions(+), 201 deletions(-) > copy {drivers/net/ethernet/mellanox/mlx5/core/diag => include/linux/mlx5}/rsc_dump.h (68%) > > -- > 2.26.2 >