net: ti: icssg-prueth: Add VLAN support for HSR mode
authorRavi Gunasekaran <r-gunasekaran@ti.com>
Wed, 6 Nov 2024 09:17:09 +0000 (14:47 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 00:40:44 +0000 (16:40 -0800)
commite6bf1f7aea4df918e5ee848d9f6b7ce63135b4be
treebead7feabb4b1bbac3e3f05d619142cc1de76269
parent1a8a63a5305e95519de6f941922dfcd8179f82e5
net: ti: icssg-prueth: Add VLAN support for HSR mode

Add support for VLAN addition/deletion in HSR mode.
In HSR mode, even if the host port is not a member of
the VLAN domain, the slave ports should simply forward the
frames. So allow forwarding of all VLAN frames in HSR mode.

Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://patch.msgid.link/20241106091710.3308519-4-danishanwar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/icssg/icssg_prueth.c