]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: reg: Add support for tunnel port in SPVID register
authorAmit Cohen <amcohen@nvidia.com>
Tue, 8 Dec 2020 09:22:43 +0000 (11:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Dec 2020 23:45:56 +0000 (15:45 -0800)
commit598874c8e9409b25377b9d07ee8124f6bbab4d86
treeedf2f2e8cad62ff895457f52db031a0e4ceb78b9
parentc1c32a79c5803e2eae356623a8c614eacf2ed7ef
mlxsw: reg: Add support for tunnel port in SPVID register

Add spvid_tport field which indicates if the port is tunnel port.
When spvid_tport is true, local_port field supposed to be tunnel port
type.

It will be used to configure which Ethertype will be used when VLAN is
pushed at ingress for tunnel port.

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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h