> static int hellcreek_setup_devlink_regions(struct dsa_switch *ds)
> {
> struct hellcreek *hellcreek = ds->priv;
> struct devlink_region_ops *ops;
> struct devlink_region *region;
> u64 size;
> + int ret;
>
> + /* VLAN table */
> size = VLAN_N_VID * sizeof
Allow to dump the FDB table via devlink. This is a useful debugging feature.
Signed-off-by: Kurt Kanzenbach
---
drivers/net/dsa/hirschmann/hellcreek.c | 63 ++
drivers/net/dsa/hirschmann/hellcreek.h | 1 +
2 files changed, 64 insertions(+)
diff --git a/drivers/net/dsa/h