Re: [PATCH v1 1/1] dts: update testsuite docs

2025-09-19 Thread Dean Marx
Reviewed-by: Dean Marx On Wed, Sep 10, 2025 at 3:43 PM Paul Szczepanek wrote: > > From: Thomas Wilks > > Updated and corrected test case doc strings inside of test suites. > > Changed helper functions inside of testsuites into private functions > and removed doc st

[PATCH v1 2/2] dts: add virtio forwarding test suite

2025-09-16 Thread Dean Marx
Add test suite covering virtio-user and vhost server/client forwarding scenarios with testpmd packet validation. Signed-off-by: Dean Marx --- doc/api/dts/tests.TestSuite_virtio_fwd.rst | 8 + dts/tests/TestSuite_virtio_fwd.py | 179 + 2 files changed, 187

[PATCH v1 1/2] dts: add start Tx first method to testpmd shell

2025-09-16 Thread Dean Marx
Add start tx_first method to testpmd shell, which sends a specified number of burst packets prior to starting packet forwarding. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 21 +++ 1 file changed, 21 insertions(+) diff --git a/dts/framework

[PATCH v4 2/2] dts: add steps and verify sections to docstrings

2025-08-28 Thread Dean Marx
The standard for test case docstrings in DTS requires each case to have a Steps and Verify section to outline each respective step of the test. Add these sections to existing suites that are not formatted this way. Bugzilla ID: 1599 Signed-off-by: Dean Marx --- dts/tests/TestSuite_blocklist.py

[PATCH v4 1/2] doc: add test case docstring example to dts rst

2025-08-28 Thread Dean Marx
Add a section to the dts rst under How to Write a Test Suite which provides an example for how to write a test case docstring, including a steps and verify section. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc

[PATCH v2] dts: add test case docstring checks to format script

2025-08-26 Thread Dean Marx
Add a python script that checks all test cases to ensure each docstring contains a steps and verify section in accordance with coding guidelines. Add a section within the check-format script which calls the docstring script after linting with ruff. Bugzilla ID: 1623 Signed-off-by: Dean Marx

[PATCH v1] dts: add test case docstring checks to format script

2025-08-20 Thread Dean Marx
Add a python script that checks all test cases to ensure each docstring contains a steps and verify section in accordance with coding guidelines. Add a section within the check-format script which calls the docstring script after linting with ruff. Bugzilla ID: 1623 Signed-off-by: Dean Marx

[PATCH v1] dts: remove test_ prefix from test case names

2025-08-20 Thread Dean Marx
A majority of test cases in DTS are prepended with 'test_', however this is no longer required with the introduction of functional/performance test decorators some time ago. Remove all of these prefixes from test cases. Bugzilla ID: 1770 Signed-off-by: Dean Marx ---

[PATCH v1] dts: remove test_ prefix from test case names

2025-08-20 Thread Dean Marx
A majority of test cases in DTS are prepended with 'test_', however this is no longer required with the introduction of functional/performance test decorators some time ago. Remove all of these prefixes from test cases. Signed-off-by: Dean Marx --- dts/tests/TestSuite_checksum_offload

[PATCH v3 2/2] dts: add steps and verify sections to docstrings

2025-08-20 Thread Dean Marx
The standard for test case docstrings in DTS requires each case to have a Steps and Verify section to outline each respective step of the test. Add these sections to existing suites that are not formatted this way. Bugzilla ID: 1599 Signed-off-by: Dean Marx --- dts/tests/TestSuite_blocklist.py

[PATCH v3 1/2] doc: add test case docstring example to dts rst

2025-08-20 Thread Dean Marx
Add a section to the dts rst under How to Write a Test Suite which provides an example for how to write a test case docstring, including a steps and verify section. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc

[PATCH v3 2/2] dts: rewrite two link topology requirements

2025-08-20 Thread Dean Marx
Some of the DTS test suites require two link topologies in order to run, but not all truly require two links for proper testing. Rewrite the topology requirements on these test suites to reflect the actual requirements. Bugzilla ID: 1755 Signed-off-by: Dean Marx --- dts/tests

[PATCH v3 1/2] dts: make one link the default topology

2025-08-20 Thread Dean Marx
nning quickly. Bugzilla ID: 1759 Signed-off-by: Dean Marx Reviewed-by: Luca Vizzarro --- dts/framework/testbed_model/topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/framework/testbed_model/topology.py b/dts/framework/testbed_model/topology.py index 899ea

[PATCH v3 0/2] dts: change default topology to one link

2025-08-20 Thread Dean Marx
-by: Dean Marx --- v2: * Grouped one_link default and two_link requirements patches v3: * Remove one_link suite decorators * Add two_link requirement to one_port_blocklisted case Dean Marx (2): dts: make one link the default topology dts: rewrite two link topology requirements dts/framework

Re: [PATCH v3] dts: add missing type hints to method signatures

2025-08-19 Thread Dean Marx
Reviewed-by: Dean Marx

[PATCH v2 2/2] dts: add reception check to checksum offload suite

2025-08-07 Thread Dean Marx
the check, then verifies they are not None directly after. Fixes: 8c9a7471a0e6 ("dts: add checksum offload test suite") Signed-off-by: Dean Marx --- dts/tests/TestSuite_checksum_offload.py | 5 + 1 file changed, 5 insertions(+) diff --git a/dts/tests/TestSuite_checksum_offload

[PATCH v2 1/2] dts: fix docstring typo in checksum suite

2025-08-07 Thread Dean Marx
Current test suite docstring for checksum offload suite says there are 6 test cases when it should say 7. Fixes: 8c9a7471a0e6 ("dts: add checksum offload test suite") Signed-off-by: Dean Marx --- dts/tests/TestSuite_checksum_offload.py | 2 +- 1 file changed, 1 insertion(+),

[PATCH v2 2/2] dts: add steps and verify sections to docstrings

2025-08-07 Thread Dean Marx
The standard for test case docstrings in DTS requires each case to have a Steps and Verify section to outline each respective step of the test. Add these sections to existing suites that are not formatted this way. Bugzilla ID: 1599 Signed-off-by: Dean Marx --- dts/tests/TestSuite_blocklist.py

[PATCH v2 1/2] doc: add test case docstring example to dts rst

2025-08-07 Thread Dean Marx
Add a section to the dts rst under How to Write a Test Suite which provides an example for how to write a test case docstring, including a steps and verify section. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc

[PATCH v2 2/2] dts: make one link the default topology

2025-08-07 Thread Dean Marx
nning quickly. Bugzilla ID: 1759 Signed-off-by: Dean Marx --- dts/framework/testbed_model/topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/framework/testbed_model/topology.py b/dts/framework/testbed_model/topology.py index 899ea0ad3a..9f21520bbb 100644 ---

[PATCH v2 1/2] dts: rewrite two link topology requirements

2025-08-07 Thread Dean Marx
Some of the DTS test suites require two link topologies in order to run, but not all truly require two links for proper testing. Rewrite the topology requirements on these test suites to reflect the actual requirements. Bugzilla ID: 1755 Signed-off-by: Dean Marx --- dts/tests

Re: [RFC] Proposal for stable developer-friendly DTS API

2025-07-24 Thread Dean Marx
I second Patrick's comments

[PATCH v1] dts: make one link the default topology

2025-07-23 Thread Dean Marx
nning quickly. Bugzilla ID: 1759 Signed-off-by: Dean Marx --- dts/framework/testbed_model/topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/framework/testbed_model/topology.py b/dts/framework/testbed_model/topology.py index 899ea0ad3a..9f21520bbb 100644 ---

[PATCH v1 2/2] dts: add exception handling to checksum verify method

