Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dnetdev_features.h81 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) macro
82 #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT)
137 #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \
138 (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \
142 #define NETIF_F_GSO_MASK (__NETIF_F_BIT(NETIF_F_GSO_LAST + 1) - \
143 __NETIF_F_BIT(NETIF_F_GSO_SHIFT))
/linux-4.4.14/net/core/
Ddev.c6310 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features()
6330 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()