]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add switch vlan bitmap functions
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 30 Nov 2017 16:23:59 +0000 (11:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 02:18:56 +0000 (21:18 -0500)
commit1c1480c28caef77a1f8bbf5717765e8e32364cb8
treeae24c2fba9fd22add3a0607e7e874778dc1f09c8
parent2506e248e7dfd663544121407cc6c5338e07305b
net: dsa: add switch vlan bitmap functions

This patch brings no functional changes.
It moves out the VLAN code iterating on a list of VLAN members into new
dsa_switch_vlan_{prepare,add}_bitmap() functions.

This gives us a better isolation of the two switchdev phases.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/switch.c