Dpdk: add a uevent listener helper app - #4661
Open
mcgov (mcgov) wants to merge 1 commit into
Open
Conversation
Hot plug tests need to know exactly when the kernel adds or removes a VF, its uverbs node, its ib device and its netdev, but DPDK's own rte_dev_event_monitor only parses pci, uio and vfio events that carry PCI_SLOT_NAME, so it drops every vmbus, net and infiniband uevent that matters on Azure. Add a small helper that listens on NETLINK_KOBJECT_UEVENT directly and prints a tagged, single line per event that tests can match on. 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:50
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 8 of 9 of a stacked series that reworks the DPDK SRIOV hot plug tests. Stacked on #4660, review only the last commit. This adds a single new C source file and changes no Python.
Hot plug tests need to know exactly when the kernel adds or removes a VF, its uverbs node, its ib device and its netdev. DPDK's own
rte_dev_event_monitoronly parses pci, uio and vfio events that carryPCI_SLOT_NAME, so it drops every vmbus, net and infiniband uevent that matters on Azure.This helper listens on
NETLINK_KOBJECT_UEVENTdirectly and prints a tagged, single line per event that the tests can match on. It is consumed by the next PR in the stack.Key Test Cases:
verify_dpdk_sriov_rescind_failover_send_only
Impacted LISA Features:
Sriov, NetworkInterface
Tested Azure Marketplace Images:
canonical 0001-com-ubuntu-server-jammy 22_04-lts latest