Home
last modified time | relevance | path

Searched refs:__NETIF_F_BIT (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/linux/
Dnetdev_features.h99 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) macro
100 #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT)
188 #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \
189 (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \
193 #define NETIF_F_GSO_MASK (__NETIF_F_BIT(NETIF_F_GSO_LAST + 1) - \
194 __NETIF_F_BIT(NETIF_F_GSO_SHIFT))
/Linux-v5.10/net/core/
Ddev.c9493 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features()
9513 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()