NETDEV_FEATURE_COUNT
NETDEV_FEATURE_COUNT); \
#define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \
(__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \
NETDEV_FEATURE_COUNT);
const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = {
netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN];
#define ETHTOOL_DEV_FEATURE_WORDS DIV_ROUND_UP(NETDEV_FEATURE_COUNT, 32)
NULL, NETDEV_FEATURE_COUNT,
NULL, NETDEV_FEATURE_COUNT,
data->nochange, NULL, NETDEV_FEATURE_COUNT,
const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT);
const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT);
ret &= ~(netdev_features_t)0 >> (nft_bits - NETDEV_FEATURE_COUNT);
ret = ethnl_bitset_size(wanted, wanted_mask, NETDEV_FEATURE_COUNT,
ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT,
wanted_mask, NETDEV_FEATURE_COUNT,
active_mask, NETDEV_FEATURE_COUNT,
DECLARE_BITMAP(wanted_diff_mask, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(active_diff_mask, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(old_wanted, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(new_wanted, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(req_wanted, NETDEV_FEATURE_COUNT);
DECLARE_BITMAP(req_mask, NETDEV_FEATURE_COUNT);
ret = ethnl_parse_bitset(req_wanted, req_mask, NETDEV_FEATURE_COUNT,
bitmap_and(req_wanted, req_wanted, req_mask, NETDEV_FEATURE_COUNT);
bitmap_andnot(new_wanted, old_wanted, req_mask, NETDEV_FEATURE_COUNT);
bitmap_or(req_wanted, new_wanted, req_wanted, NETDEV_FEATURE_COUNT);
if (!bitmap_equal(req_wanted, old_wanted, NETDEV_FEATURE_COUNT)) {
mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT);
NETDEV_FEATURE_COUNT);
NETDEV_FEATURE_COUNT);
NETDEV_FEATURE_COUNT);
NETDEV_FEATURE_COUNT);
NETDEV_FEATURE_COUNT);
all_features = GENMASK_ULL(NETDEV_FEATURE_COUNT - 1, 0);
ret = ethnl_bitset32_size(data->hw, data->all, NETDEV_FEATURE_COUNT,
ret = ethnl_bitset32_size(data->wanted, NULL, NETDEV_FEATURE_COUNT,
ret = ethnl_bitset32_size(data->active, NULL, NETDEV_FEATURE_COUNT,
ret = ethnl_bitset32_size(data->nochange, NULL, NETDEV_FEATURE_COUNT,
data->all, NETDEV_FEATURE_COUNT,