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

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

 



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