Skip to content

Add Multicast Filtering support for VLAN interface

MD Danish Anwar linux-arm-kernel lkml netdev 4 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesApplied 4/4
  2. v33 patches 9 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches10 repliesSuperseded

Changes in v4 from the cover letter

*) Added RB tag of Roger Quadros <[email protected]> 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 <[email protected]>.
*) 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 <[email protected]>
*) 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 <[email protected]>

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: ti: icssg-prueth: Add VLAN support in EMAC modedrivers/net/ethernet/ti/icssg/icssg_prueth.c+13 -160 repliesApplied
2/4net: ti: icssg-prueth: Add Multicast Filtering support for VLAN in MAC modedrivers/net/ethernet/ti/icssg/icssg_prueth.c drivers/net/ethernet/ti/icssg/icssg_prueth.h include/linux/netdevice.h +1 more+66 -170 repliesApplied
3/4net: hsr: Create and export hsr_get_port_ndev()include/linux/if_hsr.h net/hsr/hsr_device.c net/hsr/hsr_main.h+30 -90 repliesApplied
4/4net: ti: icssg-prueth: Add Support for Multicast filtering with VLAN in HSR modedrivers/net/ethernet/ti/icssg/icssg_prueth.c drivers/net/ethernet/ti/icssg/icssg_prueth.h+66 -190 repliesApplied

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRoger Quadros
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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 <[email protected]> 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 <[email protected]>.
*) 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 <[email protected]>
*) 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 <[email protected]>

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 <[email protected]> *) 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 <[email protected]>

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/#t
[3] https://lore.kernel.org/all/[email protected]/
v1 https://lore.kernel.org/all/[email protected]/
v2 https://lore.kernel.org/all/[email protected]/
v3 https://lore.kernel.org/all/[email protected]/

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

Signature · 1 line
2.34.1