There currently is no method of creating or managing virtual functions
(VFs) in the new DTS framework but there are multiple test suites in
the old DTS framework that provide testing coverage using them. This
patch adds the functionality to the framework that is needed to create
and use VFs in test suites in the future.

This v5 is a continuation of versions 1-4 which were written by 
Jeremy last year when we were initially looking at VF support.
The main ways that this version differs from his version is that
VF management has been moved to the Port class, and the Port class
has a new attribute, virtual_functions, which is a list of virtual
functions which were created from that physical function. From this
patchseries it should be possible to write functions for the
testsuite API which can leverage VFs on known physical functions.
This will allow us to run virtual function testsuites.

Patrick Robb (2):
  dts: add OS abstractions for creating virtual functions
  dts: add VF configuration and workflow

 dts/framework/config/test_run.py             |  2 ++
 dts/framework/remote_session/dpdk.py         | 11 ++++--
 dts/framework/test_run.py                    |  7 +++-
 dts/framework/testbed_model/linux_session.py | 37 +++++++++++++++++++-
 dts/framework/testbed_model/node.py          |  5 +++
 dts/framework/testbed_model/os_session.py    | 27 ++++++++++++++
 dts/framework/testbed_model/port.py          | 16 +++++++++
 dts/test_run.example.yaml                    |  1 +
 8 files changed, 102 insertions(+), 4 deletions(-)

-- 
2.48.1

Reply via email to