]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
idpf: add support for SW triggered interrupts
authorJoshua Hay <joshua.a.hay@intel.com>
Mon, 15 Dec 2025 21:42:40 +0000 (13:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:15:02 +0000 (10:15 +0100)
commitf2a43c70e517ed8ba8bbd487c06213e6a7144523
treee04718f2cb96dac0db46a8cb411f7921d7c135e7
parentd7d4c3884c99ce7e0a62e7acec3fac17d5834230
idpf: add support for SW triggered interrupts

[ Upstream commit 93433c1d919775f8ac0f7893692f42e6731a5373 ]

SW triggered interrupts are guaranteed to fire after their timer
expires, unlike Tx and Rx interrupts which will only fire after the
timer expires _and_ a descriptor write back is available to be processed
by the driver.

Add the necessary fields, defines, and initializations to enable a SW
triggered interrupt in the vector's dyn_ctl register.

Reviewed-by: Madhu Chittim <madhu.chittim@intel.com>
Signed-off-by: Joshua Hay <joshua.a.hay@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/idpf/idpf_dev.c
drivers/net/ethernet/intel/idpf/idpf_txrx.h
drivers/net/ethernet/intel/idpf/idpf_vf_dev.c