summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/xdomain.c
diff options
context:
space:
mode:
authorMika Westerberg2017-02-19 15:57:27 +0100
committerMika Westerberg2019-04-18 10:18:52 +0200
commit0b2863ac3cfdea2e0e27f9e722d178efb367e4db (patch)
tree794889b3c010be2d8d7070761953adb81369622f /drivers/thunderbolt/xdomain.c
parentthunderbolt: Generalize tunnel creation functionality (diff)
downloadkernel-qcow2-linux-0b2863ac3cfdea2e0e27f9e722d178efb367e4db.tar.gz
kernel-qcow2-linux-0b2863ac3cfdea2e0e27f9e722d178efb367e4db.tar.xz
kernel-qcow2-linux-0b2863ac3cfdea2e0e27f9e722d178efb367e4db.zip
thunderbolt: Add functions for allocating and releasing HopIDs
Each port has a separate path configuration space that is used for finding the next hop (switch) in the path. HopID is an index to this configuration space. HopIDs 0 - 7 are reserved by the protocol. In order to get next available HopID for each direction we provide two pairs of helper functions that can be used to allocate and release HopIDs for a given port. While there remove obsolete TODO comment. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/xdomain.c')
0 files changed, 0 insertions, 0 deletions