[PATCH v5 rdma-next 0/4] driver-specific resource tracking

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

 



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.

Changes since v4:
- changed "provider" to "driver"

Changes since v3:
- reference the print type enum to be used with the attribute in
a comment when defining the attribute
- remove dev/link provider patch until we have a user
- get rid of provider_fill_res_entry() by adding a noop default
function.
- remove nesting attributes in iw_cxgb4 fill funcs
- remove any formating attempts by iw_cxgb4 fill funcs

Changes since v2:
- remove cb from provider fill API functions
- null out function pointers explicitly
- remove BIN print type
- provide unspec and hex helpers, and only the ones needed for this
  submission
- rebased on to rdma-next

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.


Steve Wise (4):
  RDMA/nldev: Add explicit pad attribute
  RDMA/nldev: add driver-specific resource tracking
  RDMA/nldev: helper functions to add driver attributes
  iw_cxgb4: dump detailed driver-specific QP information

 drivers/infiniband/core/nldev.c        | 121 ++++++++++++++--
 drivers/infiniband/core/restrack.c     |   7 +
 drivers/infiniband/hw/cxgb4/Makefile   |   3 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h |   5 +
 drivers/infiniband/hw/cxgb4/provider.c |   8 ++
 drivers/infiniband/hw/cxgb4/restrack.c | 248 +++++++++++++++++++++++++++++++++
 include/rdma/restrack.h                |  20 +++
 include/uapi/rdma/rdma_netlink.h       |  26 ++++
 8 files changed, 426 insertions(+), 12 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



[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