[PATCH net-next] cxgb4vf: configure ports accessible by the VF

2020-06-29 Thread Nirranjan Kirubaharan
Find ports accessible by the VF, based on the index of the mac address stored for the VF in the adapter. If no mac address is stored for the VF, use the port mask provided by firmware. Signed-off-by: Nirranjan Kirubaharan --- .../ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 47

[PATCH net-next v2] cxgb4: Set initial IRQ affinity hints

2019-06-07 Thread Nirranjan Kirubaharan
Spread initial IRQ affinity hints across the device node CPUs, for nic queue and uld queue IRQs, to load balance and avoid all interrupts on CPU0. Signed-off-by: Nirranjan Kirubaharan --- v2: - Used post increment of msi_index instead of pre increment in request_msix_queue_irqs() during unwind

[PATCH net-next] cxgb4: Set initial IRQ affinity hints

2019-05-30 Thread Nirranjan Kirubaharan
Spread initial IRQ affinity hints across the device node CPUs, for nic queue and uld queue IRQs, to load balance and avoid all interrupts on CPU0. Signed-off-by: Nirranjan Kirubaharan --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 7 +++- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c