Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dnetdev_features.h105 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) macro
106 #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT)
199 #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \
200 (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \
204 #define NETIF_F_GSO_MASK (__NETIF_F_BIT(NETIF_F_GSO_LAST + 1) - \
205 __NETIF_F_BIT(NETIF_F_GSO_SHIFT))
/openbmc/linux/net/core/
H A Ddev.c9670 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features()
9690 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()