mlxsw: reg: Add egr_et_set field to SPVID
authorAmit Cohen <amcohen@nvidia.com>
Wed, 17 Mar 2021 10:35:23 +0000 (12:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2021 19:26:28 +0000 (12:26 -0700)
commit1b35293b7afc5bdd6731502c6bba11a04a71512a
treeb99020882d4bc77a3c2e95c0ff92cd24f9edcd1b
parent07bcf6855184a1ceb09e1dedc57a603aefe4978e
mlxsw: reg: Add egr_et_set field to SPVID

SPVID.egr_et_set=1 means that when VLAN is pushed at ingress (for untagged
packets or for QinQ push mode) then the EtherType is decided at the egress
port.

The next patches will use this field for VxLAN devices (tunnel port) in
order to allow using dual VxLAN bridges (802.1d and 802.1ad at the same
time).

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h