mbox series

[RFC,net-next,0/2] net: napi: add CPU affinity to napi->config

Message ID 20241206001209.213168-1-ahmed.zaki@intel.com (mailing list archive)
Headers show
Series net: napi: add CPU affinity to napi->config | expand

Message

Ahmed Zaki Dec. 6, 2024, 12:12 a.m. UTC
As suggested by Jakub, move the CPU affinity mask from the driver to
napi->config.

Tested on idpf.
---
if accepted, will fix all drivers already using netif_napi_set_irq() 

Ahmed Zaki (2):
  net: napi: add CPU affinity to napi->config
  idpf: use napi's irq affinity

 drivers/net/ethernet/intel/idpf/idpf_txrx.c | 18 ++++-------------
 drivers/net/ethernet/intel/idpf/idpf_txrx.h |  6 ++----
 include/linux/netdevice.h                   | 22 +++++++++++++++++++++
 net/core/dev.c                              |  7 ++++++-
 4 files changed, 34 insertions(+), 19 deletions(-)