]> git.baikalelectronics.ru Git - kernel.git/commit
net: sparx5: Allow mdb entries to both CPU and ports
authorCasper Andersson <casper.casan@gmail.com>
Tue, 14 Jun 2022 09:25:32 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2022 12:01:26 +0000 (13:01 +0100)
commit9597552d3cd9d771233faebb04c126a19b92e956
treec937f4916c372710014ccb5253a62931af4318ba
parentf2098a7b9de362f44c93cd0b285cff09db784fcb
net: sparx5: Allow mdb entries to both CPU and ports

Allow mdb entries to be forwarded to CPU and be switched at the same
time. Only remove entry when no port and the CPU isn't part of the group
anymore.

Signed-off-by: Casper Andersson <casper.casan@gmail.com>
Acked-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c