[PATCH net-next v2 0/3] Add Multicast Filtering support for VLAN interface
From: MD Danish Anwar
Date: Mon Dec 23 2024 - 05:30:58 EST
This series adds Multicast filtering support for VLAN interfaces in dual
EMAC and HSR offload mode for ICSSG driver.
Patch 1/3 - Adds support for VLAN in dual EMAC mode
Patch 2/3 - Adds MC filtering support for VLAN in dual EMAC mode
Patch 3/3 - Adds MC filtering support for VLAN in HSR mode
Changes from v1 to v2:
*) Changed netdev_err to netdev_dbg in emac_ndo_vlan_rx_del_vid() in patch 1/3
as suggested by Michal Swiatkowski <michal.swiatkowski@xxxxxxxxxxxxxxx>
*) Dropped patch [1] from previous version as the patch created issue [2].
Will send out a separate patch to set HSR=m in arch/arm64/configs/defconfig.
Once the defconfig patch gets merged, I will add `depends on HSR` in Kconfig
for TI_ICSSG_PRUETH as suggested by Larysa Zaremba <larysa.zaremba@xxxxxxxxx>
[1] https://lore.kernel.org/all/20241216100044.577489-2-danishanwar@xxxxxx/
[2] https://lore.kernel.org/all/202412210336.BmgcX3Td-lkp@xxxxxxxxx/#t
v1 https://lore.kernel.org/all/20241216100044.577489-1-danishanwar@xxxxxx/
MD Danish Anwar (3):
net: ti: icssg-prueth: Add VLAN support in EMAC mode
net: ti: icssg-prueth: Add Multicast Filtering support for VLAN in MAC
mode
net: ti: icssg-prueth: Add Support for Multicast filtering with VLAN
in HSR mode
drivers/net/ethernet/ti/icssg/icssg_prueth.c | 175 ++++++++++++++-----
drivers/net/ethernet/ti/icssg/icssg_prueth.h | 8 +
include/linux/if_hsr.h | 18 ++
include/linux/netdevice.h | 3 +
net/core/dev_addr_lists.c | 7 +-
net/hsr/hsr_device.c | 13 ++
net/hsr/hsr_main.h | 9 -
7 files changed, 174 insertions(+), 59 deletions(-)
base-commit: ae418e95dd930df6543107521c5ce55e379a9530
--
2.34.1