net: sparx5: add mrouter support
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
- v2 Latest3 patches 1 replyApplied 3/3
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ethernet: Add helpers to recognize addresses mapped to IP multicastinclude/ | +22 | 0 replies | Applied |
| 2/3 | net: sparx5: add list for mdb entries in driverdrivers/ drivers/ drivers/ | +132 | 0 replies | Applied |
| 3/3 | net: sparx5: add support for mrouter portsdrivers/ drivers/ drivers/ +1 more | +80 | 0 replies | Applied |
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.
| Patch | Steen Hegelund |
|---|---|
| Series | R-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.
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