]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: thunderbolt: Enable end-to-end flow control also in transmit
authorzhangjianrong <zhangjianrong5@huawei.com>
Sat, 28 Jun 2025 09:38:13 +0000 (17:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:22 +0000 (16:28 +0200)
commit99f142ec75dd4f83eec15d5249a44ab6b32efc7c
tree62662f4d3bd0e2fbc134ff6081be698ca036f948
parentbdd66b918215ff5f341868a5ac55ba7d8950f625
net: thunderbolt: Enable end-to-end flow control also in transmit

[ Upstream commit a8065af3346ebd7c76ebc113451fb3ba94cf7769 ]

According to USB4 specification, if E2E flow control is disabled for
the Transmit Descriptor Ring, the Host Interface Adapter Layer shall
not require any credits to be available before transmitting a Tunneled
Packet from this Transmit Descriptor Ring, so e2e flow control should
be enabled in both directions.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/20250624153805.GC2824380@black.fi.intel.com
Signed-off-by: zhangjianrong <zhangjianrong5@huawei.com>
Link: https://patch.msgid.link/20250628093813.647005-1-zhangjianrong5@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/thunderbolt/main.c