linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] net/9p: optimize transport module loading
@ 2021-11-03 19:38 Thomas Weißschuh
  2021-11-03 19:38 ` [PATCH v2 1/4] net/9p: autoload transport modules Thomas Weißschuh
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Thomas Weißschuh @ 2021-11-03 19:38 UTC (permalink / raw)
  To: v9fs-developer, netdev
  Cc: Thomas Weißschuh, Dominique Martinet, Eric Van Hensbergen,
	Latchesar Ionkov, David S. Miller, Jakub Kicinski,
	Stefano Stabellini, linux-kernel

This is a continuation of the single patch
"net/9p: autoload transport modules".

Patch 1 is a cleaned up version of the original patch.

Patch 2 splits the filedescriptor-based transports into their own module.

Patch 3 adds autoloading for the xen transport. Please note that this is
completely untested, but other xenbus drivers do the same.

Patch 4 adds some fallback transport loading from modules if none is usable at
the moment.

Changes since v1:
( https://lore.kernel.org/netdev/20211017134611.4330-1-linux@weissschuh.net/ )

* Fix warnings
* Split FD transport into its own module
* Autoload xen transport when xenbus device is present
* Load transports from modules when none is specified and loaded

Thomas Weißschuh (4):
  net/9p: autoload transport modules
  9p/trans_fd: split into dedicated module
  9p/xen: autoload when xenbus service is available
  net/p9: load default transports

 include/net/9p/9p.h        |  2 --
 include/net/9p/transport.h |  8 +++++++-
 net/9p/Kconfig             |  7 +++++++
 net/9p/Makefile            |  5 ++++-
 net/9p/mod.c               | 41 ++++++++++++++++++++++++++++++--------
 net/9p/trans_fd.c          | 14 +++++++++++--
 net/9p/trans_rdma.c        |  1 +
 net/9p/trans_virtio.c      |  1 +
 net/9p/trans_xen.c         |  2 ++
 9 files changed, 67 insertions(+), 14 deletions(-)


base-commit: cc0356d6a02e064387c16a83cb96fe43ef33181e
-- 
2.33.1


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

end of thread, other threads:[~2022-01-10  6:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 19:38 [PATCH v2 0/4] net/9p: optimize transport module loading Thomas Weißschuh
2021-11-03 19:38 ` [PATCH v2 1/4] net/9p: autoload transport modules Thomas Weißschuh
2021-11-03 19:38 ` [PATCH v2 2/4] 9p/trans_fd: split into dedicated module Thomas Weißschuh
2022-01-10  0:57   ` Dominique Martinet
2022-01-10  6:42     ` Thomas Weißschuh
2021-11-03 19:38 ` [PATCH v2 3/4] 9p/xen: autoload when xenbus service is available Thomas Weißschuh
2021-11-03 19:38 ` [PATCH v2 4/4] net/p9: load default transports Thomas Weißschuh
2021-11-08 18:50   ` Thomas Weißschuh
2021-11-08 22:31     ` Dominique Martinet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).