thunderbolt: Add support for DMA tunnels
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 28 Sep 2018 13:35:32 +0000 (16:35 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:53 +0000 (11:18 +0300)
commit44242d6c9703208e7e7abd6b4dbb258a930dd01a
treee6705e5cbff04126399d3ebb8a8a4677b9aa8ce1
parent3b4b3235ca5bf1b69ff15a269d9881b2604dd4fa
thunderbolt: Add support for DMA tunnels

In addition to PCIe and Display Port tunnels it is also possible to
create tunnels that forward DMA traffic from the host interface adapter
(NHI) to a NULL port that is connected to another domain through a
Thunderbolt cable. These tunnels can be used to carry software messages
such as networking packets.

To support this we introduce another tunnel type (TB_TUNNEL_DMA) that
supports paths from NHI to NULL port and back.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/path.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/tunnel.c
drivers/thunderbolt/tunnel.h