diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-11-11 14:55:07 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-11-17 15:15:22 +0100 |
commit | bab65e48cb064d67b488efb6888c06fd977a8245 (patch) | |
tree | 38891b797f5ef00443d78b2528ef9e4d8e1e5d71 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 12910ffd189e23d8996e0d19b723518accf57b76 (diff) |
PCI/MSI: Sanitize MSI-X checks
There is no point in doing the same sanity checks over and over in a loop
during MSI-X enablement. Put them in front of the loop and return early
when they fail.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20221111122015.516946468@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions