diff options
author | Amit Cohen <amcohen@nvidia.com> | 2020-12-08 11:22:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-12-08 15:45:56 -0800 |
commit | 0b5ec8f237382a5e85a68e7c44c38ced0823f0f5 (patch) | |
tree | 4675d97a8fe5bd37bbf4a5c3f43fe7822d0690dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4418096e843e062e95b8e9fe4d75e2b34c92f76c (diff) |
mlxsw: spectrum_nve_vxlan: Add support for Q-in-VNI for Spectrum-2 ASIC
On Spectrum-2, the default setting is not to push VLAN to the decapsulated
packet. This is controlled by SPVTR.ipvid_mode.
Set SPVTR.ipvid_mode to always push VLAN.
Without this setting, Spectrum-2 overtakes the VLAN tag of decapsulated
packet for bridging.
In addition, set SPVID register to use EtherType saved in
mlxsw_sp_nve_config when VLAN is pushed for the NVE tunnel.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions