diff options
| author | Amit Cohen <amcohen@nvidia.com> | 2020-11-29 15:54:03 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-02 02:21:12 +0300 |
| commit | 773ce33a48602126499bd603b9c804f15bf8c730 (patch) | |
| tree | b365bd4cd447b5c0798e4caf6e77376f987dc362 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3ae7a65b6424154cb5d606ccae27ffd0ac76ed56 (diff) | |
| download | linux-773ce33a48602126499bd603b9c804f15bf8c730.tar.xz | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
