Skip to content
Commit 180b0689 authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Allow multiple DMA tunnels over a single XDomain connection



Currently we have had an artificial limitation of a single DMA tunnel
per XDomain connection. However, hardware wise there is no such limit
and software based connection manager can take advantage of all the DMA
rings available on the host to establish tunnels.

For this reason make the tb_xdomain_[enable|disable]_paths() to take the
DMA ring and HopID as parameter instead of storing them in the struct
tb_xdomain. We also add API functions to allocate input and output
HopIDs of the XDomain connection that the service drivers can use
instead of hard-coding.

Also convert the two existing service drivers over to this API.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 5cfdd300
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment