Lspci: only refresh the pciids database once per node - #4656
Open
mcgov (mcgov) wants to merge 1 commit into
Open
Lspci: only refresh the pciids database once per node#4656mcgov (mcgov) wants to merge 1 commit into
mcgov (mcgov) wants to merge 1 commit into
Conversation
get_devices ran update-pciids on every forced refresh, which adds a network download and a noticeable delay to hot plug tests that rescan the pci bus repeatedly. Track whether the database was already updated for this tool instance and skip the refresh afterwards. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5d5f58ad-b9df-4420-ad37-22caee78e925
mcgov (mcgov)
requested review from
LiliDeng and
Johnson (johnsongeorge-w)
as code owners
August 12, 2026 12:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 3 of 9 of a stacked series that reworks the DPDK SRIOV hot plug tests. Stacked on #4655, review only the last commit.
get_devicesranupdate-pciidson every forced refresh, which adds a network download and a noticeable delay to hot plug tests that rescan the pci bus repeatedly. The database is now refreshed once per tool instance.Key Test Cases:
verify_dpdk_sriov_rescind_failover_send_only|verify_device_reports_correct_pci_slot
Impacted LISA Features:
Sriov, NetworkInterface, Nvme, Gpu
Tested Azure Marketplace Images:
canonical 0001-com-ubuntu-server-jammy 22_04-lts latestmicrosoftcblmariner azure-linux-3 azure-linux-3 latest