diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-05-11 12:50:16 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-12 16:38:54 -0700 |
commit | 465c3de42b5dcdf0fa8cf996a81de6ba0e8553a3 (patch) | |
tree | 2d2dbd5e9f92477cbf41d92464bcc13d743eb5f0 /net/dsa | |
parent | 910ee6cce92fc0d0c459967ac95902d7bf3e41bf (diff) | |
download | linux-465c3de42b5dcdf0fa8cf996a81de6ba0e8553a3.tar.bz2 |
net: dsa: introduce the dsa_cpu_ports() helper
Similar to dsa_user_ports() which retrieves a port mask of all user
ports, introduce dsa_cpu_ports() which retrieves the mask of all CPU
ports of a switch.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions