Skip to content

thunderbolt: Introduce USB4STREAM coupling

Mika Westerberg linux-usb 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9thunderbolt: Add and remove XDomain services outside of the state workdrivers/thunderbolt/xdomain.c include/linux/thunderbolt.h+44 -140 replies
2/9thunderbolt: Unregister XDomains when the domain is removeddrivers/thunderbolt/domain.c drivers/thunderbolt/xdomain.c include/linux/thunderbolt.h+38 -10 replies
3/9thunderbolt: stream: Keep better track of the HopIDsdrivers/thunderbolt/stream.c+53 -240 replies
4/9thunderbolt: stream: Validate the ConfigFS group name more strictlydrivers/thunderbolt/stream.c+12 -40 replies
5/9thunderbolt: Allow DMA tunnel also between two lane adaptersdrivers/thunderbolt/tb.c drivers/thunderbolt/test.c drivers/thunderbolt/tunnel.c +1 more+194 -1520 replies
6/9thunderbolt: Add KUnit tests for lane to lane DMA tunnelsdrivers/thunderbolt/test.c+408 -00 replies
7/9thunderbolt: Add tb_xdomains_enable_paths() and tb_xdomains_disable_paths()drivers/thunderbolt/domain.c drivers/thunderbolt/icm.c drivers/thunderbolt/tb.c +3 more+291 -1210 replies
8/9thunderbolt: stream: Introduce USB4STREAM couplingDocumentation/ABI/testing/configfs-thunderbolt_stream drivers/thunderbolt/stream.c+960 -100 replies
9/9Documentation: thunderbolt: Document USB4STREAM couplingDocumentation/admin-guide/thunderbolt.rst+119 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] thunderbolt: Introduce USB4STREAM coupling

Hi all,

This series makes it possible to "couple" streams through host or device router lane adapters. For example we can have topology like this:

host1 <-USB4/TB cable-> host2 <-USB4/TB cable-> host3

You can already forward stream from host1 to host3 through host2 using dd or similar but we can also make direct tunnel through the host2 host router. This does not consume CPU cycles of the host2. Same can be done if there is a device router where the hosts are connected. It will take the shortest path.

The first patches are fixes that the rest of the series needs. The usage steps are in the last patch.

This applies on top of my "shared buffer" series here:

https://lore.kernel.org/linux-usb/[email protected]/

Mika Westerberg (Intel) (9):
thunderbolt: Add and remove XDomain services outside of the state work
thunderbolt: Unregister XDomains when the domain is removed
thunderbolt: stream: Keep better track of the HopIDs
thunderbolt: stream: Validate the ConfigFS group name more strictly
thunderbolt: Allow DMA tunnel also between two lane adapters
thunderbolt: Add KUnit tests for lane to lane DMA tunnels
thunderbolt: Add tb_xdomains_enable_paths() and tb_xdomains_disable_paths()
thunderbolt: stream: Introduce USB4STREAM coupling
Documentation: thunderbolt: Document USB4STREAM coupling

 .../ABI/testing/configfs-thunderbolt_stream   |  82 ++
 Documentation/admin-guide/thunderbolt.rst     | 119 +++
 drivers/thunderbolt/domain.c                  | 104 +-
 drivers/thunderbolt/icm.c                     |  49 +-
 drivers/thunderbolt/stream.c                  | 971 +++++++++++++++++-
 drivers/thunderbolt/tb.c                      | 150 +--
 drivers/thunderbolt/tb.h                      |  28 +-
 drivers/thunderbolt/test.c                    | 558 ++++++++--
 drivers/thunderbolt/tunnel.c                  | 171 +--
 drivers/thunderbolt/tunnel.h                  |  14 +-
 drivers/thunderbolt/xdomain.c                 | 163 ++-
 include/linux/thunderbolt.h                   |  14 +
 12 files changed, 2108 insertions(+), 315 deletions(-)
Signature · 1 line
2.50.1