diff options
author | 2020-11-29 14:54:03 +0200 | |
---|---|---|
committer | 2020-12-01 15:21:12 -0800 | |
commit | 773ce33a48602126499bd603b9c804f15bf8c730 (patch) | |
tree | b365bd4cd447b5c0798e4caf6e77376f987dc362 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: Make EtherType configurable when pushing VLAN at ingress (diff) | |
download | wireguard-linux-773ce33a48602126499bd603b9c804f15bf8c730.tar.xz wireguard-linux-773ce33a48602126499bd603b9c804f15bf8c730.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions