* [dts] [PATCH V2 1/2] tests/ice_dcf_data_path: rename suite @ 2022-08-01 9:58 Jiale Song 2022-08-01 9:58 ` [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: " Jiale Song 0 siblings, 1 reply; 4+ messages in thread From: Jiale Song @ 2022-08-01 9:58 UTC (permalink / raw) To: dts; +Cc: Jiale Song rename the name of ice_dcf_date_path to ice_dcf_data_path and synchronize testplan modifications. Signed-off-by: Jiale Song <songx.jiale@intel.com> --- ...te_ice_dcf_date_path.py => TestSuite_ice_dcf_data_path.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/{TestSuite_ice_dcf_date_path.py => TestSuite_ice_dcf_data_path.py} (99%) diff --git a/tests/TestSuite_ice_dcf_date_path.py b/tests/TestSuite_ice_dcf_data_path.py similarity index 99% rename from tests/TestSuite_ice_dcf_date_path.py rename to tests/TestSuite_ice_dcf_data_path.py index 3181aad7..83d17a33 100644 --- a/tests/TestSuite_ice_dcf_date_path.py +++ b/tests/TestSuite_ice_dcf_data_path.py @@ -10,7 +10,7 @@ from framework.pmd_output import PmdOutput from framework.test_case import TestCase -class DcfDatePathTest(TestCase): +class DcfDataPathTest(TestCase): vf_mac = "D2:6B:4C:EB:1C:26" wrong_mac = "68:05:CA:8D:ED:A8" @@ -37,7 +37,7 @@ class DcfDatePathTest(TestCase): def set_up(self): self.pmd_output.start_testpmd( cores="1S/4C/1T", - param="--txq=2 --rxq=2 --txd=384 --rxd=384", + param="--txq=4 --rxq=4 --txd=384 --rxd=384", prefix="vf", ports=[self.used_vf_pci], port_options={self.used_vf_pci: "cap=dcf"}, -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: rename suite 2022-08-01 9:58 [dts] [PATCH V2 1/2] tests/ice_dcf_data_path: rename suite Jiale Song @ 2022-08-01 9:58 ` Jiale Song 2022-08-30 10:27 ` Peng, Yuan 0 siblings, 1 reply; 4+ messages in thread From: Jiale Song @ 2022-08-01 9:58 UTC (permalink / raw) To: dts; +Cc: Jiale Song [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=y, Size: 5759 bytes --] rename the name of ice_dcf_date_path to ice_dcf_data_path and modify the format of testplan. Signed-off-by: Jiale Song <songx.jiale@intel.com> --- ...an.rst => ice_dcf_data_path_test_plan.rst} | 24 ++++++++++++++++--- test_plans/index.rst | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) rename test_plans/{ice_dcf_date_path_test_plan.rst => ice_dcf_data_path_test_plan.rst} (94%) diff --git a/test_plans/ice_dcf_date_path_test_plan.rst b/test_plans/ice_dcf_data_path_test_plan.rst similarity index 94% rename from test_plans/ice_dcf_date_path_test_plan.rst rename to test_plans/ice_dcf_data_path_test_plan.rst index 1a0df884..e530c438 100644 --- a/test_plans/ice_dcf_date_path_test_plan.rst +++ b/test_plans/ice_dcf_data_path_test_plan.rst @@ -1,3 +1,15 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(c) 2019 Intel Corporation + + +======================= +ICE DCF Data Path Tests +======================= + +Description +=========== + +This document provides the plan for testing DCF data path function of Intel® Ethernet 800 Series. Common steps for launching DCF ============================== @@ -17,7 +29,7 @@ Set a VF as trust :: Launch dpdk on the VF, request DCF mode :: ./usertools/dpdk-devbind.py -b vfio-pci 18:01.0 - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i --rxq=4 --txq=4 --txd=384 --rxd=384 Test Case: Launch DCF and do macfwd @@ -65,6 +77,7 @@ Send a series packets to check if DCF RSS is correct for IPv4 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.2")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3, and should be same to p4. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for IPv6 :: @@ -74,6 +87,7 @@ Send a series packets to check if DCF RSS is correct for IPv6 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:11:22:33:44:55")/IPv6(src="::22", dst="::11")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3, and should be same to p4. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv4) :: @@ -85,7 +99,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne Expected: p1 hash value is not equal to p2 or p3. p1 hash value is equal to p4 and p5. - +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv6) :: @@ -96,6 +110,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="11:22:33:44:55:77")/IPv6(src="::33", dst="::44")/GRE()/IPv6(src="::22", dst="::11")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3. p1 hash value is equal to p4 and p5. +p1/p2/p3 should be devided into different queues. Test Case: Check default rss for L4 @@ -122,6 +137,7 @@ Send a series packets to check if DCF RSS is correct for IPv4 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IP(src="192.168.1.1", dst="192.168.1.2")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for IPv6 :: @@ -133,6 +149,7 @@ Send a series packets to check if DCF RSS is correct for IPv6 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="11:22:33:44:55:77")/IPv6(src="::22", dst="::11")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv4) :: @@ -145,7 +162,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IPv6(src="::11", dst="::22")/GRE()/IP(src="192.168.1.1", dst="192.168.1.2")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6 and p7. - +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv6) :: @@ -158,6 +175,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IPv6(src="::33", dst="::44")/GRE()/IPv6(src="::22", dst="::11")/UDP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6 and p7. +check the packets are distributed to queues by rss. Test Case: Create rule with to original VF action diff --git a/test_plans/index.rst b/test_plans/index.rst index a78dd0f5..5c1744cb 100644 --- a/test_plans/index.rst +++ b/test_plans/index.rst @@ -28,7 +28,7 @@ The following are the test plans for the DPDK DTS automated test system. ice_advanced_iavf_rss_pppol2tpoudp_test_plan ice_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan ice_dcf_acl_filter_test_plan - ice_dcf_date_path_test_plan + ice_dcf_data_path_test_plan ice_dcf_switch_filter_test_plan ice_dcf_switch_filter_pppoe_test_plan ice_dcf_switch_filter_gtpu_test_plan -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: rename suite 2022-08-01 9:58 ` [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: " Jiale Song @ 2022-08-30 10:27 ` Peng, Yuan 0 siblings, 0 replies; 4+ messages in thread From: Peng, Yuan @ 2022-08-30 10:27 UTC (permalink / raw) To: Jiale, SongX, dts; +Cc: Jiale, SongX Acked-by: Peng, Yuan <yuan.peng@intel.com> -----Original Message----- From: Jiale Song <songx.jiale@intel.com> Sent: Monday, August 1, 2022 5:58 PM To: dts@dpdk.org Cc: Jiale, SongX <songx.jiale@intel.com> Subject: [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: rename suite rename the name of ice_dcf_date_path to ice_dcf_data_path and modify the format of testplan. Signed-off-by: Jiale Song <songx.jiale@intel.com> --- ^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts] [PATCH V2 1/2] ice_dcf_data_path: rename suite @ 2022-07-29 16:10 Jiale Song 2022-07-29 16:10 ` [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: " Jiale Song 0 siblings, 1 reply; 4+ messages in thread From: Jiale Song @ 2022-07-29 16:10 UTC (permalink / raw) To: dts; +Cc: Jiale Song rename suite and synchronize testplan modifications. Signed-off-by: Jiale Song <songx.jiale@intel.com> --- ...te_ice_dcf_date_path.py => TestSuite_ice_dcf_data_path.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/{TestSuite_ice_dcf_date_path.py => TestSuite_ice_dcf_data_path.py} (99%) diff --git a/tests/TestSuite_ice_dcf_date_path.py b/tests/TestSuite_ice_dcf_data_path.py similarity index 99% rename from tests/TestSuite_ice_dcf_date_path.py rename to tests/TestSuite_ice_dcf_data_path.py index 3181aad7..83d17a33 100644 --- a/tests/TestSuite_ice_dcf_date_path.py +++ b/tests/TestSuite_ice_dcf_data_path.py @@ -10,7 +10,7 @@ from framework.pmd_output import PmdOutput from framework.test_case import TestCase -class DcfDatePathTest(TestCase): +class DcfDataPathTest(TestCase): vf_mac = "D2:6B:4C:EB:1C:26" wrong_mac = "68:05:CA:8D:ED:A8" @@ -37,7 +37,7 @@ class DcfDatePathTest(TestCase): def set_up(self): self.pmd_output.start_testpmd( cores="1S/4C/1T", - param="--txq=2 --rxq=2 --txd=384 --rxd=384", + param="--txq=4 --rxq=4 --txd=384 --rxd=384", prefix="vf", ports=[self.used_vf_pci], port_options={self.used_vf_pci: "cap=dcf"}, -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: rename suite 2022-07-29 16:10 [dts] [PATCH V2 1/2] ice_dcf_data_path: " Jiale Song @ 2022-07-29 16:10 ` Jiale Song 0 siblings, 0 replies; 4+ messages in thread From: Jiale Song @ 2022-07-29 16:10 UTC (permalink / raw) To: dts; +Cc: Jiale Song [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=y, Size: 5714 bytes --] rename suite and modify the format of testplan. Signed-off-by: Jiale Song <songx.jiale@intel.com> --- ...an.rst => ice_dcf_data_path_test_plan.rst} | 24 ++++++++++++++++--- test_plans/index.rst | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) rename test_plans/{ice_dcf_date_path_test_plan.rst => ice_dcf_data_path_test_plan.rst} (94%) diff --git a/test_plans/ice_dcf_date_path_test_plan.rst b/test_plans/ice_dcf_data_path_test_plan.rst similarity index 94% rename from test_plans/ice_dcf_date_path_test_plan.rst rename to test_plans/ice_dcf_data_path_test_plan.rst index 1a0df884..e530c438 100644 --- a/test_plans/ice_dcf_date_path_test_plan.rst +++ b/test_plans/ice_dcf_data_path_test_plan.rst @@ -1,3 +1,15 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(c) 2019 Intel Corporation + + +======================= +ICE DCF Data Path Tests +======================= + +Description +=========== + +This document provides the plan for testing DCF data path function of Intel® Ethernet 800 Series. Common steps for launching DCF ============================== @@ -17,7 +29,7 @@ Set a VF as trust :: Launch dpdk on the VF, request DCF mode :: ./usertools/dpdk-devbind.py -b vfio-pci 18:01.0 - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i --rxq=4 --txq=4 --txd=384 --rxd=384 Test Case: Launch DCF and do macfwd @@ -65,6 +77,7 @@ Send a series packets to check if DCF RSS is correct for IPv4 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.2")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3, and should be same to p4. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for IPv6 :: @@ -74,6 +87,7 @@ Send a series packets to check if DCF RSS is correct for IPv6 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:11:22:33:44:55")/IPv6(src="::22", dst="::11")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3, and should be same to p4. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv4) :: @@ -85,7 +99,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne Expected: p1 hash value is not equal to p2 or p3. p1 hash value is equal to p4 and p5. - +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv6) :: @@ -96,6 +110,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="11:22:33:44:55:77")/IPv6(src="::33", dst="::44")/GRE()/IPv6(src="::22", dst="::11")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3. p1 hash value is equal to p4 and p5. +p1/p2/p3 should be devided into different queues. Test Case: Check default rss for L4 @@ -122,6 +137,7 @@ Send a series packets to check if DCF RSS is correct for IPv4 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IP(src="192.168.1.1", dst="192.168.1.2")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for IPv6 :: @@ -133,6 +149,7 @@ Send a series packets to check if DCF RSS is correct for IPv6 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="11:22:33:44:55:77")/IPv6(src="::22", dst="::11")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv4) :: @@ -145,7 +162,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IPv6(src="::11", dst="::22")/GRE()/IP(src="192.168.1.1", dst="192.168.1.2")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6 and p7. - +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv6) :: @@ -158,6 +175,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IPv6(src="::33", dst="::44")/GRE()/IPv6(src="::22", dst="::11")/UDP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6 and p7. +check the packets are distributed to queues by rss. Test Case: Create rule with to original VF action diff --git a/test_plans/index.rst b/test_plans/index.rst index a78dd0f5..5c1744cb 100644 --- a/test_plans/index.rst +++ b/test_plans/index.rst @@ -28,7 +28,7 @@ The following are the test plans for the DPDK DTS automated test system. ice_advanced_iavf_rss_pppol2tpoudp_test_plan ice_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan ice_dcf_acl_filter_test_plan - ice_dcf_date_path_test_plan + ice_dcf_data_path_test_plan ice_dcf_switch_filter_test_plan ice_dcf_switch_filter_pppoe_test_plan ice_dcf_switch_filter_gtpu_test_plan -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-30 10:27 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-08-01 9:58 [dts] [PATCH V2 1/2] tests/ice_dcf_data_path: rename suite Jiale Song 2022-08-01 9:58 ` [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: " Jiale Song 2022-08-30 10:27 ` Peng, Yuan -- strict thread matches above, loose matches on Subject: below -- 2022-07-29 16:10 [dts] [PATCH V2 1/2] ice_dcf_data_path: " Jiale Song 2022-07-29 16:10 ` [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: " Jiale Song
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).