Thread (1 message) 1 message, 1 author, 2017-08-22

Re: [PATCH v2 0/2] Autoloading for RDMA netlink modules

From: Doug Ledford <hidden>
Date: 2017-08-22 21:07:45

On Mon, 2017-08-14 at 14:57 -0600, Jason Gunthorpe wrote:
v2 is rebased/retested against Leon's major changes to the RDMA
netlink code.

The module alias name was changed to "rdma-netlink-subsys-%d" for
greater
consistency with other examples.

This allows all of RDMA netlink related things to autoload, for
instance, on a
system with no module loaded running iwpmd will autoload ib_core.ko
and iw_cm.ko,
which are required for iwpmd to run.

The end result is several new items in the modules.alias file related
to
RDMA:

alias net-pf-16-proto-20 ib_core
alias rdma-netlink-subsys-1 rdma_cm
alias rdma-netlink-subsys-2 iw_cm
alias rdma-netlink-subsys-4 ib_core
alias rdma-netlink-subsys-5 ib_core

Jason Gunthorpe (2):
  rdma: Allow demand loading of NETLINK_RDMA
  rdma: Autoload netlink client modules

 drivers/infiniband/core/cma.c     |  2 ++
 drivers/infiniband/core/device.c  |  2 ++
 drivers/infiniband/core/iwcm.c    |  2 ++
 drivers/infiniband/core/netlink.c | 12 ++++++++++++
 drivers/infiniband/core/nldev.c   |  3 +++
 include/rdma/rdma_netlink.h       | 12 ++++++++++++
 6 files changed, 33 insertions(+)
Thanks, series applied.

-- 
Doug Ledford [off-list ref]
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help