Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dnetdev_features.h98 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) macro
99 #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT)
166 #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \
167 (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \
171 #define NETIF_F_GSO_MASK (__NETIF_F_BIT(NETIF_F_GSO_LAST + 1) - \
172 __NETIF_F_BIT(NETIF_F_GSO_SHIFT))
/Linux-v4.19/net/core/
Ddev.c8030 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features()
8050 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()