Skip to content

net/9p: optimize transport module loading

Thomas Weißschuh lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v11 patch 10 repliesSuperseded

Changes in v2 from the cover letter

( https://lore.kernel.org/netdev/[email protected]/ )

* 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/9p: autoload transport modulesinclude/net/9p/transport.h net/9p/mod.c net/9p/trans_rdma.c +2 more+34 -70 replies
2/49p/trans_fd: split into dedicated moduleinclude/net/9p/9p.h net/9p/Kconfig net/9p/Makefile +2 more+23 -72 replies
3/49p/xen: autoload when xenbus service is availablenet/9p/trans_xen.c+1 -00 replies
4/4net/p9: load default transportsnet/9p/mod.c+9 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] net/9p: optimize transport module loading

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/[email protected]/ )

* 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

Signature · 1 line
2.33.1