On Wed, Mar 12, 2025 at 11:40 PM Patrick Robb <pr...@iol.unh.edu> wrote:

>
> +    def set_vfs(self):
> +        """Create virtual functions for the port."""
> +        self.node.main_session.create_vfs(self)
> +        addr_list = self.node.main_session.get_pci_addr_of_vfs(self)
> +        for addr in addr_list:
> +            vf_port_config = PortConfig(
> +                name=f"{self.name}-vf-{addr}",
> +                pci=addr,
> +                os_driver_for_dpdk=self.config.os_driver_for_dpdk,
> +                os_driver=self.config.os_driver,
> +            )
> +            self.virtual_functions.append(Port(self.node, vf_port_config))
>

>From doing additional runs from this patch, I am seeing for some reason
like 10% of the time there will be some StopIteration error on a VF port
init from get_port_info(pci), when it is indeed being provided with a pci
address (I think but I can debug).


>

Reply via email to