thunderbolt: Move nfc_credits field to struct tb_path_hop
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 10 Dec 2020 14:07:59 +0000 (16:07 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 1 Jun 2021 07:48:59 +0000 (10:48 +0300)
commit02c5e7c2db2bdfe227dd3e7f6febd732ccec5440
treecdf7d5d640ebc24500d27e388701103dcfe48bb3
parent1c561e4e659d59f1f2825dec42f09338eac1c774
thunderbolt: Move nfc_credits field to struct tb_path_hop

With the USB4 buffer allocation the number of credits (and non-flow
credits) may be different depending on the router buffer allocation
preferences. To allow this move the nfc_credits field to struct
tb_path_hop.

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