public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: dsa: push switchdev prepare phase in FDB ops
@ 2015-10-08 15:35 Vivien Didelot
  2015-10-08 15:35 ` [PATCH net-next v2 1/3] net: dsa: add port_fdb_prepare Vivien Didelot
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Vivien Didelot @ 2015-10-08 15:35 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Scott Feldman, Jiri Pirko,
	Florian Fainelli, Andrew Lunn, Vivien Didelot

This patchset pushes the switchdev prepare phase for the FDB add and del
operations down to the DSA drivers. Currently only mv88e6xxx is affected.

Since the dump requires a bit of refactoring in the driver, it'll come in a
future patchset.

Changes in v2:
 * forward declare switchdev structs instead of fixing the dsa.h include.

Vivien Didelot (3):
  net: dsa: add port_fdb_prepare
  net: dsa: push prepare phase in port_fdb_add
  net: dsa: use switchdev obj in port_fdb_del

 drivers/net/dsa/mv88e6171.c |  1 +
 drivers/net/dsa/mv88e6352.c |  1 +
 drivers/net/dsa/mv88e6xxx.c | 24 ++++++++++++++++++------
 drivers/net/dsa/mv88e6xxx.h |  8 ++++++--
 include/net/dsa.h           | 11 +++++++++--
 net/dsa/slave.c             | 11 +++++++----
 6 files changed, 42 insertions(+), 14 deletions(-)

-- 
2.6.0

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

end of thread, other threads:[~2015-10-11 12:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 15:35 [PATCH net-next v2 0/3] net: dsa: push switchdev prepare phase in FDB ops Vivien Didelot
2015-10-08 15:35 ` [PATCH net-next v2 1/3] net: dsa: add port_fdb_prepare Vivien Didelot
2015-10-08 15:48   ` Jiri Pirko
2015-10-08 15:35 ` [PATCH net-next v2 2/3] net: dsa: push prepare phase in port_fdb_add Vivien Didelot
2015-10-08 15:48   ` Jiri Pirko
2015-10-08 15:35 ` [PATCH net-next v2 3/3] net: dsa: use switchdev obj in port_fdb_del Vivien Didelot
2015-10-08 15:48   ` Jiri Pirko
2015-10-11 12:29 ` [PATCH net-next v2 0/3] net: dsa: push switchdev prepare phase in FDB ops David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox