diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-11-12 14:22:23 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-11-26 13:47:26 +0300 |
commit | d787a3e38f01bfc4566df4e85d432a29d192e637 (patch) | |
tree | bac4bc6aa1dcd73e775db9d2fd802ca513eb2648 /net/mac80211/ieee80211_i.h | |
parent | 71abf71e9e634a55b1156f4aaae6122207f4b8ef (diff) | |
download | linux-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/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 5666bbb8860b..08c0542c93a3 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1463,7 +1463,7 @@ struct ieee80211_local { }; static inline struct ieee80211_sub_if_data * -IEEE80211_DEV_TO_SUB_IF(struct net_device *dev) +IEEE80211_DEV_TO_SUB_IF(const struct net_device *dev) { return netdev_priv(dev); } |