[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220825092837.907135-1-casper.casan@gmail.com>
Date: Thu, 25 Aug 2022 11:28:34 +0200
From: Casper Andersson <casper.casan@...il.com>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: Horatiu Vultur <horatiu.vultur@...rochip.com>,
Lars Povlsen <lars.povlsen@...rochip.com>,
Steen Hegelund <Steen.Hegelund@...rochip.com>,
UNGLinuxDriver@...rochip.com
Subject: [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(-)
--
2.34.1
Powered by blists - more mailing lists