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
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
22 matches
Mail list logo