mbox series

[net-next,v4,0/4] Add Multicast Filtering support for VLAN interface

Message ID 20250110082852.3899027-1-danishanwar@ti.com (mailing list archive)
Headers show
Series Add Multicast Filtering support for VLAN interface | expand

Message

MD Danish Anwar Jan. 10, 2025, 8:28 a.m. UTC
This series adds Multicast filtering support for VLAN interfaces in dual
EMAC and HSR offload mode for ICSSG driver.

Patch 1/4 - Adds support for VLAN in dual EMAC mode
Patch 2/4 - Adds MC filtering support for VLAN in dual EMAC mode
Patch 3/4 - Create and export hsr_get_port_ndev() in hsr_device.c
Patch 4/4 - Adds MC filtering support for VLAN in HSR mode

Changes from v3 to v4:
*) Added RB tag of Roger Quadros <rogerq@kernel.org> to patch 1/4 and addressed
his comment on the same patch.
*) Created a separate patch (Patch 4) for hsr core changes in Patch [3] as
suggested by Roger Quadros <rogerq@kernel.org>.
*) Added details on why __hw_addr_sync_multiple() is used and exported instead
of using __hw_addr_sync() in the commit message of Patch 2/4 as suggested by
Paolo Abeni <pabeni@redhat.com>
*) Added details on why __hw_addr_sync_dev() is used on the local list instead
of using __dev_mc_sync() on the vdev, in the commit message of Patch 2/4 as
suggested by Paolo Abeni <pabeni@redhat.com>

Changes from v2 to v3:
*) Rebased on latest net-next and re-spun the series as net-next is now open.
*) No functional change.

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@linux.intel.com>
*) 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@intel.com>

[1] https://lore.kernel.org/all/20241216100044.577489-2-danishanwar@ti.com/
[2] https://lore.kernel.org/all/202412210336.BmgcX3Td-lkp@intel.com/#t
[3] https://lore.kernel.org/all/31bb8a3e-5a1c-4c94-8c33-c0dfd6d643fb@kernel.org/
v1 https://lore.kernel.org/all/20241216100044.577489-1-danishanwar@ti.com/
v2 https://lore.kernel.org/all/20241223092557.2077526-1-danishanwar@ti.com/
v3 https://lore.kernel.org/all/20250103092033.1533374-1-danishanwar@ti.com/


MD Danish Anwar (4):
  net: ti: icssg-prueth: Add VLAN support in EMAC mode
  net: ti: icssg-prueth: Add Multicast Filtering support for VLAN in MAC
    mode
  net: hsr: Create and export hsr_get_port_ndev()
  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                       |  17 ++
 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, 173 insertions(+), 59 deletions(-)


base-commit: 25cc469d6d344f5772e9fb6a5cf9d82a690afe68