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
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
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/