diff options
author | 2021-09-16 14:03:53 +0200 | |
---|---|---|
committer | 2021-09-16 19:06:36 -0700 | |
commit | 3ff26b29230c54fea2353b63124c589b61953e14 (patch) | |
tree | 427a43948573e68b38d85bedf56997b7774811c7 /net/ipv4/tcp_fastopen.c | |
parent | net: dsa: b53: Drop BCM5301x workaround for a wrong CPU/IMP port (diff) | |
download | wireguard-linux-3ff26b29230c54fea2353b63124c589b61953e14.tar.xz wireguard-linux-3ff26b29230c54fea2353b63124c589b61953e14.zip |
net: dsa: b53: Improve flow control setup on BCM5301x
According to the Broadcom's reference driver flow control needs to be
enabled for any CPU switch port (5, 7 or 8 - depending on which one is
used). Current code makes it work only for the port 5. Use
dsa_is_cpu_port() which solved that problem.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions