This series adds new resource tracking attributes and APIs for rdma providers to add their own implementation specific attributes. Included in this series is the core changes, and a cxgb4-specific QP implementation. It is based on wip/jgg-for-next to get [1]. Changes since v1: - refactor provider attr code to remove X32/X64 attributes. - add helper functions for filling out provider attributes - make use of helpers in cxgb4/restrack.c - add Reviewed-by tag. Changes since v0/rfc: - removed RFC tag - add PAD attribute while preserving the ABI - remove "provider_" prefix from restrack_root fn ptr names. - enable link and dev provider-specific attributes. - fixed copyright dates on cxgb4/restack.c. [1] Test on top of these commits from wip/jgg-for-next: 2253fc0caa80 ("RDMA/CMA: Add rdma_port_space to UAPI") 1b90d3002e3e ("RDMA/CMA: remove RDMA_PS_SDP") Steve Wise (5): RDMA/nldev: Add explicit pad attribute RDMA/nldev: add provider-specific resource tracking RDMA/nldev: add provider-specific device/port tracking RDMA/NLDEV: helper functions to add provider attributes iw_cxgb4: dump detailed provider-specific QP information drivers/infiniband/core/nldev.c | 178 +++++++++++++++-- drivers/infiniband/hw/cxgb4/Makefile | 3 +- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 6 + drivers/infiniband/hw/cxgb4/provider.c | 9 + drivers/infiniband/hw/cxgb4/restrack.c | 336 +++++++++++++++++++++++++++++++++ include/rdma/restrack.h | 44 +++++ include/uapi/rdma/rdma_netlink.h | 24 +++ 7 files changed, 582 insertions(+), 18 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/restrack.c -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html