]> 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)
commitd910bee076e7d9edb28d3f93344f4e9d572fd206
tree67db01ac590126500d1443ffff1a7976d9c44295
parent223cdfbc77522ad818238e3e7150e867e7f86b9b
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