Re: [PATCH v2 0/4] ice: use better bitmap API

Jacob Keller
2026-03-02T23:01:23Z

On 3/1/2026 5:11 PM, Yury Norov wrote:
> Use better bitmap API where appropriate. Patches #3,4 may be applied
> separately.
>
> v1: https://lore.kernel.org/all/20251223162303.434659-1-yury.norov@gmail.com/
> v2:
> - new v2#4;
> - add documentation line (Simon);
>
> Yury Norov (4):
> bitmap: introduce bitmap_weighted_xor()
> ice: use bitmap_weighted_xor() in ice_find_free_recp_res_idx()
> ice: use bitmap_empty() in ice_vf_has_no_qs_ena
> drm/xe: switch xe_pagefault_queue_init() to using bitmap_weighted_or()
>

Good cleanups!

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

> drivers/gpu/drm/xe/xe_pagefault.c | 3 +--
> drivers/net/ethernet/intel/ice/ice_switch.c | 4 +---
> drivers/net/ethernet/intel/ice/ice_vf_lib.c | 4 ++--
> include/linux/bitmap.h | 15 +++++++++++++++
> lib/bitmap.c | 7 +++++++
> 5 files changed, 26 insertions(+), 7 deletions(-)
>