All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Plug the last 2 holes in the switchdev notifiers for local FDB entries
@ 2021-07-28 18:27 Vladimir Oltean
  2021-07-28 18:27 ` [PATCH net-next 1/2] net: bridge: switchdev: replay the entire FDB for each port Vladimir Oltean
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Oltean @ 2021-07-28 18:27 UTC (permalink / raw)
  To: netdev, Jakub Kicinski, David S. Miller
  Cc: Florian Fainelli, Andrew Lunn, Vivien Didelot, Ido Schimmel,
	Jiri Pirko, Roopa Prabhu, Nikolay Aleksandrov, Tobias Waldekranz

The work for trapping local FDB entries to the CPU in switchdev/DSA
started with the "RX filtering in DSA" series:
https://patchwork.kernel.org/project/netdevbpf/cover/20210629140658.2510288-1-olteanv@gmail.com/
and was continued with further improvements such as "Fan out FDB entries
pointing towards the bridge to all switchdev member ports":
https://patchwork.kernel.org/project/netdevbpf/cover/20210719135140.278938-1-vladimir.oltean@nxp.com/
https://patchwork.kernel.org/project/netdevbpf/cover/20210720173557.999534-1-vladimir.oltean@nxp.com/

There are only 2 more issues left to be addressed (famous last words),
and these are:
- dynamically learned FDB entries towards interfaces foreign to DSA need
  to be replayed too
- adding/deleting a VLAN on a port causes the local FDB entries in that
  VLAN to be prematurely deleted

This patch series addresses both, and patch 2 depends on 1 to work properly.

Vladimir Oltean (2):
  net: bridge: switchdev: replay the entire FDB for each port
  net: bridge: switchdev: treat local FDBs the same as entries towards
    the bridge

 net/bridge/br_fdb.c       | 24 +++++++-----------------
 net/bridge/br_private.h   |  4 ++--
 net/bridge/br_switchdev.c | 16 +++-------------
 3 files changed, 12 insertions(+), 32 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-07-28 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 18:27 [PATCH net-next 0/2] Plug the last 2 holes in the switchdev notifiers for local FDB entries Vladimir Oltean
2021-07-28 18:27 ` [PATCH net-next 1/2] net: bridge: switchdev: replay the entire FDB for each port Vladimir Oltean
2021-07-28 18:27 ` [PATCH net-next 2/2] net: bridge: switchdev: treat local FDBs the same as entries towards the bridge Vladimir Oltean
2021-07-28 19:30 ` [PATCH net-next 0/2] Plug the last 2 holes in the switchdev notifiers for local FDB entries patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.