Skip to content

net: sparx5: add mrouter support

Casper Andersson netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- add bailout in free_mdb
- re-arrange mdb struct to avoid holes
- change devm_kzalloc -> kzalloc
- change GFP_ATOMIC -> GFP_KERNEL
- fix spelling

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3ethernet: Add helpers to recognize addresses mapped to IP multicastinclude/linux/etherdevice.h+22 -00 repliesApplied
2/3net: sparx5: add list for mdb entries in driverdrivers/net/ethernet/microchip/sparx5/sparx5_main.c drivers/net/ethernet/microchip/sparx5/sparx5_main.h drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c+132 -820 repliesApplied
3/3net: sparx5: add support for mrouter portsdrivers/net/ethernet/microchip/sparx5/sparx5_main.c drivers/net/ethernet/microchip/sparx5/sparx5_main.h drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c +1 more+80 -70 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteen Hegelund
SeriesR-b
1/3
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/3] net: sparx5: add mrouter support

This series adds support for multicast router ports to SparX5. To manage mrouter ports the driver must keep track of mdb entries. When adding an mrouter port the driver has to iterate over all mdb entries and modify them accordingly.

v2:
- add bailout in free_mdb
- re-arrange mdb struct to avoid holes
- change devm_kzalloc -> kzalloc
- change GFP_ATOMIC -> GFP_KERNEL
- fix spelling

Casper Andersson (3):
ethernet: Add helpers to recognize addresses mapped to IP multicast
net: sparx5: add list for mdb entries in driver
net: sparx5: add support for mrouter ports

 .../ethernet/microchip/sparx5/sparx5_main.c   |   4 +
 .../ethernet/microchip/sparx5/sparx5_main.h   |  15 +
 .../microchip/sparx5/sparx5_switchdev.c       | 271 ++++++++++++------
 .../ethernet/microchip/sparx5/sparx5_vlan.c   |   7 +
 include/linux/etherdevice.h                   |  22 ++
 5 files changed, 232 insertions(+), 87 deletions(-)
Signature · 1 line
2.34.1