Skip to content

RDMA Netlink Device Client

Leon Romanovsky linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 19 patches 8 repliesIn review

5 of 19 patches are in this archive. The cover letter announces 19.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19RDMA/netlink: Add flag to consolidate common handingdrivers/infiniband/core/addr.c drivers/infiniband/core/device.c drivers/infiniband/core/netlink.c +2 more+22 -91 reply
4/19RDMA/netlink: Rename and remove redundant parameter from ibnl_multicastdrivers/infiniband/core/addr.c drivers/infiniband/core/iwpm_msg.c drivers/infiniband/core/netlink.c +2 more+6 -91 reply
6/19RDMA/netlink: Rename netlink callback structdrivers/infiniband/core/cma.c drivers/infiniband/core/device.c drivers/infiniband/core/iwcm.c +2 more+7 -71 reply
9/19RDMA/netlink: Add and implement doit netlink callbackdrivers/infiniband/core/netlink.c include/rdma/rdma_netlink.h+16 -51 reply
13/19RDMA/netlink: Add netlink device definitions to UAPIdrivers/infiniband/core/netlink.c include/uapi/rdma/rdma_netlink.h+43 -14 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteve Wise
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b
1/19R-b
4/19R-b
6/19R-b
9/19R-b
13/19R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next 00/19] RDMA Netlink Device Client

The following patch set is an implementation of NLDEV - RDMA netlink device client. It is based on the already sent patch [1] and patch set [2].

This client is needed to properly integrate coming RDMAtool [3] into iproute2 package which is based on netlink.

The following patch set can be logically divided into three parts:
* Cleanup of RDMA netlink interface to handle dumpit/doit callbacks.
* NLDEV initial implementation
* Exposing device and capability masks via this interface

The supplementary user space part will follow later or.

Thanks

[1] "Revert "IB/core: Add flow control to the portmapper netlink calls""

     https://patchwork.kernel.org/patch/9752865/

[2] [PATCH rdma-next V2 0/5] Refactor RDMA netlink infrastructure

    https://www.spinics.net/lists/linux-rdma/msg50945.html

[3] [RFC iproute2 0/8] RDMA tool

    https://www.spinics.net/lists/linux-rdma/msg49575.html

Available in the "topic/rdma-netlink" topic branch of this git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git

Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/rdma-netlink

CC Chien Tin Tung <[email protected]>
CC Steve Wise <[email protected]>
CC Stephen Hemminger <[email protected]>
CC Jiri Pirko <jiri-VPRAkNaXOzVWk0Htik3J/[email protected]>
CC Ariel Almog <ariela-VPRAkNaXOzVWk0Htik3J/[email protected]>
CC Linux RDMA <[email protected]>
CC Linux Netdev <[email protected]>

Leon Romanovsky (19):
RDMA/netlink: Add flag to consolidate common handing RDMA/netlink: Simplify the put_msg and put_attr RDMA/netlink: Rename and remove redundant parameter from ibnl_unicast RDMA/netlink: Rename and remove redundant parameter from
ibnl_multicast
RDMA/netlink: Simplify and rename ibnl_chk_listeners RDMA/netlink: Rename netlink callback struct
RDMA/core: Add iterator over ib_devices
RDMA/core: Expose translation from device name to ib_device RDMA/netlink: Add and implement doit netlink callback RDMA/netlink: Reduce indirection access to cb_table RDMA/netlink: Convert LS to doit callback
RDMA/netlink: Update copyright
RDMA/netlink: Add netlink device definitions to UAPI RDMA/netlink: Add nldev initialization flows
RDMA/netlink: Implement nldev device dumpit calback RDMa/netlink: Add nldev device doit implementation RDMA/netlink: Add nldev port dumpit implementation RDMA/netlink: Implement nldev port doit callback RDMA/netlink: Expose device and port capability masks

 drivers/infiniband/core/Makefile    |   4 +-
 drivers/infiniband/core/addr.c      |  12 +-
 drivers/infiniband/core/cma.c       |   2 +-
 drivers/infiniband/core/core_priv.h |  22 ++-
 drivers/infiniband/core/device.c    |  44 +++++-
 drivers/infiniband/core/iwcm.c      |   2 +-
 drivers/infiniband/core/iwpm_msg.c  |   8 +-
 drivers/infiniband/core/iwpm_util.c |   4 +-
 drivers/infiniband/core/netlink.c   |  98 ++++++-------
 drivers/infiniband/core/nldev.c     | 268 ++++++++++++++++++++++++++++++++++++
 drivers/infiniband/core/sa_query.c  |  18 ++-
 include/rdma/rdma_netlink.h         |  22 +--
 include/uapi/rdma/rdma_netlink.h    |  47 +++++++
 13 files changed, 454 insertions(+), 97 deletions(-)
 create mode 100644 drivers/infiniband/core/nldev.c

--
2.13.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html