[v3,0/1] dts: Add the ability to bind ports to drivers

Message ID 20231109231707.25400-1-jspewock@iol.unh.edu (mailing list archive)
Headers
Series dts: Add the ability to bind ports to drivers |

Message

Jeremy Spewock Nov. 9, 2023, 11:16 p.m. UTC
  From: Jeremy Spewock <jspewock@iol.unh.edu>

Changes in this version address the comments on the last and change what
was necessary. Now, we no longer modprobe the driver, but the decision
was made to still make driver binding exclusive to the SUT for the time
being due to the uncertainty of what binding drivers on the traffic
generator will look like in the future when we need to do so.

I also decided to leave the os_udp test case in the patch as leaving it
does no harm really, all that is required for it to run is binding to
the os_driver before it runs and back to the DPDK driver after, and I
think it serves as somewhat of a "hello world" for ensuring that your
traffic generator is functioning. If it is decided that we no longer
want it in the future or want to make it a part of the hello_world
suite, another patch will be submitted at a later date.

Previous version sent the wrong commit, this is the updated and fixed
one.

v1: https://mails.dpdk.org/archives/dev/2023-November/281477.html

Jeremy Spewock (1):
  dts: bind to DPDK driver before running test suites

 dts/framework/testbed_model/sut_node.py | 33 +++++++++++++++++++++++++
 dts/tests/TestSuite_os_udp.py           |  4 +++
 dts/tests/TestSuite_smoke_tests.py      |  6 ++---
 3 files changed, 39 insertions(+), 4 deletions(-)