summaryrefslogtreecommitdiff
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-11-12 14:22:23 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-11-26 13:47:26 +0300
commitd787a3e38f01bfc4566df4e85d432a29d192e637 (patch)
treebac4bc6aa1dcd73e775db9d2fd802ca513eb2648 /net/mac80211/trace.h
parent71abf71e9e634a55b1156f4aaae6122207f4b8ef (diff)
downloadlinux-d787a3e38f01bfc4566df4e85d432a29d192e637.tar.xz
mac80211: add support for .ndo_fill_forward_path
This allows drivers to provide a destination device + info for flow offload Only supported in combination with 802.3 encap offload Signed-off-by: Felix Fietkau <nbd@nbd.name> Tested-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://lore.kernel.org/r/20211112112223.1209-1-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 9e8381bef7ed..d91498f77796 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -2892,6 +2892,13 @@ TRACE_EVENT(drv_twt_teardown_request,
)
);
+DEFINE_EVENT(sta_event, drv_net_fill_forward_path,
+ TP_PROTO(struct ieee80211_local *local,
+ struct ieee80211_sub_if_data *sdata,
+ struct ieee80211_sta *sta),
+ TP_ARGS(local, sdata, sta)
+);
+
#endif /* !__MAC80211_DRIVER_TRACE || TRACE_HEADER_MULTI_READ */
#undef TRACE_INCLUDE_PATH