Re: [PATCH RESEND 0/3] ice: use better bitmap API

From: Przemek Kitszel

Date: Wed Feb 25 2026 - 07:03:59 EST


On 2/25/26 01:00, Yury Norov wrote:
Use better bitmap API where appropriate.

Original series:

https://lore.kernel.org/all/20251223162303.434659-1-yury.norov@xxxxxxxxx/

RESEND: rebase on top of v7.0-rc1

Yury Norov (3):
bitmap: introduce bitmap_weighted_xor()
ice: use bitmap_weighted_xor() in ice_find_free_recp_res_idx()

Thank you for working on better API.
Do you want this to go through intel, then netdev, tree?
Likely that would slow any future user, if you have already one in mind.

ice: use bitmap_empty() in ice_vf_has_no_qs_ena

For unrelated reasons I have one series that will possibly conflict
with your patch. Would prefer to not wait/block each other, so will
be best if we (Tony) just take this one (in case you will proceed
with the first two patches via your tree)


drivers/net/ethernet/intel/ice/ice_switch.c | 4 +---
drivers/net/ethernet/intel/ice/ice_vf_lib.c | 4 ++--
include/linux/bitmap.h | 14 ++++++++++++++
lib/bitmap.c | 7 +++++++
4 files changed, 24 insertions(+), 5 deletions(-)