]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Only treat 802.1q packets as tagged packets
authorAmit Cohen <amcohen@nvidia.com>
Sun, 29 Nov 2020 12:54:01 +0000 (14:54 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 23:21:12 +0000 (15:21 -0800)
commitdda1e45cddb5d9f770da6bc83f9a11b4e03168f2
treeceeb4adbdad5a1cfde9639b10ab420f78b8db465
parentb958e8d69841aacef999b2ec4044348b54ccafde
mlxsw: spectrum: Only treat 802.1q packets as tagged packets

By default, the device considers both 802.1ad and 802.1q packets as tagged,
but this is not supported by the driver. It only supports VLAN and bridge
devices that use 802.1q protocol.

Instead, configure the device to only treat 802.1q packets as tagged
packets.

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/spectrum.c