mlxsw: reg: Add et_vlan field to SPVID register
authorAmit Cohen <amcohen@nvidia.com>
Sun, 29 Nov 2020 12:54:00 +0000 (14:54 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 23:21:12 +0000 (15:21 -0800)
commit2a5a290d6d941ad51ce78314d5fcd76c1f9184a8
tree3c45b33f4ea5e2a8e890cc67eaa4134715d77aa7
parent7e9a6620d5c3a9ac048d2cb5d1d116385ef31877
mlxsw: reg: Add et_vlan field to SPVID register

et_vlan field is used to configure which EtherType is used when VLAN is
pushed at ingress (for untagged packets or for QinQ push mode).

It will be used to configure tagging with ether_type1 (i.e., 0x88A8) for
QinQ mode.

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: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/reg.h