diff options
author | Amit Cohen <amcohen@nvidia.com> | 2020-11-29 14:54:03 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-01 15:21:12 -0800 |
commit | 773ce33a48602126499bd603b9c804f15bf8c730 (patch) | |
tree | b365bd4cd447b5c0798e4caf6e77376f987dc362 /net/sctp/objcnt.c | |
parent | 3ae7a65b6424154cb5d606ccae27ffd0ac76ed56 (diff) |
mlxsw: spectrum_switchdev: Create common functions for VLAN-aware bridge
The code in mlxsw_sp_bridge_8021q_port_{join, leave}() can be used also
for 802.1ad bridge.
Move the code to functions called
mlxsw_sp_bridge_vlan_aware_port_{join, leave}() and call them from
mlxsw_sp_bridge_8021q_port_{join, leave}() respectively to enable code
reuse.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sctp/objcnt.c')
0 files changed, 0 insertions, 0 deletions