diff options
author | 2019-10-21 16:51:23 -0400 | |
---|---|---|
committer | 2019-10-22 12:37:07 -0700 | |
commit | c0b736282ccf6d9450f3bed55a134f2123a7a565 (patch) | |
tree | 9ea213a9537dd29484ba2edf38b590121957d65e /include/net/dsa.h | |
parent | net: dsa: use ports list to setup multiple master devices (diff) | |
download | wireguard-linux-c0b736282ccf6d9450f3bed55a134f2123a7a565.tar.xz wireguard-linux-c0b736282ccf6d9450f3bed55a134f2123a7a565.zip |
net: dsa: use ports list to find first CPU port
Use the new ports list instead of iterating over switches and their
ports when looking up the first CPU port in the tree.
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions