summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAhmed Zaki <ahmed.zaki@intel.com>2023-05-20 00:46:02 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-07-17 20:08:22 +0300
commita77ed5c5b768e9649be240a2d864e5cd9c6a2015 (patch)
tree46939a45f8af7230e7f42f11772549649d720fd4 /tools/perf/scripts/python/exported-sql-viewer.py
parent7c4bced3caa749ce468b0c5de711c98476b23a52 (diff)
downloadlinux-a77ed5c5b768e9649be240a2d864e5cd9c6a2015.tar.xz
iavf: use internal state to free traffic IRQs
If the system tries to close the netdev while iavf_reset_task() is running, __LINK_STATE_START will be cleared and netif_running() will return false in iavf_reinit_interrupt_scheme(). This will result in iavf_free_traffic_irqs() not being called and a leak as follows: [7632.489326] remove_proc_entry: removing non-empty directory 'irq/999', leaking at least 'iavf-enp24s0f0v0-TxRx-0' [7632.490214] WARNING: CPU: 0 PID: 10 at fs/proc/generic.c:718 remove_proc_entry+0x19b/0x1b0 is shown when pci_disable_msix() is later called. Fix by using the internal adapter state. The traffic IRQs will always exist if state == __IAVF_RUNNING. Fixes: 5b36e8d04b44 ("i40evf: Enable VF to request an alternate queue allocation") 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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions