All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 rdma-core 0/6] Common udev/systemd based module auto loading
@ 2017-07-27 22:31 Jason Gunthorpe
       [not found] ` <1501194685-9447-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 24+ messages in thread
From: Jason Gunthorpe @ 2017-07-27 22:31 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Leon Romanovsky, Doug Ledford,
	Ram Amrani, Steve Wise, Ira Weiny, Benjamin Drung, Jarod Wilson

Here is the next revision of the systemd module autoloading approach.

All the comments have been collected and a few other things addressed.

Notably, at least on debian, when rdma-core is installed for the first time it
activates the new udev rules and moduels autoload immediately, no reboot
required. Not sure about RH's policies, so leaving this to them to copy if
desired.

There have been positive test results now for rxe, mlx4 (IB), qedr and cxgb4
on Debian derived.

This is now a PR:

 https://github.com/linux-rdma/rdma-core/pull/174/commits

Jason Gunthorpe (6):
  Common infrastructure for auto loading rdma modules
  Move umad udev rules to rdma-core
  debian: Cause udev to evaluate the installed rules after install
  redhat: Remove cxgb3/4.modprobe files
  srp_daemon: Autoload the SRP kernel module if required
  iwpmd: Autoload iwpmd if required

 CMakeLists.txt                            |  1 +
 Documentation/udev.md                     | 83 +++++++++++++++++++++++++++++++
 debian/control                            |  5 +-
 debian/iwpmd.install                      |  2 +
 debian/iwpmd.postinst                     | 11 ++++
 debian/libibumad3.install                 |  1 -
 debian/rdma-core.install                  | 10 ++++
 debian/rdma-core.postinst                 | 13 +++++
 debian/srptools.install                   |  1 +
 debian/srptools.postinst                  | 11 ++++
 iwpmd/CMakeLists.txt                      |  8 +++
 iwpmd/iwpmd.rules                         |  1 +
 iwpmd/iwpmd.service.in                    |  6 +--
 iwpmd/modules-iwpmd.conf                  |  2 +
 kernel-boot/CMakeLists.txt                | 28 +++++++++++
 kernel-boot/modules/infiniband.conf       | 12 +++++
 kernel-boot/modules/iwarp.conf            |  1 +
 kernel-boot/modules/opa.conf              | 10 ++++
 kernel-boot/modules/rdma.conf             | 21 ++++++++
 kernel-boot/modules/roce.conf             |  2 +
 kernel-boot/rdma-description.rules        | 42 ++++++++++++++++
 kernel-boot/rdma-hw-modules.rules         | 39 +++++++++++++++
 kernel-boot/rdma-load-modules@.service.in | 15 ++++++
 kernel-boot/rdma-ulp-modules.rules        | 11 ++++
 kernel-boot/rdma-umad.rules               |  1 +
 libibumad/CMakeLists.txt                  |  5 --
 libibumad/libibumad.udev-rules            |  1 -
 rdma-core.spec                            |  1 +
 redhat/rdma-core.spec                     | 20 +++++---
 redhat/rdma.cxgb3.sys.modprobe            |  1 -
 redhat/rdma.cxgb4.sys.modprobe            |  1 -
 srp_daemon/CMakeLists.txt                 |  4 ++
 srp_daemon/modules-srp_daemon.conf        |  2 +
 srp_daemon/srp_daemon.rules               |  2 +-
 srp_daemon/srp_daemon.service.in          |  2 +-
 srp_daemon/srp_daemon_port@.service.in    |  3 +-
 36 files changed, 357 insertions(+), 22 deletions(-)
 create mode 100644 Documentation/udev.md
 create mode 100644 debian/iwpmd.postinst
 create mode 100644 debian/rdma-core.postinst
 create mode 100644 debian/srptools.postinst
 create mode 100644 iwpmd/iwpmd.rules
 create mode 100644 iwpmd/modules-iwpmd.conf
 create mode 100644 kernel-boot/CMakeLists.txt
 create mode 100644 kernel-boot/modules/infiniband.conf
 create mode 100644 kernel-boot/modules/iwarp.conf
 create mode 100644 kernel-boot/modules/opa.conf
 create mode 100644 kernel-boot/modules/rdma.conf
 create mode 100644 kernel-boot/modules/roce.conf
 create mode 100644 kernel-boot/rdma-description.rules
 create mode 100644 kernel-boot/rdma-hw-modules.rules
 create mode 100644 kernel-boot/rdma-load-modules@.service.in
 create mode 100644 kernel-boot/rdma-ulp-modules.rules
 create mode 100644 kernel-boot/rdma-umad.rules
 delete mode 100644 libibumad/libibumad.udev-rules
 delete mode 100644 redhat/rdma.cxgb3.sys.modprobe
 delete mode 100644 redhat/rdma.cxgb4.sys.modprobe
 create mode 100644 srp_daemon/modules-srp_daemon.conf

-- 
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] 24+ messages in thread

end of thread, other threads:[~2017-08-10  7:55 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-27 22:31 [PATCH v2 rdma-core 0/6] Common udev/systemd based module auto loading Jason Gunthorpe
     [not found] ` <1501194685-9447-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-27 22:31   ` [PATCH v2 rdma-core 1/6] Common infrastructure for auto loading rdma modules Jason Gunthorpe
     [not found]     ` <1501194685-9447-2-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-28 21:48       ` Chien Tin Tung
     [not found]         ` <20170728214855.GA13840-TZeIlv3TuzOfrEmaQUPKxl95YUYmaKo1UNDiOz3kqAs@public.gmane.org>
2017-07-28 23:01           ` Jason Gunthorpe
2017-07-27 22:31   ` [PATCH v2 rdma-core 2/6] Move umad udev rules to rdma-core Jason Gunthorpe
2017-07-27 22:31   ` [PATCH v2 rdma-core 3/6] debian: Cause udev to evaluate the installed rules after install Jason Gunthorpe
2017-07-27 22:31   ` [PATCH v2 rdma-core 4/6] redhat: Remove cxgb3/4.modprobe files Jason Gunthorpe
2017-07-27 22:31   ` [PATCH v2 rdma-core 5/6] srp_daemon: Autoload the SRP kernel module if required Jason Gunthorpe
2017-07-27 22:31   ` [PATCH v2 rdma-core 6/6] iwpmd: Autoload iwpmd " Jason Gunthorpe
2017-07-28 13:54   ` [PATCH v2 rdma-core 0/6] Common udev/systemd based module auto loading Steve Wise
2017-07-28 16:11     ` Jason Gunthorpe
2017-07-28 15:42   ` Benjamin Drung
     [not found]     ` <1501256525.4572.44.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-07-28 15:47       ` Jason Gunthorpe
     [not found]         ` <20170728154749.GA9646-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-28 16:41           ` Benjamin Drung
     [not found]             ` <1501260065.4572.47.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-07-28 16:56               ` Jason Gunthorpe
     [not found]                 ` <20170728165614.GA14302-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-03 12:00                   ` Benjamin Drung
     [not found]                     ` <1501761659.3581.2.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-08-03 17:52                       ` Jason Gunthorpe
     [not found]                         ` <20170803175242.GA31628-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-04 16:22                           ` Benjamin Drung
     [not found]                             ` <1501863751.3581.19.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-08-08 22:38                               ` Jason Gunthorpe
     [not found]                                 ` <20170808223851.GE29372-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-09 17:43                                   ` Benjamin Drung
     [not found]                                     ` <1502300630.1259.4.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-08-09 19:54                                       ` Jason Gunthorpe
     [not found]                                         ` <20170809195430.GB7013-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-09 20:00                                           ` Jason Gunthorpe
     [not found]                                             ` <20170809200040.GA7167-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-10  7:55                                               ` Benjamin Drung
2017-08-09 17:54                               ` 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.