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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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 |
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
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
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
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 | 104 --
1 file changed, 97 insert
supported hashing algorithms reported by the NIC are correct.
Signed-off-by: Thomas Wilks
---
dts/tests/TestSuite_pmd_rss.py | 383 +
1 file changed, 383 insertions(+)
create mode 100644 dts/tests/TestSuite_pmd_rss.py
diff --git a/dts/tests/TestSuite_pmd_rss.py b
:
- Merged the RSS hashing algorithms tests into a single test case.
- Resolved issues with packet RSS queues when being ran on ConnectX nics.
- Updated doc strings to better reflect the test suites functionality.
- Moved RETA configuration into a dedicated function.
Regards,
Thomas Wilks
Alex Chapman
35 matches
Mail list logo