[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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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