[PATCH 0/4] net: drop netif_attrmask_next*()
From: Yury Norov
Date: Sun Oct 02 2022 - 11:17:31 EST
netif_attrmask_next_and() generates warnings if CONFIG_DEBUG_PER_CPU_MAPS
is enabled. It is used in a single place. netif_attrmask_next() is not
used at all. With some rework of __netif_set_xps_queue(), we can drop
both functions, switch the code to well-tested bitmap API and fix the
warning.
Yury Norov (4):
net: move setup code out of mutex in __netif_set_xps_queue()
net: merge XPS_CPU_DEV_MAPS_SIZE and XPS_RXQ_DEV_MAPS_SIZE macros
net: initialize online_mask unconditionally in __netif_set_xps_queue()
net: fix opencoded for_each_and_bit() in __netif_set_xps_queue()
include/linux/netdevice.h | 53 ++-------------------------------------
net/core/dev.c | 34 +++++++++++++------------
2 files changed, 20 insertions(+), 67 deletions(-)
--
2.34.1