Re: [PATCH v4 5/5] dts: add functions for managing VFs to Node

2024-11-14 Thread Luca Vizzarro
On 23/09/2024 19:42, jspew...@iol.unh.edu wrote: + +def get_vfs_on_port(self, pf_port: Port) -> list[VirtualFunction]: +"""Get all virtual functions (VFs) that DTS is aware of on `pf_port`. + +Args: +pf_port: The port to search for the VFs on. + +Returns: +

Re: [PATCH v4 5/5] dts: add functions for managing VFs to Node

2024-09-25 Thread Juraj Linkeš
I'm wondering whether we should move some of the functionality to the Port class, such as creating VFs and related logic. I wanted to move update_port and such there, but I ran into problems with imports. Maybe if we utilize the if TYPE_CHECKING: guard the imports would work. Seems like a lot

[PATCH v4 5/5] dts: add functions for managing VFs to Node

2024-09-23 Thread jspewock
From: Jeremy Spewock In order for test suites to create virtual functions there has to be functions in the API that developers can use. This patch adds the ability to create virtual functions to the Node API so that they are reachable within test suites. Bugzilla ID: 1500 Depends-on: patch-14431