]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24667dc5040508ccb1019a226dca1da14916f874
tree67db01ac590126500d1443ffff1a7976d9c44295
parentbba33676db0c300737e32146109373dae80eafb8
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