]> www.infradead.org Git - users/hch/configfs.git/commit
net: hsr: Add support for MC filtering at the slave device
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 21 Nov 2023 05:37:53 +0000 (11:07 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Nov 2023 10:51:32 +0000 (10:51 +0000)
commit36b20fcdd9663ced36d3aef96f0eff8eb79de4b8
treede887ecb731c0ec585e5affd158ca6b9aa84505e
parent53475287dad9b314ef477fc9a27b48b6999da053
net: hsr: Add support for MC filtering at the slave device

When MC (multicast) list is updated by the networking layer due to a
user command and as well as when allmulti flag is set, it needs to be
passed to the enslaved Ethernet devices. This patch allows this
to happen by implementing ndo_change_rx_flags() and ndo_set_rx_mode()
API calls that in turns pass it to the slave devices using
existing API calls.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c