diff options
| author | Amit Cohen <amcohen@nvidia.com> | 2020-12-08 12:22:49 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-12-09 02:45:56 +0300 |
| commit | 7e9c72a5da84cc63c76fa2b451eaa402aa0a0384 (patch) | |
| tree | 6d00ea31db9248763dc508a8fefd9abdfc5a2cfb /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 0b5ec8f237382a5e85a68e7c44c38ced0823f0f5 (diff) | |
| download | linux-7e9c72a5da84cc63c76fa2b451eaa402aa0a0384.tar.xz | |
mlxsw: spectrum_switchdev: Use ops->vxlan_join() when adding VLAN to VxLAN device
Currently mlxsw_sp_switchdev_vxlan_vlan_add() always calls
mlxsw_sp_bridge_8021q_vxlan_join() because VLANs were only ever added to
a VLAN-filtering bridge, which is only 802.1q bridge.
This set adds support for VxLAN with 802.1ad bridge, so VLAN-filtering
bridge is not only 802.1q.
Call ops->vxlan_join(), so mlxsw_sp_bridge_802{1q, 1ad}_vxlan_join()
will be called according to bridge type.
This is needed to ensure that VxLAN with 802.1ad bridge will be vetoed
in Spectrum-1 with the next patch.
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