2025-07-22 Thread Dean Marx
test suite") Signed-off-by: Dean Marx --- dts/tests/TestSuite_checksum_offload.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dts/tests/TestSuite_checksum_offload.py b/dts/tests/TestSuite_checksum_offload.py index b03c3d46ed..9dfbcb8028 100644 --- a

[PATCH v1 1/2] dts: fix docstring typo in checksum suite

2025-07-22 Thread Dean Marx
Current test suite docstring for checksum offload suite says there are 6 test cases when it should say 7. Fixes: 8c9a7471a0e6 ("dts: add checksum offload test suite") Signed-off-by: Dean Marx --- dts/tests/TestSuite_checksum_offload.py | 2 +- 1 file changed, 1 insertion(+),

[PATCH v1 2/2] dts: add steps and verify sections to docstrings

2025-07-22 Thread Dean Marx
The standard for test case docstrings in DTS requires each case to have a Steps and Verify section to outline each respective step of the test. Add these sections to existing suites that are not formatted this way. Bugzilla ID: 1599 Signed-off-by: Dean Marx --- dts/tests

[PATCH v1 1/2] doc: add test case docstring example to dts rst

2025-07-22 Thread Dean Marx
Add a section to the dts rst under How to Write a Test Suite which provides an example for how to write a test case docstring, including a steps and verify section. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc

[PATCH v1] dts: rewrite two link topology requirements

2025-07-22 Thread Dean Marx
Some of the DTS test suites require two link topologies in order to run, but not all truly require two links for proper testing. Rewrite the topology requirements on these test suites to reflect the actual requirements. Bugzilla ID: 1755 Signed-off-by: Dean Marx --- dts/tests

Re: [RFC PATCH v3 2/2] dts: add PMD RSS testsuite

2025-07-18 Thread Dean Marx
up at the DTS meeting yesterday that this suite is reliable on Intel NICs, but unreliable on Mellanox (CX6), which I can confirm after running on a CX5 and Intel XL710 and seeing the same behavior. Reviewed-by: Dean Marx Tested-by: Dean Marx

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-18 Thread Dean Marx
On Fri, Jul 18, 2025 at 4:23 AM Bruce Richardson wrote: > > On Thu, Jul 17, 2025 at 05:03:13PM -0400, Dean Marx wrote: > > I've created a v1 of a QinQ test suite around the set of test cases > > discussed earlier (which is not set in stone, and I expect it to > > cha

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-17 Thread Dean Marx
I've created a v1 of a QinQ test suite around the set of test cases discussed earlier (which is not set in stone, and I expect it to change significantly across many future versions.) The PASS/FAIL values can be mostly disregarded in the context of this conversation, but I've added logging to expla

[PATCH v1 2/2] dts: add qinq test suite

2025-07-17 Thread Dean Marx
Add QinQ test suite, which verifies PMD behavior when sending QinQ (IEEE 802.1ad) packets. Signed-off-by: Dean Marx --- dts/tests/TestSuite_qinq.py | 329 1 file changed, 329 insertions(+) create mode 100644 dts/tests/TestSuite_qinq.py diff --git a/dts

[PATCH v1 1/2] dts: add qinq strip and VLAN extend to testpmd shell

2025-07-17 Thread Dean Marx
Add QinQ strip and VLAN extend methods to TestPmdShell class. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 52 +++ 1 file changed, 52 insertions(+) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session

[PATCH v7 3/3] doc: revise coding guidelines section

2025-07-16 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 203

[PATCH v7 2/3] doc: rephrase terminology in dts.rst

2025-07-16 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12

[PATCH v7 1/3] dts: rewrite README

2025-07-16 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 116 -- 1 file changed, 56

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-16 Thread Dean Marx
I've created a list of test cases which I'm planning on implementing in future QinQ testing. After talking with Bruce about some Intel test results earlier, I've got a solid idea of what the expected behaviors are in five of these, but I'm unsure about the other three. If anyone is able to provide

[PATCH v6 3/3] doc: revise coding guidelines section

2025-07-16 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 201

[PATCH v6 1/3] dts: rewrite README

2025-07-16 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 116 -- 1 file changed, 56

[PATCH v6 2/3] doc: rephrase terminology in dts.rst

2025-07-16 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12

[PATCH v5 3/3] doc: revise coding guidelines section

2025-07-16 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 201

[PATCH v5 2/3] doc: rephrase terminology in dts.rst

2025-07-16 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12

[PATCH v5 1/3] dts: rewrite README

2025-07-16 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 116 -- 1 file changed, 56

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-14 Thread Dean Marx
On Mon, Jul 14, 2025 at 9:30 AM Bruce Richardson wrote: > > The behaviour of VLAN tag stripping Rx offloads is unclear in DPDK, and > not very well documented. Even the documentation that does exist appears > contradictory. > > For example, the doxygen docs for the mbuf flag > RTE_MBUF_F_RX_QINQ_S

[PATCH v4 3/3] doc: revise coding guidelines section

2025-07-14 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 194

[PATCH v4 2/3] doc: rephrase terminology in dts.rst

2025-07-14 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12

[PATCH v4 1/3] dts: rewrite README

2025-07-14 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 115 -- 1 file changed, 55

Re: [PATCH v3 1/3] dts: rewrite README

2025-07-14 Thread Dean Marx
> Also, I never did get a response from you about whether it would be good to > include some ascii art to depict these topologies :) > > You don't have to be a fan, but it would be good to get your opinion. If you > think it's a good idea, can you add a bugzilla ticket so we can do this > during

[PATCH v3 3/3] doc: revise coding guidelines section

2025-07-11 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 181

[PATCH v3 2/3] doc: rephrase terminology in dts.rst

2025-07-11 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12 insertions(+), 25 deletions

[PATCH v3 1/3] dts: rewrite README

2025-07-11 Thread Dean Marx
Remove unnecessary information from README.md, and add new sections to clarify the purpose/use of DTS along with clear setup instructions. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 115

Re: [PATCH 2/2] dts: add generic blocking app class

2025-07-03 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [PATCH 1/2] dts: add DPDK build app helper function

2025-07-03 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [PATCH v3 1/4] dts: add virtual functions to framework

2025-07-02 Thread Dean Marx
During the process of writing these changes and testing virtual functions on multiple environments, I came across some notable behaviors. On Mellanox devices, the current test suites in DTS run without issue, receiving and forwarding packets as expected. However, this is not the case on Broadcom an

[PATCH v3 4/4] dts: add sr-iov section to docs

2025-07-02 Thread Dean Marx
Add a section to the dts.rst file explaining how to enable SR-IOV mode on an environment, as well as any additional steps needed for virtual function configuration. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 46 dts/README.md| 2

[PATCH v3 3/4] dts: add physical function capability check

2025-07-02 Thread Dean Marx
Add a physical function NIC capability that checks if the test run is using PFs. Add PF capability requirement to all suites/cases that do not run without error on virtual functions. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 22 +++ dts/tests

[PATCH v3 1/4] dts: add virtual functions to framework

2025-07-02 Thread Dean Marx
Add virtual functions to DTS framework, along with a field for specifying VF test runs in the config file. Signed-off-by: Patrick Robb Signed-off-by: Dean Marx --- dts/framework/config/test_run.py | 2 + dts/framework/test_run.py| 7 +++ dts/framework

[PATCH v3 2/4] dts: remove unnecessary testpmd verification

2025-07-02 Thread Dean Marx
Remove unnecessary verification step in the start method of TestPmdShell which checks the link status. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 7 --- 1 file changed, 7 deletions(-) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts

Re: [PATCH 2/2] dts: rework test results

2025-07-01 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [PATCH 1/2] dts: change test suite name property

2025-07-01 Thread Dean Marx
Reviewed-by: Dean Marx

[PATCH v3 2/2] dts: add flow validation

2025-06-26 Thread Dean Marx
Add a method for validating flow rules to the testpmd shell class. Implement test case skipping for flow rules that do not pass validation. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- dts/framework/remote_session/testpmd_shell.py | 15 + dts/framework/test_run.py

[PATCH v3 1/2] dts: add rte flow test suite

2025-06-26 Thread Dean Marx
Add an RTE Flow API testing suite, which covers some basic synchronous Flow API rules that should be supported across PMDs. This suite will be added to over time, as the Flow API is too large to cover all in one suite, and sending one monolithic series would be impossible. Signed-off-by: Dean

[PATCH v2 2/4] dts: remove unnecessary testpmd verification

2025-06-26 Thread Dean Marx
Remove unnecessary verification step in the start method of TestPmdShell which checks the link status. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 7 --- 1 file changed, 7 deletions(-) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts

[PATCH v2 4/4] dts: add physical function capability check

2025-06-26 Thread Dean Marx
Add a physical function NIC capability that checks if the test run is using PFs. Add PF capability requirement to all suites/cases that do not run without error on virtual functions. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 22 +++ dts/tests

[PATCH v2 3/4] dts: modify existing suites to work with VFs

2025-06-26 Thread Dean Marx
enabled. Signed-off-by: Dean Marx --- dts/tests/TestSuite_checksum_offload.py | 69 --- dts/tests/TestSuite_dual_vlan.py | 6 +- dts/tests/TestSuite_dynamic_queue_conf.py | 2 +- dts/tests/TestSuite_mtu.py| 7 ++- dts/tests

[PATCH v2 1/4] dts: add virtual functions to framework

2025-06-26 Thread Dean Marx
Add virtual functions to DTS framework, along with a field for specifying VF test runs in the config file. Signed-off-by: Patrick Robb Signed-off-by: Dean Marx --- dts/framework/config/test_run.py | 2 + dts/framework/test_run.py| 7 +++ dts/framework

[PATCH v1] dts: add virtual functions to framework

2025-06-17 Thread Dean Marx
Add virtual functions to DTS framework, along with a field for specifying VF test runs in the config file. Signed-off-by: Patrick Robb Signed-off-by: Dean Marx --- dts/framework/config/test_run.py | 2 + dts/framework/test_run.py| 7 +++ dts/framework

[PATCH v2] dts: fix devbind initialization bug

2025-06-16 Thread Dean Marx
Rearrange the topology and DPDK setup/teardown calls during test runs to ensure the devbind script is not called while the DPDK tmp directory doesn't exist. Fixes: 4cef16f1f0a4 ("dts: improve port handling") Signed-off-by: Dean Marx --- dts/framework/test_run.py | 5 +++-- 1

[PATCH v2] dts: fix devbind initialization bug

2025-06-16 Thread Dean Marx
Rearrange the topology and DPDK setup/teardown calls during test runs to ensure the devbind script is not called while the DPDK tmp directory doesn't exist. Fixes: 4cef16f1f0a4 ("dts: improve port handling") Signed-off-by: Dean Marx --- dts/framework/test_run.py | 5 +++-- 1

[PATCH v1] dts: fix devbind initialization bug

2025-06-12 Thread Dean Marx
Rearrange the topology and DPDK setup/teardown calls during test runs to ensure the devbind script is not called while the DPDK tmp directory doesn't exist. Fixes: 4cef16f1f0a4 ("dts: improve port handling") Signed-off-by: Dean Marx --- dts/framework/test_run.py | 4 ++-- 1

Re: [PATCH] doc: elaborate on per test suite configuration dts docs

2025-06-05 Thread Dean Marx
e mapping of test suite names to their corresponding configurations." Reviewed-by: Dean Marx

[RFC PATCH 1/2] dts: add qinq strip and VLAN extend to testpmd shell

2025-06-05 Thread Dean Marx
Add QinQ strip and VLAN extend methods to TestPmdShell class. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 52 +++ 1 file changed, 52 insertions(+) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session

[RFC PATCH 2/2] dts: add qinq test suite

2025-06-05 Thread Dean Marx
Add QinQ test suite, which verifies PMD behavior when sending QinQ (IEEE 802.1ad) packets. Signed-off-by: Dean Marx --- dts/tests/TestSuite_qinq.py | 240 1 file changed, 240 insertions(+) create mode 100644 dts/tests/TestSuite_qinq.py diff --git a/dts

[RFC PATCH 0/2] add qinq test suite

2025-06-05 Thread Dean Marx
Forwarding - Confirms both VLAN tags are preserved across forwarding paths. Mismatched TPID Handling - Tests behavior when the outer VLAN uses a non-standard TPID, ensuring proper fallback behavior. Dean Marx (2): dts: add qinq strip and VLAN extend to testpmd shell dts: add qinq test

[PATCH v2 2/2] dts: rewrite dts rst

2025-06-03 Thread Dean Marx
Modify dts.rst to exclude redundant/outdated information about the project, and add new information regarding setup and framework design. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- doc/guides/tools/dts.rst | 372

[PATCH v2 1/2] dts: rewrite README

2025-06-03 Thread Dean Marx
Remove unnecessary information from README.md, and add new sections to clarify the purpose/use of DTS along with clear setup instructions. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 115

Re: [PATCH v2 3/3] dts: add packet capture test suite

2025-06-03 Thread Dean Marx
or SIGQUIT, not SIGINT: https://www.chromium.org/chromium-os/developer-library/reference/linux-constants/signals/ Otherwise: Reviewed-by: Dean Marx

Re: [PATCH v2 2/3] dts: add facility to change file permissions

2025-06-03 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [PATCH 2/2] dts: use tmp dir and DPDK tree dir

2025-05-28 Thread Dean Marx
Tested-by: Dean Marx

Re: [PATCH 1/2] dts: add remote create dir function

2025-05-28 Thread Dean Marx
Tested-by: Dean Marx

[PATCH v1 1/3] dts: rewrite README

2025-05-27 Thread Dean Marx
Remove unnecessary information from README.md, and add new sections to clarify the purpose/use of DTS along with clear setup instructions. Signed-off-by: Dean Marx --- dts/README.md | 104 +++--- 1 file changed, 39 insertions(+), 65 deletions(-) diff

[PATCH v1 2/3] dts: rewrite dts rst

2025-05-27 Thread Dean Marx
Modify dts.rst to exclude redundant/outdated information about the project, and add new information regarding setup and framework design. Signed-off-by: Dean Marx --- doc/guides/tools/dts.rst | 310 +-- 1 file changed, 99 insertions(+), 211 deletions(-) diff

[PATCH v1 3/3] dts: fix doc generation bug

2025-05-27 Thread Dean Marx
Fix a bug in the port stats check test suite that was causing the DTS doc generation to fail. Fixes: 8f21210b1d50 ("dts: add port stats check test suite") Signed-off-by: Dean Marx --- dts/tests/TestSuite_port_stats_checks.py | 13 + 1 file changed, 9 insertions(+), 4

Re: [RFC v2 6/6] dts: add performance test functions to test suite api

2025-05-22 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [RFC v2 5/6] dts: add trex traffic generator to dts framework

2025-05-22 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [RFC v2 4/6] dts: add extended timeout option to interactive shells.

2025-05-22 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [RFC v2 3/6] dts: add asynchronous support to ssh sessions.

2025-05-22 Thread Dean Marx
Reviewed-by: Dean Marx

Re: [RFC v2 2/6] dts: rework traffic generator inheritance structure.

2025-05-21 Thread Dean Marx
s. This commit message is worded a bit strangely to me, not sure garnered is the right word to use here. Also not sure what "as such" is referring to exactly > +"""Performance testing capable traffic generatiors.""" *generators Reviewed-by: Dean Marx

[PATCH v2 2/3] dts: add jump and priority tests to flow suite

2025-05-21 Thread Dean Marx
Add jump action verification method and test case to Flow API test suite, as well as a case for validating flows with different priority levels. Signed-off-by: Dean Marx --- dts/tests/TestSuite_flow.py | 187 +++- 1 file changed, 165 insertions(+), 22 deletions

[PATCH v2 3/3] dts: add flow validation

2025-05-21 Thread Dean Marx
Add a method for validating flow rules to the testpmd shell class. Implement test case skipping for flow rules that do not pass validation. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 15 dts/framework/test_run.py | 3 + dts/framework

[PATCH v2 1/3] dts: add rte flow test suite

2025-05-21 Thread Dean Marx
Add an RTE Flow API testing suite, which covers some basic synchronous Flow API rules that should be supported across PMDs. This suite will be added to over time, as the Flow API is too large to cover all in one suite, and sending one monolithic series would be impossible. Signed-off-by: Dean

Re: [RFC v2 1/6] dts: rework config module to support perf TGs

2025-05-20 Thread Dean Marx
ike the concept of having a configurations directory within DTS, those files were starting to add up anyways. Reviewed-by: Dean Marx

[PATCH v1 2/2] dts: add jump and priority tests to flow suite

2025-05-19 Thread Dean Marx
Add jump action verification method and test case to Flow API test suite, as well as a case for validating flows with different priority levels. Signed-off-by: Dean Marx --- dts/tests/TestSuite_flow.py | 187 +++- 1 file changed, 165 insertions(+), 22 deletions

[PATCH v1 1/2] dts: add rte flow test suite

2025-05-19 Thread Dean Marx
Add an RTE Flow API testing suite, which covers some basic synchronous Flow API rules that should be supported across PMDs. This suite will be added to over time, as the Flow API is too large to cover all in one suite, and sending one monolithic series would be impossible. Signed-off-by: Dean

[PATCH v2 3/4] dts: remove unnecessary capability requirement

2025-05-15 Thread Dean Marx
Remove capability requirement from checksum offload test suite that was not required to run the test cases. Signed-off-by: Dean Marx Reviewed-by: Luca Vizzarro Reviewed-by: Nicholas Pratte --- dts/tests/TestSuite_checksum_offload.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dts/tests

Re: [PATCH] dts: improve port handling

2025-05-15 Thread Dean Marx
Looks good! Reviewed-by: Dean Marx

[PATCH v2 4/4] dts: change verification field in unified packet suite

2025-05-15 Thread Dean Marx
Change the unified packet testing suite to use layer 4 destination ports as packet verification IDs. Signed-off-by: Dean Marx Reviewed-by: Luca Vizzarro Reviewed-by: Nicholas Pratte --- dts/tests/TestSuite_uni_pkt.py | 106 - 1 file changed, 51 insertions

[PATCH v2 1/4] dts: add layer 4 port field to verbose parser

2025-05-15 Thread Dean Marx
Add a field to the TestPmdVerbosePacket text parser that stores destination port values for TCP/UDP packets. Signed-off-by: Dean Marx Reviewed-by: Luca Vizzarro Reviewed-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v2 2/4] dts: change verification field in checksum offload suite

2025-05-15 Thread Dean Marx
Change the checksum offload testing suite to use layer 4 destination ports as packet verification IDs. Signed-off-by: Dean Marx Reviewed-by: Luca Vizzarro Reviewed-by: Nicholas Pratte --- dts/tests/TestSuite_checksum_offload.py | 130 ++-- 1 file changed, 77 insertions

Re: Flow API Test Suite Inquiry

2025-05-15 Thread Dean Marx
Hi all, I've submitted an RFC for an initial Flow test suite here: https://patches.dpdk.org/project/dpdk/patch/20250515163809.184720-2-dm...@iol.unh.edu/ It covers most of the functionality discussed in this thread, besides jump, RSS, and represented port actions which will be added in the near

  1   2   3   4   5   >