diff options
author | 2021-09-01 18:36:07 +0100 | |
---|---|---|
committer | 2021-09-17 11:05:12 +0800 | |
commit | 9832fdc917de0f28772558688d7fa6c097c9c6cc (patch) | |
tree | 2cb9e8cb4a353dca3486f79667610c09a23d6611 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | crypto: qat - remove unmatched CPU affinity to cluster IRQ (diff) | |
download | wireguard-linux-9832fdc917de0f28772558688d7fa6c097c9c6cc.tar.xz wireguard-linux-9832fdc917de0f28772558688d7fa6c097c9c6cc.zip |
crypto: qat - free irqs only if allocated
Change the irq allocation logic so that it is possible to free only the
allocated irqs in case of error.
A new flag is introduced for every PF/VF interrupt. This flag is set to
"true" only when the interrupt is requested.
During clean up, devm_free_irq() is only called if this flag is set.
Signed-off-by: Maksim Lukoshkov <maksim.lukoshkov@intel.com>
Co-developed-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Signed-off-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions