On Tue, May 18, 2021 at 05:09:54PM +0300, Mika Westerberg wrote: > Hi all, > > USB4 spec requires that routers expose their credit (buffer) allocation > preferences through a special router operation. Furthermore the Connection > Manager guide (as part of the USB4 spec bundle) provides some guidance how > the credits should be allocated between different tunneled protocols. This > series adds the credit allocation support for USB4 routers. For Intel > Thunderbolt 1-3 devices we keep using the existing hard-coded scheme. > > We also add some KUnit tests for the credit allocation. > > Mika Westerberg (8): > thunderbolt: Make tb_port_type() take const parameter > thunderbolt: Move nfc_credits field to struct tb_path_hop > thunderbolt: Wait for the lanes to actually bond > thunderbolt: Read router preferred credit allocation information > thunderbolt: Update port credits after bonding is enabled/disabled > thunderbolt: Allocate credits according to router preferences > thunderbolt: Add quirk for Intel Goshen Ridge DP credits > thunderbolt: Add KUnit tests for credit allocation All applied to thunderbolt.git/next.