[0/4,net-next] net: mana: Assigning IRQ affinity on HT cores

Message ID 1704797478-32377-1-git-send-email-schakrabarti@linux.microsoft.com
Headers
Series net: mana: Assigning IRQ affinity on HT cores |

Message

Souradeep Chakrabarti Jan. 9, 2024, 10:51 a.m. UTC
  This patch set introduces a new helper function irq_setup(),
to optimize IRQ distribution for MANA network devices.
The patch set makes the driver working 15% faster than
with cpumask_local_spread().

Souradeep Chakrabarti (1):
  net: mana: Assigning IRQ affinity on HT cores

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   | 87 ++++++++++++++++---
 include/linux/bitmap.h                        | 12 +++
 include/linux/cpumask.h                       | 16 ++++
 lib/bitmap.c                                  |  7 ++
 4 files changed, 112 insertions(+), 10 deletions(-)
  

Comments

Paolo Abeni Jan. 9, 2024, 11:57 a.m. UTC | #1
On Tue, 2024-01-09 at 02:51 -0800, Souradeep Chakrabarti wrote:
> This patch set introduces a new helper function irq_setup(),
> to optimize IRQ distribution for MANA network devices.
> The patch set makes the driver working 15% faster than
> with cpumask_local_spread().
> 
> Souradeep Chakrabarti (1):
>   net: mana: Assigning IRQ affinity on HT cores
> 
> 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   | 87 ++++++++++++++++---
>  include/linux/bitmap.h                        | 12 +++
>  include/linux/cpumask.h                       | 16 ++++
>  lib/bitmap.c                                  |  7 ++
>  4 files changed, 112 insertions(+), 10 deletions(-)

net-next is closed for the merge window period, please repost when it
will re-open in ~2 weeks.

Cheers,

Paolo