commit | 3b7ad5ece49fe72498b50d28253fd39daead1e14 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Thu Nov 19 12:27:39 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 20 11:06:03 2015 -0500 |
tree | d1e1996a6bb675aa1a0cd4db89d4bc8567f9b225 | |
parent | 06c071f68d8123bef0f152e5d2c7272920597a7e [diff] |
mlxsw: spectrum: Unify setting of HW VLAN filters When adding or deleting VLANs from a bridged port, HW VLAN filters must be set accordingly. Instead of having the same code in both add and delete functions, just wrap it in a function and call it with the appropriate parameters. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>