• Mika Westerberg's avatar
    thunderbolt: Make tb_next_port_on_path() work with tree topologies · 69eb79f7
    Mika Westerberg authored
    USB4 makes it possible to have tree topology of devices connected in the
    same way than USB3. This was actually possible in Thunderbolt 1, 2 and 3
    as well but all the available devices only had two ports which allows
    building only daisy-chains of devices.
    
    With USB4 it is possible for example that there is DP IN adapter as part
    of eGPU device router and that should be tunneled over the tree topology
    to a DP OUT adapter. This updates the tb_next_port_on_path() to support
    such topologies.
    Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
    69eb79f7
switch.c 64.3 KB