OSDN Git Service

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)
commit53f13319d13197dd1f4c8ce5fc1ef4c32509b4e2
treeacd975d0dfeec13293c2bea205b8378a40746d06
parent126764236e3557853c4208a70a08f5f69da8d897
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