Re: [PATCH v4 4/5] dts: add OS abstractions for creating virtual functions

2024-11-14 Thread Luca Vizzarro
Usual problem with the commit subject. On 23/09/2024 19:42, jspew...@iol.unh.edu wrote: +def set_num_virtual_functions(self, num: int, pf_port: Port) -> bool: I'd call this set_num_of_virtual_functions, set_virtual_functions_num, or set_number_of_vfs. I think I prefer the last one. +

Re: [PATCH v4 4/5] dts: add OS abstractions for creating virtual functions

2024-09-25 Thread Juraj Linkeš
diff --git a/dts/framework/testbed_model/linux_session.py b/dts/framework/testbed_model/linux_session.py @@ -210,3 +214,37 @@ def configure_ipv4_forwarding(self, enable: bool) -> None: """Overrides :meth:`~.os_session.OSSession.configure_ipv4_forwarding`.""" state = 1 i

[PATCH v4 4/5] dts: add OS abstractions for creating virtual functions

2024-09-23 Thread jspewock
From: Jeremy Spewock Virtual functions in the framework are created using SR-IOV. The process for doing this can vary depending on the operating system, so the commands to create VFs have to be abstracted into different classes based on the operating system. This patch adds the stubs for methods