mlxsw: reg: Add Switch Port Egress VLAN EtherType Register
authorAmit Cohen <amcohen@nvidia.com>
Wed, 17 Mar 2021 10:35:24 +0000 (12:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2021 19:26:28 +0000 (12:26 -0700)
commitd8f4da73cea7438d95c6d6a54ec0a76dbccac02e
tree67db01ac590126500d1443ffff1a7976d9c44295
parent1b35293b7afc5bdd6731502c6bba11a04a71512a
mlxsw: reg: Add Switch Port Egress VLAN EtherType Register

SPEVET configures which EtherType to push at egress for packets incoming
through a local port for which 'SPVID.egr_et_set' is set.

The next patches will use SPEVET to configure EtherType 0x88A8 and
0x8100 for local ports member in 802.1ad and 802.1q bridges,
respectively. This allows 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