[PATCH v2] dts: automate VFIO-PCI modprobe
Patrick Robb
probb at iol.unh.edu
Wed Jan 14 23:54:21 CET 2026
On Wed, Nov 26, 2025 at 9:16 AM Andrew Bailey <abailey at iol.unh.edu> wrote:
>
>
> + if (
> + test_run.ctx.topology.type != LinkTopology.NO_LINK
> + and test_run.ctx.sut_node.ports[0].config.os_driver_for_dpdk
> == "vfio-pci"
> + ):
> + test_run.ctx.sut_node.main_session.send_command("modprobe
> vfio")
> + test_run.ctx.sut_node.main_session.send_command("modprobe
> vfio-pci")
> +
> if test_run.config.use_virtual_functions:
> test_run.ctx.topology.instantiate_vf_ports()
>
>
>
Is there a need to check that test_run.ctx.sut_node.ports[0] is not None?
Also, what is your opinion of an os==linux check? By my recollection this
variable should be accessible at this stage. It would be okay to kick the
can on this aspect of supporting OS other than linux, but let's only do so
if we have an actual reason. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20260114/be588d70/attachment.htm>
More information about the dev
mailing list