diff options
| author | Takashi Iwai <tiwai@suse.de> | 2024-12-31 14:44:33 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2024-12-31 14:44:41 +0300 |
| commit | 41d11d6e1aa167ae8c4849905b338b60db98be44 (patch) | |
| tree | aa88e11182b051741bc4d69859d39de6a2f51a69 /include/linux/netdev_features.h | |
| parent | 1b2ff639ff0cb999285d90c57d3f856b91c2aea6 (diff) | |
| parent | 7b509910b3ad6d7aacead24c8744de10daf8715d (diff) | |
| download | linux-41d11d6e1aa167ae8c4849905b338b60db98be44.tar.xz | |
Merge branch 'for-linus' into for-next
Pull 6.13 devel branch for further development of sequencer stuff.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 */ |
