Florian Fainelli 3cc9f2573c net: dsa: Introduce dsa_get_cpu_port()
Introduce a helper function which will return a reference to the CPU
port used in a dsa_switch_tree. Right now this is a singleton, but this
will change once we introduce multi-CPU port support, so ease the
transition by converting the affected code paths.

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-13 16:35:03 -04:00
..
2017-04-12 22:02:40 +02:00
2017-05-19 15:06:48 -07:00
2017-06-12 10:01:29 -04:00
2017-05-17 16:06:01 -04:00
2017-04-13 13:58:20 -04:00
2016-10-20 11:23:08 -04:00
2017-06-01 11:49:39 -04:00
2017-06-13 13:54:03 -04:00
2017-04-06 12:43:04 -07:00