]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: hsr: Add VLAN CTAG filter support
authorMurali Karicheri <m-karicheri2@ti.com>
Wed, 6 Nov 2024 09:17:08 +0000 (14:47 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 00:40:44 +0000 (16:40 -0800)
commit1a8a63a5305e95519de6f941922dfcd8179f82e5
tree6787246b2df357f706c738541e21a703aa1dcc32
parentd977d7eb09fed1e809074a467a01473f1855657d
net: hsr: Add VLAN CTAG filter support

This patch adds support for VLAN ctag based filtering at slave devices.
The slave ethernet device may be capable of filtering ethernet packets
based on VLAN ID. This requires that when the VLAN interface is created
over an HSR/PRP interface, it passes the VID information to the
associated slave ethernet devices so that it updates the hardware
filters to filter ethernet frames based on VID. This patch adds the
required functions to propagate the vid information to the slave
devices.

Signed-off-by: Murali Karicheri <m-karicheri2@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-3-danishanwar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/hsr/hsr_device.c