-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PCI IDs #3420
Draft
SRIKKANTH
wants to merge
1
commit into
main
Choose a base branch
from
smyakam/lspci_support_for_ids_14_09_2024
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Support PCI IDs #3420
Conversation
This file contains 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
SRIKKANTH
force-pushed
the
smyakam/lspci_support_for_ids_14_09_2024
branch
from
September 14, 2024 12:45
56c2acf
to
f17921b
Compare
SRIKKANTH
force-pushed
the
smyakam/lspci_support_for_ids_14_09_2024
branch
4 times, most recently
from
September 16, 2024 17:08
1941252
to
19dca4b
Compare
squirrelsc
reviewed
Sep 16, 2024
def parse(self, raw_str: str, pci_ids: Dict[str, Any]) -> None: | ||
matched_pci_device_info = PATTERN_PCI_DEVICE.match(raw_str) | ||
if matched_pci_device_info: | ||
self.slot = matched_pci_device_info.group("slot") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to remove assertions?
squirrelsc
reviewed
Sep 16, 2024
return device_type_list | ||
|
||
@retry(KeyError, tries=10, delay=20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why retry can fix key errors?
SRIKKANTH
force-pushed
the
smyakam/lspci_support_for_ids_14_09_2024
branch
from
September 19, 2024 04:40
19dca4b
to
c8ea16b
Compare
This will help in identifying devices even better. Example: NVMe local devices vs remote storage devices when disc controller type == NVMe. An issue with below testcases detected was fixed as part of this PR. stress_sriov_with_max_nics_reboot_from_platform stress_sriov_with_max_nics_stop_start_from_platform Issue: It takes a while to populate/detect all VFs after VM boot. These tests were passing even if not all VF PCI devices were detected. Added 120s wait time to populate all VFs correctly in below testcases to fix the issue.
SRIKKANTH
force-pushed
the
smyakam/lspci_support_for_ids_14_09_2024
branch
from
September 19, 2024 05:32
76bd4a9
to
33623ea
Compare
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.
This will help in identifying devices even better.
Example: NVMe local devices vs remote storage devices when disc controller type == NVMe.