summaryrefslogtreecommitdiffstats
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2021-01-08 15:25:39 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-03-18 16:25:31 +0100
commit180b0689425c6fb2b35e69a3316ee38371a782df (patch)
treebbfac79fc08f79f6f5ce66a584ed6c1ae1a127af /lib/usercopy.c
parentthunderbolt: Drop unused tb_port_set_initial_credits() (diff)
downloadlinux-180b0689425c6fb2b35e69a3316ee38371a782df.tar.xz
linux-180b0689425c6fb2b35e69a3316ee38371a782df.zip
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: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions