]> git.ipfire.org Git - thirdparty/linux.git/commit
iavf: convert to NAPI IRQ affinity API
authorAhmed Zaki <ahmed.zaki@intel.com>
Fri, 16 May 2025 22:19:09 +0000 (16:19 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 9 Jun 2025 16:56:18 +0000 (09:56 -0700)
commitb0ca7dc0e70e31d0ecf66b508b96a7026b769ceb
treed9c7981c5f0036164ef69ea631109679e0ef3de4
parentdc5e7a3513efcbf886c53dc5401b524aa3dea92a
iavf: convert to NAPI IRQ affinity API

Commit bd7c00605ee0 ("net: move aRFS rmap management and CPU affinity
to core") allows the drivers to delegate the IRQ affinity to the NAPI
instance. However, the driver needs to use a persistent NAPI config
and explicitly set/unset the NAPI<->IRQ association.

Convert to the new IRQ affinity API.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf.h
drivers/net/ethernet/intel/iavf/iavf_main.c
drivers/net/ethernet/intel/iavf/iavf_txrx.c