diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2024-11-06 14:47:08 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-19 16:35:50 +0200 |
commit | c707d2c5541d2bb94131968ad5dfeb06427a1dba (patch) | |
tree | fb690589f58da3a4f856cdeb9334da404306324e /net/hsr/hsr_main.c | |
parent | d74b49bb6b3c39cd62632cf46d6f435fb3d0be0c (diff) |
net: hsr: Add VLAN CTAG filter support
[ Upstream commit 1a8a63a5305e95519de6f941922dfcd8179f82e5 ]
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>
Stable-dep-of: 8884c6939913 ("hsr: use rtnl lock when iterating over ports")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/hsr/hsr_main.c')
0 files changed, 0 insertions, 0 deletions