netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/3] net: sparx5: add mrouter support
@ 2022-08-25  9:28 Casper Andersson
  2022-08-25  9:28 ` [PATCH v2 net-next 1/3] ethernet: Add helpers to recognize addresses mapped to IP multicast Casper Andersson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Casper Andersson @ 2022-08-25  9:28 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	netdev
  Cc: Horatiu Vultur, Lars Povlsen, Steen Hegelund, UNGLinuxDriver

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-29 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25  9:28 [PATCH v2 net-next 0/3] net: sparx5: add mrouter support Casper Andersson
2022-08-25  9:28 ` [PATCH v2 net-next 1/3] ethernet: Add helpers to recognize addresses mapped to IP multicast Casper Andersson
2022-08-25  9:28 ` [PATCH v2 net-next 2/3] net: sparx5: add list for mdb entries in driver Casper Andersson
2022-08-25  9:28 ` [PATCH v2 net-next 3/3] net: sparx5: add support for mrouter ports Casper Andersson
2022-08-29  9:20 ` [PATCH v2 net-next 0/3] net: sparx5: add mrouter support Steen Hegelund
2022-08-29 12:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).