]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Get rid of E2E workaround
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 9 Jun 2020 15:10:39 +0000 (18:10 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jun 2020 16:58:06 +0000 (19:58 +0300)
commit83828e59624b223177e1a6cc5c90539c44413cda
treeacd975d0dfeec13293c2bea205b8378a40746d06
parente90595f97d311c6835978b34d6f58a0b56bb0ba7
thunderbolt: Get rid of E2E workaround

The end-to-end (E2E) workaround is needed for Falcon Ridge (TBT 2)
controller when E2E is enabled for both ends of the host-to-host
connection. However, we never supported full E2E in the first place so
this code is not necessary at the moment. Further this allows us to use
all available rings for data except ring 0 which is reserved for the
control path.

The complete E2E flow control is explained in the USB4 spec so we may
add it back later if needed but at least the networking driver seems to
work fine without, and the higher level stack, like TCP will retransmit
lost packets anyway.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/net/thunderbolt.c
drivers/thunderbolt/nhi.c
include/linux/thunderbolt.h