commit | 7cbc4277c7e079dc941fb57c823aacb79160d14b | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Tue May 16 19:38:33 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 17 14:06:54 2017 -0400 |
tree | cc5f29bd0b1d6cd67bd1b3e2645b7927c3852702 | |
parent | 45bfe6b433e0b8c2528784360dbd390ffaea3c70 [diff] |
mlxsw: spectrum_switchdev: Don't batch learning operations We no longer batch VLAN operations, so there's no need to set the learning state for a range of VLANs. Use a common function to set the learning state for a Port-VLAN, thereby making the code saner more receptive for upcoming changes. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>