summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@blackwall.org>2026-09-30 10:14:01 +0300
committerJakub Kicinski <kuba@kernel.org>2026-10-02 12:42:09 -0700
commitfd7a8eb03c32f811eff6f4972c8ff57cab28b66d (patch)
tree20ff83d841fa1367cbb2c7c560c46cfab41564f6 /include/trace
parent13bb47965e021eabeaf6881272b419e076c529b2 (diff)
net: bridge: use net_bridge_dst for fdb destinations
Store fdb destinations in struct net_bridge_dst and access them through the destination helpers. This doesn't change their representation or behavior, fdb destinations still contain only bridge port pointers. Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org> Link: https://patch.msgid.link/20260930071411.2786201-3-razor@blackwall.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/bridge.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/trace/events/bridge.h b/include/trace/events/bridge.h
index 3fe4725c83ff..f676516b33fa 100644
--- a/include/trace/events/bridge.h
+++ b/include/trace/events/bridge.h
@@ -68,13 +68,14 @@ TRACE_EVENT(br_fdb_external_learn_add,
TRACE_EVENT(fdb_delete,
- TP_PROTO(struct net_bridge *br, struct net_bridge_fdb_entry *f),
+ TP_PROTO(struct net_bridge *br, struct net_bridge_fdb_entry *f,
+ const struct net_bridge_port *dst),
- TP_ARGS(br, f),
+ TP_ARGS(br, f, dst),
TP_STRUCT__entry(
__string(br_dev, br->dev->name)
- __string(dev, f->dst ? f->dst->dev->name : "null")
+ __string(dev, dst ? dst->dev->name : "null")
__array(unsigned char, addr, ETH_ALEN)
__field(u16, vid)
),