mbox series

[0/3] net: mana: add irq_spread()

Message ID 20231217213214.1905481-1-yury.norov@gmail.com (mailing list archive)
Headers show
Series net: mana: add irq_spread() | expand

Message

Yury Norov Dec. 17, 2023, 9:32 p.m. UTC
Add irq_spread() function that makes the driver working 15% faster than
with cpumask_local_spread()

Yury Norov (3):
  cpumask: add cpumask_weight_andnot()
  cpumask: define cleanup function for cpumasks
  net: mana: add a function to spread IRQs per CPUs

 .../net/ethernet/microsoft/mana/gdma_main.c   | 28 +++++++++++++++++++
 include/linux/bitmap.h                        | 12 ++++++++
 include/linux/cpumask.h                       | 17 +++++++++++
 lib/bitmap.c                                  |  7 +++++
 4 files changed, 64 insertions(+)

Comments

Jacob Keller Dec. 18, 2023, 9:18 p.m. UTC | #1
On 12/17/2023 1:32 PM, Yury Norov wrote:
> Add irq_spread() function that makes the driver working 15% faster than
> with cpumask_local_spread()
> 
> Yury Norov (3):
>   cpumask: add cpumask_weight_andnot()
>   cpumask: define cleanup function for cpumasks
>   net: mana: add a function to spread IRQs per CPUs
> 
>  .../net/ethernet/microsoft/mana/gdma_main.c   | 28 +++++++++++++++++++
>  include/linux/bitmap.h                        | 12 ++++++++
>  include/linux/cpumask.h                       | 17 +++++++++++
>  lib/bitmap.c                                  |  7 +++++
>  4 files changed, 64 insertions(+)
> 

Process would be to tag this for which tree it aims for. Since this
looks like an improvement and includes cleanup and changes to add a new
helper function that makes me think it would be net-next.

Thanks,
Jake