From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37582A0C41; Thu, 30 Sep 2021 05:30:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED9E940DDA; Thu, 30 Sep 2021 05:30:56 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id EA85B4067E for ; Thu, 30 Sep 2021 05:30:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10122"; a="288749701" X-IronPort-AV: E=Sophos;i="5.85,335,1624345200"; d="scan'208";a="288749701" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2021 20:30:53 -0700 X-IronPort-AV: E=Sophos;i="5.85,335,1624345200"; d="scan'208";a="479649313" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2021 20:30:51 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Thu, 30 Sep 2021 11:44:16 +0800 Message-Id: <1632973456-9493-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] test_plan/tests: replace eal allowlist option X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" because dpdk no longer supports the eal parameter '-w', replace eal '-w' option with '-a' Signed-off-by: Jiale Song --- .../cvl_advanced_iavf_rss_gtpu_test_plan.rst | 2 +- .../cvl_advanced_iavf_rss_test_plan.rst | 2 +- ...vf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst | 2 +- .../cvl_advanced_rss_pppoe_test_plan.rst | 4 ++-- ...ed_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst | 4 ++-- test_plans/cvl_dcf_acl_filter_test_plan.rst | 20 ++++++++-------- test_plans/cvl_dcf_date_path_test_plan.rst | 2 +- .../cvl_dcf_switch_filter_pppoe_test_plan.rst | 2 +- .../cvl_dcf_switch_filter_test_plan.rst | 10 ++++---- test_plans/cvl_fdir_test_plan.rst | 4 ++-- test_plans/cvl_limit_value_test_test_plan.rst | 18 +++++++------- .../cvl_switch_filter_pppoe_test_plan.rst | 4 ++-- test_plans/cvl_switch_filter_test_plan.rst | 4 ++-- ...ckage_download_in_ice_driver_test_plan.rst | 4 ++-- test_plans/flexible_rxd_test_plan.rst | 24 +++++++++---------- .../iavf_flexible_descriptor_test_plan.rst | 22 ++++++++--------- ..._package_driver_error_handle_test_plan.rst | 2 +- test_plans/l2tp_esp_coverage_test_plan.rst | 12 +++++----- tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py | 2 +- tests/TestSuite_cvl_advanced_rss.py | 2 +- tests/TestSuite_cvl_advanced_rss_gtpu.py | 2 +- tests/TestSuite_cvl_advanced_rss_pppoe.py | 2 +- ..._cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py | 2 +- tests/TestSuite_cvl_fdir.py | 4 ++-- tests/TestSuite_cvl_iavf_rss_configure.py | 2 +- tests/TestSuite_cvl_qinq.py | 2 +- ...e_enable_package_download_in_ice_driver.py | 4 ++-- ...tSuite_iavf_package_driver_error_handle.py | 2 +- tests/TestSuite_l2tp_esp_coverage.py | 2 +- 29 files changed, 84 insertions(+), 84 deletions(-) mode change 100644 => 100755 test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst mode change 100644 => 100755 test_plans/cvl_advanced_iavf_rss_test_plan.rst mode change 100644 => 100755 test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst mode change 100644 => 100755 test_plans/cvl_advanced_rss_pppoe_test_plan.rst mode change 100644 => 100755 test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst mode change 100644 => 100755 test_plans/cvl_dcf_acl_filter_test_plan.rst mode change 100644 => 100755 test_plans/cvl_dcf_switch_filter_pppoe_test_plan.rst mode change 100644 => 100755 test_plans/cvl_dcf_switch_filter_test_plan.rst mode change 100644 => 100755 test_plans/cvl_fdir_test_plan.rst mode change 100644 => 100755 test_plans/cvl_limit_value_test_test_plan.rst mode change 100644 => 100755 test_plans/cvl_switch_filter_pppoe_test_plan.rst mode change 100644 => 100755 test_plans/cvl_switch_filter_test_plan.rst mode change 100644 => 100755 test_plans/enable_package_download_in_ice_driver_test_plan.rst mode change 100644 => 100755 test_plans/flexible_rxd_test_plan.rst mode change 100644 => 100755 test_plans/iavf_flexible_descriptor_test_plan.rst mode change 100644 => 100755 test_plans/iavf_package_driver_error_handle_test_plan.rst mode change 100644 => 100755 test_plans/l2tp_esp_coverage_test_plan.rst mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py mode change 100644 => 100755 tests/TestSuite_cvl_advanced_rss.py mode change 100644 => 100755 tests/TestSuite_cvl_advanced_rss_pppoe.py mode change 100644 => 100755 tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py mode change 100644 => 100755 tests/TestSuite_cvl_fdir.py mode change 100644 => 100755 tests/TestSuite_cvl_qinq.py mode change 100644 => 100755 tests/TestSuite_enable_package_download_in_ice_driver.py mode change 100644 => 100755 tests/TestSuite_iavf_package_driver_error_handle.py mode change 100644 => 100755 tests/TestSuite_l2tp_esp_coverage.py diff --git a/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst old mode 100644 new mode 100755 index 909c7221..7d99f775 --- a/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst +++ b/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst @@ -213,7 +213,7 @@ Prerequisites 5. Launch the testpmd to configuration queue of rx and tx number 16 in DUT:: - testpmd>./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -w 0000:18:01.0 -- -i --rxq=16 --txq=16 + testpmd>./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16 testpmd>set fwd rxonly testpmd>set verbose 1 diff --git a/test_plans/cvl_advanced_iavf_rss_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_test_plan.rst old mode 100644 new mode 100755 index 27c8792f..0e0a8104 --- a/test_plans/cvl_advanced_iavf_rss_test_plan.rst +++ b/test_plans/cvl_advanced_iavf_rss_test_plan.rst @@ -349,7 +349,7 @@ Prerequisites 5. Launch the testpmd to configuration queue of rx and tx number 16 in DUT:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -w 0000:18:01.0 -- -i --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16 testpmd>set fwd rxonly testpmd>set verbose 1 diff --git a/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst old mode 100644 new mode 100755 index b1209868..b9229f19 --- a/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst +++ b/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst @@ -119,7 +119,7 @@ Prerequisites 6. Launch the testpmd to configuration queue of rx and tx number 16 in DUT:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -w 0000:18:01.0 -- -i --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16 testpmd>set fwd rxonly testpmd>set verbose 1 diff --git a/test_plans/cvl_advanced_rss_pppoe_test_plan.rst b/test_plans/cvl_advanced_rss_pppoe_test_plan.rst old mode 100644 new mode 100755 index e209e0d4..829a94d2 --- a/test_plans/cvl_advanced_rss_pppoe_test_plan.rst +++ b/test_plans/cvl_advanced_rss_pppoe_test_plan.rst @@ -125,7 +125,7 @@ Prerequisites 5. Launch the testpmd in DUT for cases with toeplitz hash function:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 -- -i --rxq=16 --txq=16 --disable-rss + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0 -- -i --rxq=16 --txq=16 --disable-rss testpmd> port config 0 rss-hash-key ipv4 1b9d58a4b961d9cd1c56ad1621c3ad51632c16a5d16c21c3513d132c135d132c13ad1531c23a51d6ac49879c499d798a7d949c8a testpmd> set fwd rxonly testpmd> set verbose 1 @@ -133,7 +133,7 @@ Prerequisites Launch testpmd for cases with symmetric_toeplitz and simple_xor hash function:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 -- -i --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0 -- -i --rxq=16 --txq=16 6. on tester side, copy the layer python file to /root:: diff --git a/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst b/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst old mode 100644 new mode 100755 index a0c232d9..bc2db466 --- a/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst +++ b/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst @@ -116,7 +116,7 @@ Prerequisites 5. Launch the testpmd in DUT for cases with toeplitz hash function:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 -- -i --rxq=16 --txq=16 --disable-rss + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0 -- -i --rxq=16 --txq=16 --disable-rss testpmd> port config 0 rss-hash-key ipv4 1b9d58a4b961d9cd1c56ad1621c3ad51632c16a5d16c21c3513d132c135d132c13ad1531c23a51d6ac49879c499d798a7d949c8a testpmd> set fwd rxonly testpmd> set verbose 1 @@ -124,7 +124,7 @@ Prerequisites Launch testpmd for cases with symmetric_toeplitz and simple_xor hash function:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 -- -i --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0 -- -i --rxq=16 --txq=16 6. on tester side, copy the layer python file to /root:: diff --git a/test_plans/cvl_dcf_acl_filter_test_plan.rst b/test_plans/cvl_dcf_acl_filter_test_plan.rst old mode 100644 new mode 100755 index 378514dd..c74dcb68 --- a/test_plans/cvl_dcf_acl_filter_test_plan.rst +++ b/test_plans/cvl_dcf_acl_filter_test_plan.rst @@ -95,7 +95,7 @@ Prerequisites 9. Launch dpdk on VF0, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -w 0000:86:01.0,cap=dcf --file-prefix=vf0 --log-level="ice,7" -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:86:01.0,cap=dcf --file-prefix=vf0 --log-level="ice,7" -- -i testpmd> set fwd mac testpmd> set verbose 1 testpmd> start @@ -106,7 +106,7 @@ Prerequisites 10. Launch dpdk on VF1:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -w 86:01.1 --file-prefix=vf1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -a 86:01.1 --file-prefix=vf1 -- -i testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -118,7 +118,7 @@ Prerequisites or launch one testpmd on VF0 and VF1:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -w 0000:86:01.0,cap=dcf -w 86:01.1 --file-prefix=vf0 --log-level="ice,7" -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:86:01.0,cap=dcf -a 86:01.1 --file-prefix=vf0 --log-level="ice,7" -- -i Common steps of basic cases =========================== @@ -516,11 +516,11 @@ while we can create 256 ipv4-udp/ipv4-tcp/ipv4-sctp rules at most. 1. launch DPDK on VF0, request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -w 86:01.0,cap=dcf -- -i --port-topology=loop + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -a 86:01.0,cap=dcf -- -i --port-topology=loop Launch dpdk on VF1:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -w 86:01.1 --file-prefix=vf1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -a 86:01.1 --file-prefix=vf1 -- -i 2. create a full mask rule, it's created as a switch rule:: @@ -592,11 +592,11 @@ Test Case 6: max entry number ipv4-other ======================================== 1. launch DPDK on VF0, request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -w 86:01.0,cap=dcf -- -i --port-topology=loop + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -a 86:01.0,cap=dcf -- -i --port-topology=loop Launch dpdk on VF1:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -w 86:01.1 --file-prefix=vf1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -a 86:01.1 --file-prefix=vf1 -- -i 2. create a full mask rule, it's created as a switch rule:: @@ -669,11 +669,11 @@ Test Case 7: max entry number combined patterns =============================================== 1. launch DPDK on VF0, request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -w 86:01.0,cap=dcf -- -i --port-topology=loop + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -a 86:01.0,cap=dcf -- -i --port-topology=loop Launch dpdk on VF1:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -w 86:01.1 --file-prefix=vf1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -a 86:01.1 --file-prefix=vf1 -- -i 2. create 32 ipv4-other ACL rules:: @@ -912,7 +912,7 @@ Test Case 11: switch/acl/fdir/rss rules combination =================================================== 1. launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -w 86:01.0,cap=dcf -w 86:01.1 --log-level="ice,7" -- -i --port-topology=loop --rxq=4 --txq=4 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc -n 4 -a 86:01.0,cap=dcf -a 86:01.1 --log-level="ice,7" -- -i --port-topology=loop --rxq=4 --txq=4 2. create rules:: diff --git a/test_plans/cvl_dcf_date_path_test_plan.rst b/test_plans/cvl_dcf_date_path_test_plan.rst index 380090f9..5ce0cc64 100755 --- a/test_plans/cvl_dcf_date_path_test_plan.rst +++ b/test_plans/cvl_dcf_date_path_test_plan.rst @@ -17,7 +17,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/testpmd -l 6-10 -n 4 -w 18:01.0,cap=dcf --file-prefix=vf -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i Test Case: Launch DCF and do macfwd diff --git a/test_plans/cvl_dcf_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_dcf_switch_filter_pppoe_test_plan.rst old mode 100644 new mode 100755 index 0149b464..d781f737 --- a/test_plans/cvl_dcf_switch_filter_pppoe_test_plan.rst +++ b/test_plans/cvl_dcf_switch_filter_pppoe_test_plan.rst @@ -201,7 +201,7 @@ Prerequisites 9. Launch dpdk on VF0 and VF1, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -w 0000:18:01.1 -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -- -i testpmd> set portlist 1 testpmd> set fwd rxonly testpmd> set verbose 1 diff --git a/test_plans/cvl_dcf_switch_filter_test_plan.rst b/test_plans/cvl_dcf_switch_filter_test_plan.rst old mode 100644 new mode 100755 index 116b2cca..76857e4e --- a/test_plans/cvl_dcf_switch_filter_test_plan.rst +++ b/test_plans/cvl_dcf_switch_filter_test_plan.rst @@ -231,7 +231,7 @@ Prerequisites 9. Launch dpdk on VF0 and VF1, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -w 0000:18:01.1 -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -- -i testpmd> set portlist 1 testpmd> set fwd rxonly testpmd> set verbose 1 @@ -2392,7 +2392,7 @@ Subcase 1: add existing rules but with different vfs 1. Launch dpdk on VF0, VF1 and VF2, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -w 0000:18:01.1 -w 0000:18:01.2 -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -a 0000:18:01.2 -- -i testpmd> set portlist 1,2 testpmd> set fwd rxonly testpmd> set verbose 1 @@ -2454,7 +2454,7 @@ Subcase 3: add two rules with one rule's input set included in the other 1. Launch dpdk on VF0, VF1 and VF2, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -w 0000:18:01.1 -w 0000:18:01.2 -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -a 0000:18:01.2 -- -i testpmd> set portlist 1,2 testpmd> set fwd rxonly testpmd> set verbose 1 @@ -2617,7 +2617,7 @@ are dropped. 1. Launch dpdk on VF0, VF1 and VF2, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -w 0000:18:01.1 -w 0000:18:01.2 -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -a 0000:18:01.2 -- -i testpmd> set portlist 1,2 testpmd> set fwd mac testpmd> set verbose 1 @@ -2688,7 +2688,7 @@ This case is designed based on 4*25G NIC. 6. launch dpdk on VF0, and request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -- -i 7. set a switch rule to each VF from DCF, totally 63 rules:: diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst old mode 100644 new mode 100755 index 24586016..64d06f1b --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -145,7 +145,7 @@ Prerequisites 5. Launch the app ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:00.0 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop + ./testpmd -c 0xff -n 6 -a 86:00.0 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop testpmd> set fwd rxonly testpmd> set verbose 1 @@ -156,7 +156,7 @@ Prerequisites Notes: if need two ports environment, launch ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:00.0 -w 86:00.1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop + ./testpmd -c 0xff -n 6 -a 86:00.0 -a 86:00.1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop Default parameters ------------------ diff --git a/test_plans/cvl_limit_value_test_test_plan.rst b/test_plans/cvl_limit_value_test_test_plan.rst old mode 100644 new mode 100755 index 9fec36f2..160b126e --- a/test_plans/cvl_limit_value_test_test_plan.rst +++ b/test_plans/cvl_limit_value_test_test_plan.rst @@ -91,7 +91,7 @@ Prerequisites 5. Launch the app ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:01.0 -w 86:01.1 --file-prefix=vf -- -i --rxq=16 --txq=16 + ./testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf -- -i --rxq=16 --txq=16 testpmd> set fwd rxonly testpmd> set verbose 1 @@ -159,7 +159,7 @@ if 2 vfs generated by 2 pf port, each vf can create 14336 rules at most. 1. start testpmd on vf00:: - ./testpmd -c 0xf -n 6 -w 86:01.0 --file-prefix=vf00 -- -i --rxq=4 --txq=4 + ./testpmd -c 0xf -n 6 -a 86:01.0 --file-prefix=vf00 -- -i --rxq=4 --txq=4 create 1 rule on vf00:: @@ -169,7 +169,7 @@ if 2 vfs generated by 2 pf port, each vf can create 14336 rules at most. 2. start testpmd on vf10:: - ./testpmd -c 0xf0 -n 6 -w 86:0a.0 --file-prefix=vf10 -- -i --rxq=4 --txq=4 + ./testpmd -c 0xf0 -n 6 -a 86:0a.0 --file-prefix=vf10 -- -i --rxq=4 --txq=4 create 14336 rules on vf10:: @@ -218,7 +218,7 @@ this card can create (2048 + 14336)*2=32768 rules. 2. start testpmd on vf00:: - ./testpmd -c 0xf -n 6 -w 86:01.0 --file-prefix=vf00 -- -i --rxq=4 --txq=4 + ./testpmd -c 0xf -n 6 -a 86:01.0 --file-prefix=vf00 -- -i --rxq=4 --txq=4 create 1 rule on vf00:: @@ -228,7 +228,7 @@ this card can create (2048 + 14336)*2=32768 rules. 2. start testpmd on vf10:: - ./testpmd -c 0xf0 -n 6 -w 86:0a.0 --file-prefix=vf10 -- -i --rxq=4 --txq=4 + ./testpmd -c 0xf0 -n 6 -a 86:0a.0 --file-prefix=vf10 -- -i --rxq=4 --txq=4 create 14335 rules on vf10:: @@ -289,7 +289,7 @@ so if create 16384 rules on pf1,check failed to create rule on vf00 and vf10(vf0 3. start testpmd on vf00 and vf10:: - ./testpmd -c 0xf -n 6 -w 86:01.0 -w 86:11.0 --file-prefix=vf00 -- -i --rxq=4 --txq=4 + ./testpmd -c 0xf -n 6 -a 86:01.0 -a 86:11.0 --file-prefix=vf00 -- -i --rxq=4 --txq=4 create 1 rule on vf00:: @@ -435,7 +435,7 @@ Prerequisites 5. Launch the app ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:00.0 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop + ./testpmd -c 0xff -n 6 -a 86:00.0 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop testpmd> set fwd rxonly testpmd> set verbose 1 @@ -446,7 +446,7 @@ Prerequisites Notes: if need two ports environment, launch ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:00.0 -w 86:00.1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop + ./testpmd -c 0xff -n 6 -a 86:00.0 -a 86:00.1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop Test case: add/delete rules ============================ @@ -529,7 +529,7 @@ Prerequisites 8. Launch dpdk on VF0 and VF1, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:01.0,cap=dcf -w 0000:18:01.1 -- -i + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -- -i testpmd> set portlist 1 testpmd> set fwd rxonly testpmd> set verbose 1 diff --git a/test_plans/cvl_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_switch_filter_pppoe_test_plan.rst old mode 100644 new mode 100755 index f63965b5..897e8c6c --- a/test_plans/cvl_switch_filter_pppoe_test_plan.rst +++ b/test_plans/cvl_switch_filter_pppoe_test_plan.rst @@ -203,7 +203,7 @@ Prerequisites 6. Launch dpdk with the following arguments in non-pipeline mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 --log-level="ice,8" -- -i --txq=16 --rxq=16 --cmdline-file=testpmd_fdir_rules + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0 --log-level="ice,8" -- -i --txq=16 --rxq=16 --cmdline-file=testpmd_fdir_rules testpmd> port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd testpmd> set fwd rxonly testpmd> set verbose 1 @@ -217,7 +217,7 @@ Prerequisites Launch dpdk in pipeline mode with the following testpmd command line:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0,pipeline-mode-support=1 --log-level="ice,8" -- -i --txq=16 --rxq=16 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0,pipeline-mode-support=1 --log-level="ice,8" -- -i --txq=16 --rxq=16 Test case: Ethertype filter =========================== diff --git a/test_plans/cvl_switch_filter_test_plan.rst b/test_plans/cvl_switch_filter_test_plan.rst old mode 100644 new mode 100755 index 992aa6c8..ae29e64e --- a/test_plans/cvl_switch_filter_test_plan.rst +++ b/test_plans/cvl_switch_filter_test_plan.rst @@ -181,7 +181,7 @@ Prerequisites 6. Launch dpdk with the following arguments in non-pipeline mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 --log-level="ice,8" -- -i --txq=16 --rxq=16 --cmdline-file=testpmd_fdir_rules + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0 --log-level="ice,8" -- -i --txq=16 --rxq=16 --cmdline-file=testpmd_fdir_rules testpmd> port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd testpmd> set fwd rxonly testpmd> set verbose 1 @@ -195,7 +195,7 @@ Prerequisites Launch dpdk in pipeline mode with the following testpmd command line:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0,pipeline-mode-support=1 --log-level="ice,8" -- -i --txq=16 --rxq=16 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:18:00.0,pipeline-mode-support=1 --log-level="ice,8" -- -i --txq=16 --rxq=16 Test case: VXLAN non-pipeline mode ================================== diff --git a/test_plans/enable_package_download_in_ice_driver_test_plan.rst b/test_plans/enable_package_download_in_ice_driver_test_plan.rst old mode 100644 new mode 100755 index 4139191e..578ba30e --- a/test_plans/enable_package_download_in_ice_driver_test_plan.rst +++ b/test_plans/enable_package_download_in_ice_driver_test_plan.rst @@ -104,7 +104,7 @@ Test case 2: Driver enters Safe Mode successfully 2. Start testpmd:: ./testpmd -c 0x3fe -n 6 \ - -w PORT0_PCI,safe-mode-support=1 -w PORT1_PCI,safe-mode-support=1 \ + -a PORT0_PCI,safe-mode-support=1 -a PORT1_PCI,safe-mode-support=1 \ -- -i --nb-cores=8 --rxq=8 --txq=8 --port-topology=chained There will be an error reported:: @@ -176,7 +176,7 @@ Compile DPDK and testpmd:: Launch testpmd with 1 default interface and 1 specific interface:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0 -w b1:00.0 --log-level=8 -- -i + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0 -a b1:00.0 --log-level=8 -- -i In this case, b1:00.0 interface is specific interface. diff --git a/test_plans/flexible_rxd_test_plan.rst b/test_plans/flexible_rxd_test_plan.rst old mode 100644 new mode 100755 index b2ca34a4..30ae6993 --- a/test_plans/flexible_rxd_test_plan.rst +++ b/test_plans/flexible_rxd_test_plan.rst @@ -94,13 +94,13 @@ Test Case 01: Check single VLAN fields in RXD (802.1Q) Launch testpmd by:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 testpmd>set verbose 1 testpmd>set fwd io testpmd>start -Please change the core setting (-l option) and port's PCI (-w option) \ +Please change the core setting (-l option) and port's PCI (-a option) \ by your DUT environment Send a packet with VLAN tag from test network interface:: @@ -130,7 +130,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -148,7 +148,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -167,7 +167,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -186,7 +186,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=ipv4 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv4 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -208,7 +208,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=ipv6 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv6 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -230,7 +230,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=ipv6_flow -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv6_flow -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -250,7 +250,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -269,7 +269,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -288,7 +288,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr='[(2):ipv4,(3):ipv6,(4):tcp]' -- -i --rxq=64 --txq=64 --portmask=0x1 + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr='[(2):ipv4,(3):ipv6,(4):tcp]' -- -i --rxq=64 --txq=64 --portmask=0x1 Create generic flow on NIC:: @@ -360,7 +360,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp MPLS cases use same parameter Launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=ip_offset -- -i --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=ip_offset -- -i --portmask=0x1 --nb-cores=2 check RXDID value correct:: diff --git a/test_plans/iavf_flexible_descriptor_test_plan.rst b/test_plans/iavf_flexible_descriptor_test_plan.rst old mode 100644 new mode 100755 index ae28865d..d03fbe41 --- a/test_plans/iavf_flexible_descriptor_test_plan.rst +++ b/test_plans/iavf_flexible_descriptor_test_plan.rst @@ -129,7 +129,7 @@ VLAN cases 1. Launch testpmd by:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=vlan -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=vlan -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 testpmd>set verbose 1 testpmd>set fwd io testpmd>start @@ -139,7 +139,7 @@ VLAN cases expected: RXDID[17] .. note:: - Please change the core setting (-l option) and port's PCI (-w option) by your DUT environment + Please change the core setting (-l option) and port's PCI (-a option) by your DUT environment Test Case: Check single VLAN fields in RXD (802.1Q) --------------------------------------------------- @@ -218,7 +218,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd Launch testpmd command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=ipv4 -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=ipv4 -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 check RXDID value correct:: @@ -244,7 +244,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd Launch testpmd command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=ipv6 -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=ipv6 -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 check RXDID value correct:: @@ -270,7 +270,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd Launch testpmd command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=ipv6_flow -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=ipv6_flow -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 check RXDID value correct:: @@ -294,7 +294,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd Launch testpmd command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=tcp -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=tcp -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 check RXDID value correct:: @@ -317,7 +317,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd Launch testpmd command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=tcp -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=tcp -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 check RXDID value correct:: @@ -340,7 +340,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd Launch testpmd command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr='[(2):ipv4,(3):ipv6,(4):tcp]' -- -i --rxq=16 --txq=16 --portmask=0x1 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr='[(2):ipv4,(3):ipv6,(4):tcp]' -- -i --rxq=16 --txq=16 --portmask=0x1 check RXDID value correct:: @@ -385,13 +385,13 @@ Test steps are same to ``VLAN cases``, use different "proto_xtr" parameters the use error parameter Launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=vxlan -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=vxlan -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 testpmd can't started, check "iavf_lookup_flex_desc_type(): wrong flex_desc type, it should be: vlan|ipv4|ipv6|ipv6_flow|tcp|ovs|ip_offset" in testpmd output. don't use parameter launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0 -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0 -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2 testpmd started, check "iavf_configure_queues(): request RXDID[16] in Queue[0]" in testpmd output @@ -403,7 +403,7 @@ Test steps are same to ``VLAN cases``, just change the launch command of testpmd MPLS cases use same parameter Launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=ip_offset -- -i --portmask=0x1 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a af:01.0,proto_xtr=ip_offset -- -i --portmask=0x1 --nb-cores=2 check RXDID value correct:: diff --git a/test_plans/iavf_package_driver_error_handle_test_plan.rst b/test_plans/iavf_package_driver_error_handle_test_plan.rst old mode 100644 new mode 100755 index 23978ea2..fe95e29e --- a/test_plans/iavf_package_driver_error_handle_test_plan.rst +++ b/test_plans/iavf_package_driver_error_handle_test_plan.rst @@ -78,7 +78,7 @@ Test Case 1: Check old driver and latest commes pkg compatibility ./usertools/dpdk-devbind.py -b vfio-pci 0000:b1:01.0 4. Launch the testpmd - ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -w b1:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --nb-cores=2 + ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -a b1:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --nb-cores=2 5. Create a rss rule testpmd> flow create 0 ingress pattern eth / ipv4 / end actions rss types l3-dst-only end key_len 0 queues end / end diff --git a/test_plans/l2tp_esp_coverage_test_plan.rst b/test_plans/l2tp_esp_coverage_test_plan.rst old mode 100644 new mode 100755 index 4998f0ff..a768684f --- a/test_plans/l2tp_esp_coverage_test_plan.rst +++ b/test_plans/l2tp_esp_coverage_test_plan.rst @@ -88,7 +88,7 @@ Test Case 1: test MAC_IPV4_L2TPv3 HW checksum offload 1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -w af:01.0 -- -i --enable-rx-cksum + ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -a af:01.0 -- -i --enable-rx-cksum 2. DUT setup csum forwarding mode:: @@ -163,7 +163,7 @@ Test Case 2: test MAC_IPV4_ESP HW checksum offload 1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode:: - ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -w af:01.0 -- -i --enable-rx-cksum + ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -a af:01.0 -- -i --enable-rx-cksum 2. DUT setup csum forwarding mode:: @@ -1095,7 +1095,7 @@ Test Case 14: MAC_IPV4_L2TPv3 vlan strip on + HW checksum offload check The pre-steps are as l2tp_esp_iavf_test_plan. -1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -w af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum +1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -a af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum 2. DUT create fdir rules for MAC_IPV4_L2TPv3 with queue index and mark:: @@ -1189,7 +1189,7 @@ The pre-steps are as l2tp_esp_iavf_test_plan. Test Case 15: MAC_IPV4_L2TPv3 vlan insert on + SW checksum offload check ======================================================================== -1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -w af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum +1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -a af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum 2. DUT create fdir rules for MAC_IPV4_L2TPv3 with queue index and mark:: @@ -1279,7 +1279,7 @@ Test Case 16: MAC_IPV4_ESP vlan strip on + HW checksum offload check The pre-steps are as l2tp_esp_iavf_test_plan. -1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -w af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum +1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -a af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum 2. DUT create fdir rules for MAC_IPV4_ESP with queue index and mark:: @@ -1372,7 +1372,7 @@ The pre-steps are as l2tp_esp_iavf_test_plan. Test Case 17: MAC_IPV6_NAT-T-ESP vlan insert on + SW checksum offload check =========================================================================== -1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -w af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum +1. ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -a af:01.0 -- -i --rxq=16 --txq=16 --portmask=0x1 --nb-cores=2 --enable-rx-cksum 2. DUT create fdir rules for MAC_IPV6_NAT-T-ESP with queue index and mark:: diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py old mode 100644 new mode 100755 index d19ddbf0..0ce0e7ec --- a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py @@ -6971,7 +6971,7 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase): # if support add --disable-rss param = "--rxq=16 --txq=16" self.pmd_output.start_testpmd(cores="1S/4C/1T", param=param, - eal_param=f"-w {self.vf0_pci}", socket=self.ports_socket) + eal_param=f"-a {self.vf0_pci}", socket=self.ports_socket) ''' self.symmetric = symmetric if symmetric: diff --git a/tests/TestSuite_cvl_advanced_rss.py b/tests/TestSuite_cvl_advanced_rss.py old mode 100644 new mode 100755 index 8ed6d1af..7c8a317b --- a/tests/TestSuite_cvl_advanced_rss.py +++ b/tests/TestSuite_cvl_advanced_rss.py @@ -4920,7 +4920,7 @@ class AdvancedRSSTest(TestCase): else: param = "--rxq=64 --txq=64 --disable-rss --rxd=384 --txd=384" out = self.pmd_output.start_testpmd(cores="1S/4C/1T", param=param, - eal_param=f"-w {self.pci0}", socket=self.ports_socket) + eal_param=f"-a {self.pci0}", socket=self.ports_socket) self.symmetric = symmetric if symmetric is True: ''' diff --git a/tests/TestSuite_cvl_advanced_rss_gtpu.py b/tests/TestSuite_cvl_advanced_rss_gtpu.py index 37be57f7..e09b7875 100755 --- a/tests/TestSuite_cvl_advanced_rss_gtpu.py +++ b/tests/TestSuite_cvl_advanced_rss_gtpu.py @@ -4256,7 +4256,7 @@ class TestCVLAdvancedRSSGTPU(TestCase): else: param = "--rxq=64 --txq=64 --disable-rss --rxd=384 --txd=384" self.pmd_output.start_testpmd(cores="1S/4C/1T", param=param, - eal_param=f"-w {self.pci0}", socket=self.ports_socket) + eal_param=f"-a {self.pci0}", socket=self.ports_socket) self.enable_rss = enable_rss if set_rss: self.pmd_output.execute_cmd('port config all rss all') diff --git a/tests/TestSuite_cvl_advanced_rss_pppoe.py b/tests/TestSuite_cvl_advanced_rss_pppoe.py old mode 100644 new mode 100755 index 3952bbf0..6bd21af6 --- a/tests/TestSuite_cvl_advanced_rss_pppoe.py +++ b/tests/TestSuite_cvl_advanced_rss_pppoe.py @@ -4526,7 +4526,7 @@ class Advanced_rss_pppoe(TestCase): else: param = "--rxq=64 --txq=64 --disable-rss --rxd=384 --txd=384" out = self.pmd_output.start_testpmd(cores="1S/4C/1T", param=param, - eal_param=f"-w {self.pci_list[0]}", socket=self.ports_socket) + eal_param=f"-a {self.pci_list[0]}", socket=self.ports_socket) self.symmetric = symmetric if symmetric: # Need config rss in setup diff --git a/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py old mode 100644 new mode 100755 index df071e91..e3f08084 --- a/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py +++ b/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py @@ -857,7 +857,7 @@ class Advanced_rss_vlan_ah_l2tp_pfcp(TestCase): else: param = "--rxq=64 --txq=64 --disable-rss --rxd=384 --txd=384" out = self.pmd_output.start_testpmd(cores="1S/4C/1T", param=param, - eal_param=f"-w {self.pci_list[0]}", socket=self.ports_socket) + eal_param=f"-a {self.pci_list[0]}", socket=self.ports_socket) self.symmetric = symmetric if symmetric: # Need config rss in setup diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py old mode 100644 new mode 100755 index 18836756..541599fe --- a/tests/TestSuite_cvl_fdir.py +++ b/tests/TestSuite_cvl_fdir.py @@ -2585,7 +2585,7 @@ class TestCVLFdir(TestCase): self.pmd_output.start_testpmd(cores="1S/4C/1T", param="--portmask=%s --rxq=%d --txq=%d --port-topology=loop" % ( self.portMask, rxq, txq), - eal_param="-w %s -w %s --log-level=ice,7" % ( + eal_param="-a %s -a %s --log-level=ice,7" % ( self.pci0, self.pci1), socket=self.ports_socket) self.config_testpmd() @@ -3387,7 +3387,7 @@ class TestCVLFdir(TestCase): out = self.pmd_output.start_testpmd(cores="1S/4C/1T", param="--portmask=%s --rxq=%d --txq=%d --port-topology=loop --cmdline-file=%s" % ( self.portMask, 64, 64, cmd_path), - eal_param="-w %s -w %s --log-level='ice,7'" % ( + eal_param="-a %s -a %s --log-level='ice,7'" % ( self.pci0, self.pci1), socket=self.ports_socket) self.verify('Failed to create flow' not in out, "create some rule failed") self.config_testpmd() diff --git a/tests/TestSuite_cvl_iavf_rss_configure.py b/tests/TestSuite_cvl_iavf_rss_configure.py index 86b2819e..baf33c56 100755 --- a/tests/TestSuite_cvl_iavf_rss_configure.py +++ b/tests/TestSuite_cvl_iavf_rss_configure.py @@ -311,7 +311,7 @@ class IAVFRSSConfigureTest(TestCase): """ #Prepare testpmd EAL and parameters self.pmdout.start_testpmd(cores=self.cores, param=param, - eal_param=f"-w {self.vf0_pci}", socket=self.ports_socket) + eal_param=f"-a {self.vf0_pci}", socket=self.ports_socket) # test link status res = self.pmdout.wait_link_status_up('all', timeout=15) self.verify(res is True, 'there have port link is down') diff --git a/tests/TestSuite_cvl_qinq.py b/tests/TestSuite_cvl_qinq.py old mode 100644 new mode 100755 index 0c950b03..a2bd5166 --- a/tests/TestSuite_cvl_qinq.py +++ b/tests/TestSuite_cvl_qinq.py @@ -443,7 +443,7 @@ class TestCvlQinq(TestCase): def start_tcpdump(self, rxItf): self.tester.send_expect("rm -rf getPackageByTcpdump.cap", "#") - self.tester.send_expect("tcpdump -A -nn -e -vv -w getPackageByTcpdump.cap -i %s 2> /dev/null& " % rxItf, "#") + self.tester.send_expect("tcpdump -A -nn -e -vv -a getPackageByTcpdump.cap -i %s 2> /dev/null& " % rxItf, "#") time.sleep(2) def get_tcpdump_package(self): diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py b/tests/TestSuite_enable_package_download_in_ice_driver.py old mode 100644 new mode 100755 index 8bf21d18..0c85f319 --- a/tests/TestSuite_enable_package_download_in_ice_driver.py +++ b/tests/TestSuite_enable_package_download_in_ice_driver.py @@ -95,7 +95,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase): self.eal_param = "" if safe_mode_support == "true": for i in range(len(self.dut_ports)): - self.eal_param = self.eal_param + "-w %s,safe-mode-support=1 " % self.dut.ports_info[i]['pci'] + self.eal_param = self.eal_param + "-a %s,safe-mode-support=1 " % self.dut.ports_info[i]['pci'] out = self.dut_testpmd.start_testpmd("all", "--nb-cores=8 --rxq=%s --txq=%s --port-topology=chained" % (self.PF_QUEUE, self.PF_QUEUE), eal_param=self.eal_param) if ice_pkg == "false": if safe_mode_support == "true": @@ -340,7 +340,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase): self.copy_specify_ice_pkg(self.new_pkgs[i]) self.generate_delete_specify_pkg(pkg_ver=self.new_pkgs[i], sn=self.nic_sn[i], key="true") - eal_param = "-w %s " % self.nic_pci[0] + "-w %s " % self.nic_pci[1] + "--log-level=8" + eal_param = "-a %s " % self.nic_pci[0] + "-a %s " % self.nic_pci[1] + "--log-level=8" out = self.dut_testpmd.execute_cmd(self.path + eal_param + " -- -i ") self.dut_testpmd.quit() diff --git a/tests/TestSuite_iavf_package_driver_error_handle.py b/tests/TestSuite_iavf_package_driver_error_handle.py old mode 100644 new mode 100755 index d155afc9..c180c5a1 --- a/tests/TestSuite_iavf_package_driver_error_handle.py +++ b/tests/TestSuite_iavf_package_driver_error_handle.py @@ -98,7 +98,7 @@ class Testiavf_package_and_driver_check(TestCase): self.eal_param = "" if safe_mode_support == "true": for i in range(len(self.dut_ports)): - self.eal_param = self.eal_param + "-w %s,safe-mode-support=1 " % self.dut.ports_info[i]['pci'] + self.eal_param = self.eal_param + "-a %s,safe-mode-support=1 " % self.dut.ports_info[i]['pci'] out = self.dut_testpmd.start_testpmd("all", "--nb-cores=8 --rxq=%s --txq=%s --port-topology=chained" % (self.PF_QUEUE, self.PF_QUEUE), eal_param=self.eal_param) if ice_pkg == "false": if safe_mode_support == "true": diff --git a/tests/TestSuite_l2tp_esp_coverage.py b/tests/TestSuite_l2tp_esp_coverage.py old mode 100644 new mode 100755 index 10520c8b..96378db3 --- a/tests/TestSuite_l2tp_esp_coverage.py +++ b/tests/TestSuite_l2tp_esp_coverage.py @@ -153,7 +153,7 @@ class L2tpEspCoverage(TestCase): param_str = " --rxq=16 --txq=16 --port-topology=loop --enable-rx-cksum " else: param_str = " --rxq=16 --txq=16 --port-topology=loop " - self.pmd_output.start_testpmd(cores="1S/8C/1T", param=param_str, eal_param="-w %s" % port_pci) + self.pmd_output.start_testpmd(cores="1S/8C/1T", param=param_str, eal_param="-a %s" % port_pci) self.dut.send_expect("set fwd rxonly", "testpmd> ", 15) self.dut.send_expect("set verbose 1", "testpmd> ", 15) -- 2.17.1