diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-11-12 12:22:23 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-11-26 11:47:26 +0100 |
commit | d787a3e38f01bfc4566df4e85d432a29d192e637 (patch) | |
tree | bac4bc6aa1dcd73e775db9d2fd802ca513eb2648 /net/mac80211/trace.h | |
parent | mac80211: Remove unused assignment statements (diff) | |
download | linux-d787a3e38f01bfc4566df4e85d432a29d192e637.tar.xz linux-d787a3e38f01bfc4566df4e85d432a29d192e637.zip |
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.h | 7 |
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 |