Re: [PATCH net-next v2 1/6] net: dsa: add port_fdb_dump function

2015-10-14 Thread Florian Fainelli
On 13/10/15 09:46, Vivien Didelot wrote: > Not all switch chips support a Get Next operation to iterate on its FDB. > So add a more simple port_fdb_dump function for them. > > Signed-off-by: Vivien Didelot Acked-by: Florian Fainelli -- Florian -- To unsubscribe from this list: send the line "u

Re: [PATCH net-next v2 1/6] net: dsa: add port_fdb_dump function

2015-10-14 Thread David Miller
From: Vivien Didelot Date: Tue, 13 Oct 2015 12:46:18 -0400 > @@ -198,7 +198,9 @@ static inline u8 dsa_upstream_port(struct dsa_switch *ds) > } > > struct switchdev_trans; > +struct switchdev_obj; > struct switchdev_obj_port_fdb; > +typedef int switchdev_obj_dump_cb_t(struct switchdev_obj *ob

[PATCH net-next v2 1/6] net: dsa: add port_fdb_dump function

2015-10-13 Thread Vivien Didelot
Not all switch chips support a Get Next operation to iterate on its FDB. So add a more simple port_fdb_dump function for them. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 5 + net/dsa/slave.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/include/net/dsa.h b/include/net/