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

DORMANTno replies

From: Jason Gunthorpe <hidden>
Date: 2017-08-14 20:57:37

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current
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(+)

-- 
2.7.4

--
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