diff options
| author | Mark Brown <broonie@kernel.org> | 2025-01-08 11:58:49 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-01-08 11:58:49 +0000 |
| commit | 309caeef4381e8777f65030dccabc71456650269 (patch) | |
| tree | f726473c478fca19db793ebe27a3da0162fd23bc /include/linux/netdev_features.h | |
| parent | c51187903fe4523fd7f521662c1ae1f1f3174036 (diff) | |
| parent | 9d89551994a430b50c4fffcb1e617a057fa76e20 (diff) | |
ASoC: Merge up v6.13-rc6
This helps several of my boards in CI.
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 66e7d26b70a4..11be70a7929f 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -253,4 +253,11 @@ static inline int find_next_netdev_feature(u64 feature, unsigned long start) NETIF_F_GSO_UDP_TUNNEL | \ NETIF_F_GSO_UDP_TUNNEL_CSUM) +static inline netdev_features_t netdev_base_features(netdev_features_t features) +{ + features &= ~NETIF_F_ONE_FOR_ALL; + features |= NETIF_F_ALL_FOR_ALL; + return features; +} + #endif /* _LINUX_NETDEV_FEATURES_H */ |
