diff options
author | 2017-09-29 17:19:20 -0400 | |
---|---|---|
committer | 2017-10-01 04:15:07 +0100 | |
commit | 2f657a600409f1961d67642fe384a9d4be71d36a (patch) | |
tree | ff755adac80edd80aa72ab7323e15dd77ee03ebc /net/ipv4/tcp_fastopen.c | |
parent | net: dsa: prepare master receive hot path (diff) | |
download | wireguard-linux-2f657a600409f1961d67642fe384a9d4be71d36a.tar.xz wireguard-linux-2f657a600409f1961d67642fe384a9d4be71d36a.zip |
net: dsa: change dsa_ptr for a dsa_port
With DSA, a master net device (CPU facing interface) has a dsa_ptr
pointer to which hangs a dsa_switch_tree. This is not correct because a
master interface is wired to a dedicated switch port, and because we can
theoretically have several master interfaces pointing to several CPU
ports of the same switch fabric.
Change the master interface's dsa_ptr for the CPU dsa_port pointer.
This is a step towards supporting multiple CPU ports.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions