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

2025-07-18 Thread Thomas Wilks
supported hashing algorithms reported by the NIC are correct. Signed-off-by: Alex Chapman Signed-off-by: Thomas Wilks --- dts/tests/TestSuite_pmd_rss.py | 610 + 1 file changed, 610 insertions(+) create mode 100644 dts/tests/TestSuite_pmd_rss.py diff --git a/dts

[RFC PATCH v3 1/2] dts: add RSS functions to testpmd

2025-07-18 Thread Thomas Wilks
d within testpmd RSS commands without any further changes. Signed-off-by: Alex Chapman Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek Reviewed-by: Patrick Robb Tested-by: Patrick Robb --- dts/framework/remote_session/testpmd_shell.py | 132 -- 1 file changed, 119 inserti

[RFC PATCH v3 0/2] dts: add RSS functions and test suite

2025-07-18 Thread Thomas Wilks
replaced the flow_validate function. Regards, Thomas Wilks Alex Chapman (1): dts: add RSS functions to testpmd Thomas Wilks (1): dts: add PMD RSS testsuite dts/framework/remote_session/testpmd_shell.py | 132 +++- dts/tests/TestSuite_pmd_rss.py| 610 ++ 2 files

[PATCH 2/2] dts: rework test results

2025-06-27 Thread Thomas Wilks
output. Finally, a new textual result summary is generated showing the result of all the steps. Signed-off-by: Thomas Wilks Signed-off-by: Luca Vizzarro --- dts/framework/runner.py | 33 +- dts/framework/test_result.py | 882 +-- dts/framework

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

2025-06-27 Thread Thomas Wilks
From: Luca Vizzarro The test suite name property was previously returning the class name instead of the way that test suite are actually named, e.g. TestHelloWorld instead of hello_world. This change rectifies this inconsistency. Signed-off-by: Luca Vizzarro --- dts/framework/test_suite.py |

[PATCH 0/2] dts: rework test results

2025-06-27 Thread Thomas Wilks
Hi, This patch reworks DTS test run results. Regards, Thomas Luca Vizzarro (1): dts: change test suite name property Thomas Wilks (1): dts: rework test results dts/framework/runner.py | 33 +- dts/framework/test_result.py | 882

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

2025-04-17 Thread Thomas Wilks
Recheck-request: iol-unit-amd64-testing From: Thomas Wilks Sent: 15 April 2025 14:09 To: dev@dpdk.org Cc: Paul Szczepanek ; Luca Vizzarro ; Patrick Robb ; Thomas Wilks Subject: [PATCH 0/2] dts: use tmp dir and DPDK tree dir Hi, Sending this update to extend

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

2025-04-15 Thread Thomas Wilks
Hi, Sending this update to extend the use of the tmp and DPDK tree dir. Best regards, Thomas Thomas Wilks (2): dts: add remote create dir function dts: use tmp dir and DPDK tree dir dts/framework/remote_session/dpdk.py | 74 ++-- dts/framework/testbed_model

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

2025-04-15 Thread Thomas Wilks
Add a function that creates a directory on the remote. Signed-off-by: Thomas Wilks Reviewed-by: Luca Vizzarro Reviewed-by: Paul Szczepanek --- dts/framework/testbed_model/os_session.py| 4 dts/framework/testbed_model/posix_session.py | 4 2 files changed, 8 insertions(+) diff

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

2025-04-15 Thread Thomas Wilks
tree temporary directory is fixed to a predefined directory name. Make extraction verbose to avoid timeout for big tarballs. Signed-off-by: Thomas Wilks Reviewed-by: Luca Vizzarro Reviewed-by: Paul Szczepanek --- dts/framework/remote_session/dpdk.py | 74 ++-- dts

[PATCH 2/2] dts: import lldp package in scapy

2025-03-31 Thread Thomas Wilks
Add import for lldp scapy package to enable lldp packet creation and handling. Signed-off-by: Thomas Wilks Reviewed-by: Luca Vizzarro --- dts/framework/testbed_model/traffic_generator/scapy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dts/framework/testbed_model/traffic_generator

[PATCH 0/2] dts: add packet capture test suite

2025-03-31 Thread Thomas Wilks
Hi, Sending this new test suite that tests the packet capture framework. Best regards, Thomas Depends-on: series-34865 ("dts: shell improvements") Thomas Wilks (2): dts: add packet capture test suite dts: import lldp package in scapy .../dts/tests.TestSuite_packet_capture.rs

[PATCH 1/2] dts: add packet capture test suite

2025-03-31 Thread Thomas Wilks
Add a test suite that tests the packet capture framework through the use of dpdk-pdump. Signed-off-by: Thomas Wilks Reviewed-by: Luca Vizzarro --- .../dts/tests.TestSuite_packet_capture.rst| 8 + dts/tests/TestSuite_packet_capture.py | 358 ++ 2 files changed, 366

[PATCH v2 6/6] dts: add NIC capabilities for hash algorithms

2025-02-25 Thread Thomas Wilks
Added checks for if a nic supports the simple_xor, symmetric_toeplitz, symmetric_toeplitz_sort, toeplitz, and default hashing algorithms. Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/framework/remote_session/testpmd_shell.py | 146 ++ dts/tests

[PATCH v2 5/6] dts: add PMD RSS key update testsuite

2025-02-25 Thread Thomas Wilks
. Signed-off-by: Alex Chapman Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/tests/TestSuite_pmd_rss_key_update.py | 168 ++ 1 file changed, 168 insertions(+) create mode 100644 dts/tests/TestSuite_pmd_rss_key_update.py diff --git a/dts/tests

[PATCH v2 3/6] dts: add PMD RSS hash testsuite

2025-02-25 Thread Thomas Wilks
supported hashing algorithms reported by the NIC are correct. Signed-off-by: Alex Chapman Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/tests/TestSuite_pmd_rss_hash.py | 118 1 file changed, 118 insertions(+) create mode 100644 dts/tests

[PATCH v2 4/6] dts: add PMD RSS RETA testsuite

2025-02-25 Thread Thomas Wilks
Chapman Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/tests/TestSuite_pmd_rss_reta.py | 101 1 file changed, 101 insertions(+) create mode 100644 dts/tests/TestSuite_pmd_rss_reta.py diff --git a/dts/tests/TestSuite_pmd_rss_reta.py b/dts/tests

[PATCH v2 2/6] dts: add utils for PMD RSS testsuites

2025-02-25 Thread Thomas Wilks
correctly associates with the packets RSS queue. 2. Send test packets specific to RSS, such as symmetric packets that have the L4 port src and dst swapped. 3. The setting up of the RSS environment which is common between all 3 tets suites. Signed-off-by: Alex Chapman Signed-off-by: Thomas

[PATCH v2 0/6] Added RSS functions and tests.

2025-02-25 Thread Thomas Wilks
hash testsuite dts: add PMD RSS RETA testsuite dts: add PMD RSS key update testsuite Thomas Wilks (1): dts: add NIC capabilities for hash algorithms dts/framework/remote_session/testpmd_shell.py | 283 +- dts/tests/TestSuite_pmd_rss_hash.py | 121 dts/tests

[PATCH v2 1/6] dts: add RSS functions to testpmd

2025-02-25 Thread Thomas Wilks
d within testpmd RSS commands without any further changes. Signed-off-by: Alex Chapman Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/framework/remote_session/testpmd_shell.py | 137 -- 1 file changed, 123 insertions(+), 14 deletions(-) diff --git a/dts/fram

[PATCH v1 2/2] dts: add verify to match all packets

2025-01-16 Thread Thomas Wilks
Added verify to match_all_packets function that if False and there are missing packets causes the function to return False, if all packets are present it returns True. Signed-off-by: Thomas Wilks --- Reviewed-by: Luca Vizzarro Reviewed-by: Paul Szczepanek --- dts/framework/test_suite.py | 23

[PATCH v1 1/2] dts: add promiscuous mode verification test

2025-01-16 Thread Thomas Wilks
Added verification that enables promiscuous mode, sends a packet with a different destination mac address and then disables promiscuous mode, sends the same packet and checks if the packet was filtered out. Signed-off-by: Thomas Wilks --- Reviewed-by: Luca Vizzarro Reviewed-by: Paul Szczepanek

[PATCH v1 0/2] dts: add promiscuous mode verification test

2025-01-16 Thread Thomas Wilks
v1: - Added testsuite that verifies promiscuous mode. - Added verify to match_all_packets function. Depends-on: patch-149773 ("dts: allow expected packets to come from the TG") Thomas Wilks (2): dts: add promiscuous mode verification test dts: add verify to match all packets dts

[PATCH v3 2/2] dts: add softnic test

2025-01-09 Thread Thomas Wilks
From: Paul Szczepanek Add test that uses a softnic virtual device to forward packets. Signed-off-by: Thomas Wilks Signed-off-by: Paul Szczepanek --- dts/tests/TestSuite_softnic.py | 119 + 1 file changed, 119 insertions(+) create mode 100644 dts/tests

[PATCH v3 1/2] dts: allow expected packets to come from the TG

2025-01-09 Thread Thomas Wilks
From: Paul Szczepanek Add sent_from_tg variable to get_expected_packets for when packets are sent from the TG. Signed-off-by: Thomas Wilks Signed-off-by: Paul Szczepanek --- dts/framework/test_suite.py | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a

[PATCH v3 0/2] dts: add softnic test

2025-01-09 Thread Thomas Wilks
v3: - Remove disable_device_start=True from shell start - Fixed Docstrings Paul Szczepanek (2): dts: allow expected packets to come from the TG dts: add softnic test dts/framework/test_suite.py| 18 +++-- dts/tests/TestSuite_softnic.py | 119 + 2 files ch

[PATCH v2 2/2] dts: add port restart configuration persistency test

2024-12-12 Thread Thomas Wilks
Added test that sets various port settings and verifies that they persist after a port restart. Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- ...stSuite_port_restart_config_persistency.py | 101 ++ 1 file changed, 101 insertions(+) create mode 100644 dts/tests

[PATCH v2 1/2] dts: add new testpmd shell functions

2024-12-12 Thread Thomas Wilks
Add support for setting Mac address, set flow control in the testpmd shell. Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/framework/remote_session/testpmd_shell.py | 126 ++ 1 file changed, 126 insertions(+) diff --git a/dts/framework/remote_session

[PATCH v2 0/2] dts: Add port restart configuration persistency testsuite

2024-12-12 Thread Thomas Wilks
v2: - Removed Vf check - Fixed spelling - Fixed Docstrings - Added verification to testpmd commands - Extracted flow control parameters into a dataclass - Fixed syntax in testsuite Thomas Wilks (2): dts: add new testpmd shell functions dts: add port restart configuration persistency test

[PATCH v1 2/2] dts: add port restart configuration persistency test

2024-12-10 Thread Thomas Wilks
Added test that sets various port settings and verifies that they persist after a port restart. Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- ...stSuite_port_restart_config_persistency.py | 117 ++ 1 file changed, 117 insertions(+) create mode 100644 dts/tests

[PATCH v1 1/2] dts: add new testpmd shell functions

2024-12-10 Thread Thomas Wilks
Add support for setting Mac address, set flow control, VF mode in the testpmd shell. Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek --- dts/framework/remote_session/testpmd_shell.py | 120 ++ 1 file changed, 120 insertions(+) diff --git a/dts/framework/remote_session

[PATCH v2] dts: add l2fwd test suite

2024-10-30 Thread Thomas Wilks
Add a basic L2 forwarding test suite which tests the correct functionality of the forwarding facility built-in in the DPDK. The tests are performed with different queues numbers per port. Bugzilla ID: 1481 Signed-off-by: Luca Vizzarro Signed-off-by: Thomas Wilks Reviewed-by: Paul Szczepanek