All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Autoloading for RDMA netlink modules
@ 2017-08-14 20:57 Jason Gunthorpe
       [not found] ` <1502744259-16966-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Jason Gunthorpe @ 2017-08-14 20:57 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Leon Romanovsky, Doug Ledford

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-08-22 21:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-14 20:57 [PATCH v2 0/2] Autoloading for RDMA netlink modules Jason Gunthorpe
     [not found] ` <1502744259-16966-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-14 20:57   ` [PATCH v2 1/2] rdma: Allow demand loading of NETLINK_RDMA Jason Gunthorpe
     [not found]     ` <1502744259-16966-2-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-15  9:20       ` Leon Romanovsky
2017-08-14 20:57   ` [PATCH v2 2/2] rdma: Autoload netlink client modules Jason Gunthorpe
     [not found]     ` <1502744259-16966-3-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-15  9:56       ` Leon Romanovsky
     [not found]         ` <20170815095651.GQ24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-15 15:35           ` Jason Gunthorpe
     [not found]             ` <20170815153523.GA14623-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-15 15:58               ` Leon Romanovsky
     [not found]                 ` <20170815155843.GT24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-15 16:57                   ` Jason Gunthorpe
     [not found]                     ` <20170815165737.GB15171-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-15 17:40                       ` Leon Romanovsky
     [not found]                         ` <20170815174058.GW24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-16 15:36                           ` Jason Gunthorpe
     [not found]                             ` <20170816153620.GA22584-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-16 15:59                               ` Leon Romanovsky
2017-08-22 21:07   ` [PATCH v2 0/2] Autoloading for RDMA netlink modules Doug Ledford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.