summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/hirschmann/hellcreek.h
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2021-03-13 10:39:39 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-13 23:30:48 +0100
commit292cd449fee3a67541fab2626efb8af6a72b4c69 (patch)
tree4efd95f7a4c6cf5824c6009353592b3ea6cad6b0 /drivers/net/dsa/hirschmann/hellcreek.h
parentnet: dsa: hellcreek: Move common code to helper (diff)
downloadlinux-292cd449fee3a67541fab2626efb8af6a72b4c69.tar.xz
linux-292cd449fee3a67541fab2626efb8af6a72b4c69.zip
net: dsa: hellcreek: Add devlink FDB region
Allow to dump the FDB table via devlink. This is a useful debugging feature. Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/hirschmann/hellcreek.h')
-rw-r--r--drivers/net/dsa/hirschmann/hellcreek.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/hirschmann/hellcreek.h b/drivers/net/dsa/hirschmann/hellcreek.h
index 42339f9359d9..9e303b8ab13c 100644
--- a/drivers/net/dsa/hirschmann/hellcreek.h
+++ b/drivers/net/dsa/hirschmann/hellcreek.h
@@ -279,6 +279,7 @@ struct hellcreek {
struct mutex vlan_lock; /* VLAN bitmaps lock */
struct mutex ptp_lock; /* PTP IP register lock */
struct devlink_region *vlan_region;
+ struct devlink_region *fdb_region;
void __iomem *base;
void __iomem *ptp_base;
u16 swcfg; /* swcfg shadow */