From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F620A00E6 for ; Tue, 6 Aug 2019 11:00:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 657F81BDFF; Tue, 6 Aug 2019 11:00:18 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E1AF51B94E for ; Tue, 6 Aug 2019 11:00:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 02:00:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="198250375" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 06 Aug 2019 02:00:14 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 02:00:14 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 6 Aug 2019 02:00:14 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 6 Aug 2019 02:00:13 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 17:00:12 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] test_plans: fix build warnings Thread-Index: AQHVQFu/jZpblD4s8UG6PEZirMIADKbt6fNg Date: Tue, 6 Aug 2019 09:00:12 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD245@SHSMSX101.ccr.corp.intel.com> References: <1563779329-32092-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1563779329-32092-1-git-send-email-wenjiex.a.li@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGFkOTgyOGQtOWFiMC00YzA2LWJlNjEtNjMxYTI0ODQ4ODBlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVmY5Y0FWblNxMjhLM3BER05FYm15MXphazliaVpNa2ZZazhpVTJ2ZEJteUFOeEoxZUNJUG9MVG4zcXc5U1dMMCJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] test_plans: fix build warnings X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li > Sent: Monday, July 22, 2019 3:09 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] test_plans: fix build warnings >=20 > fix build warnings >=20 > Signed-off-by: Wenjie Li > --- > test_plans/index.rst | 14 +++- > ...back_virtio_user_server_mode_test_plan.rst | 84 +++++++++---------- > test_plans/nic_single_core_perf_test_plan.rst | 18 ++-- > .../pvp_vhost_user_reconnect_test_plan.rst | 1 + > test_plans/pvp_virtio_bonding_test_plan.rst | 4 +- > 5 files changed, 69 insertions(+), 52 deletions(-) >=20 > diff --git a/test_plans/index.rst b/test_plans/index.rst index > 52d4e55..d0ebeb5 100644 > --- a/test_plans/index.rst > +++ b/test_plans/index.rst > @@ -81,7 +81,6 @@ The following are the test plans for the DPDK DTS > automated test system. > l3fwdacl_test_plan > link_flowctrl_test_plan > link_status_interrupt_test_plan > - loopback_multi_paths_port_restart_performance_test_plan > loopback_multi_paths_port_restart_test_plan > loopback_virtio_user_server_mode_test_plan > mac_filter_test_plan > @@ -174,16 +173,22 @@ The following are the test plans for the DPDK DTS > automated test system. > vhost_dequeue_zero_copy_test_plan > vxlan_gpe_support_in_i40e_test_plan > pvp_diff_qemu_version_test_plan > - pvp_qemu_zero_copy_test_plan > pvp_share_lib_test_plan > pvp_vhost_user_built_in_net_driver_test_plan > pvp_virtio_user_2M_hugepages_test_plan > pvp_virtio_user_multi_queues_test_plan > - vhost_gro_test_plan > virtio_unit_cryptodev_func_test_plan > virtio_user_for_container_networking_test_plan > eventdev_perf_test_plan > eventdev_pipeline_perf_test_plan > + pvp_qemu_multi_paths_port_restart_test_plan > + pvp_vhost_user_reconnect_test_plan > + pvp_virtio_bonding_test_plan > + pvp_virtio_user_4k_pages_test_plan > + vdev_primary_secondary_test_plan > + vhost_1024_ethports_test_plan > + virtio_pvp_regression_test_plan > + virtio_user_as_exceptional_path >=20 > unit_tests_cmdline_test_plan > unit_tests_crc_test_plan > @@ -217,3 +222,6 @@ The following are the test plans for the DPDK DTS > automated test system. > efd_test_plan > example_build_test_plan > flow_classify_test_plan > + dpdk_hugetlbfs_mount_size_test_plan > + nic_single_core_perf_test_plan > + power_managerment_throughput_test_plan > \ No newline at end of file > diff --git a/test_plans/loopback_virtio_user_server_mode_test_plan.rst > b/test_plans/loopback_virtio_user_server_mode_test_plan.rst > index 45388f4..1dd17d1 100644 > --- a/test_plans/loopback_virtio_user_server_mode_test_plan.rst > +++ b/test_plans/loopback_virtio_user_server_mode_test_plan.rst > @@ -143,15 +143,15 @@ Test Case 3: loopback reconnect test with virtio 1.= 1 > mergeable path and server m >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > + testpmd>stop >=20 > Test Case 4: loopback reconnect test with virtio 1.1 normal path and ser= ver > mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -215,15 +215,15 @@ Test Case 4: loopback reconnect test with virtio 1.= 1 > normal path and server mode >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > + testpmd>stop >=20 > Test Case 5: loopback reconnect test with virtio 1.0 mergeable path and > server mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -287,15 +287,15 @@ Test Case 5: loopback reconnect test with virtio 1.= 0 > mergeable path and server m >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > + testpmd>stop >=20 > Test Case 6: loopback reconnect test with virtio 1.0 inorder mergeable p= ath > and server mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > @@ -359,15 +359,15 @@ Test Case 6: loopback reconnect test with virtio 1.= 0 > inorder mergeable path and >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > + testpmd>stop >=20 > Test Case 7: loopback reconnect test with virtio 1.0 inorder no-mergeabl= e > path and server mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > @@ -431,15 +431,15 @@ Test Case 7: loopback reconnect test with virtio 1.= 0 > inorder no-mergeable path a >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > + testpmd>stop >=20 > Test Case 8: loopback reconnect test with virtio 1.0 normal path and ser= ver > mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -503,15 +503,15 @@ Test Case 8: loopback reconnect test with virtio 1.= 0 > normal path and server mode >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > + testpmd>stop >=20 > Test Case 9: loopback reconnect test with virtio 1.0 vector_rx path and > server mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -575,12 +575,12 @@ Test Case 9: loopback reconnect test with virtio 1.= 0 > vector_rx path and server m >=20 > 10. Port restart at vhost side by below command and re-calculate the > average throughput:: >=20 > - testpmd>stop > - testpmd>port stop 0 > - testpmd>port start 0 > - testpmd>start tx_first 32 > - testpmd>show port stats all > + testpmd>stop > + testpmd>port stop 0 > + testpmd>port start 0 > + testpmd>start tx_first 32 > + testpmd>show port stats all >=20 > 11. Check each RX/TX queue has packets:: >=20 > - testpmd>stop > \ No newline at end of file > + testpmd>stop > \ No newline at end of file > diff --git a/test_plans/nic_single_core_perf_test_plan.rst > b/test_plans/nic_single_core_perf_test_plan.rst > index 428d5db..4157c31 100644 > --- a/test_plans/nic_single_core_perf_test_plan.rst > +++ b/test_plans/nic_single_core_perf_test_plan.rst > @@ -38,12 +38,14 @@ Prerequisites > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 1. Hardware: > - 1) nic_single_core_perf test for FVL25G: two dual port FVL25G nics, > + > + 1.1) nic_single_core_perf test for FVL25G: two dual port FVL25G > + nics, > all installed on the same socket, pick one port per nic > - 3) nic_single_core_perf test for NNT10G : four 82599 nics, > + 1.2) nic_single_core_perf test for NNT10G: four 82599 nics, > all installed on the same socket, pick one port per nic >=20 > -2. Software: > +2. Software:: > + > dpdk: git clone http://dpdk.org/git/dpdk > scapy: http://www.secdev.org/projects/scapy/ > dts (next branch): git clone http://dpdk.org/git/tools/dts, @@ -51,1= 2 > +53,13 @@ Prerequisites > Trex code: http://trex-tgn.cisco.com/trex/release/v2.26.tar.gz > (to be run in stateless Layer 2 mode, see section in > Getting Started Guide for more details) > - python-prettytable: > + python-prettytable: > apt install python-prettytable (for ubuntu os) > or dnf install python-prettytable (for fedora os). >=20 > 3. Connect all the selected nic ports to traffic generator(IXIA,TREX, > - PKTGEN) ports(TG ports). > + PKTGEN) ports(TG ports):: > + > 2 TG 25g ports for FVL25G ports > 4 TG 10g ports for 4 NNT10G ports >=20 > @@ -86,19 +89,24 @@ Test Case : Single Core Performance Measurement > 6) Result tables for different NICs: >=20 > FVL25G: > + > +------------+---------+-------------+---------+---------------------= + > | Frame Size | TXD/RXD | Throughput | Rate | Expected Throughput = | > +------------+---------+-------------+---------+---------------------= + > | 64 | 512 | xxxxxx Mpps | xxx % | xxx Mpps = | > + > + +------------+---------+-------------+---------+---------------------+ > | 64 | 2048 | xxxxxx Mpps | xxx % | xxx Mpps = | > +------------+---------+-------------+---------+---------------------= + >=20 > NNT10G: > + > +------------+---------+-------------+---------+---------------------= + > | Frame Size | TXD/RXD | Throughput | Rate | Expected Throughput = | > +------------+---------+-------------+---------+---------------------= + > | 64 | 128 | xxxxxx Mpps | xxx % | xxx Mpps = | > + > + +------------+---------+-------------+---------+---------------------+ > | 64 | 512 | xxxxxx Mpps | xxx % | xxx Mpps = | > + > + +------------+---------+-------------+---------+---------------------+ > | 64 | 2048 | xxxxxx Mpps | xxx % | xxx Mpps = | > +------------+---------+-------------+---------+---------------------= + >=20 > diff --git a/test_plans/pvp_vhost_user_reconnect_test_plan.rst > b/test_plans/pvp_vhost_user_reconnect_test_plan.rst > index a2ccdb1..9cc1ddc 100644 > --- a/test_plans/pvp_vhost_user_reconnect_test_plan.rst > +++ b/test_plans/pvp_vhost_user_reconnect_test_plan.rst > @@ -49,6 +49,7 @@ Vhost-user uses Unix domain sockets for passing > messages. This means the DPDK vh > When DPDK vhost-user restarts from an normal or abnormal exit (such as= a > crash), the client mode allows DPDK to establish the connection again. No= te > that QEMU version v2.7 or above is required for this reconnect feature= . > Also, when DPDK vhost-user acts as the client, it will keep trying to > reconnect to the server (QEMU) until it succeeds. This is useful in two c= ases: > + > * When QEMU is not started yet. > * When QEMU restarts (for example due to a guest OS reboot). >=20 > diff --git a/test_plans/pvp_virtio_bonding_test_plan.rst > b/test_plans/pvp_virtio_bonding_test_plan.rst > index a90e7d3..c45b3f7 100644 > --- a/test_plans/pvp_virtio_bonding_test_plan.rst > +++ b/test_plans/pvp_virtio_bonding_test_plan.rst > @@ -50,7 +50,7 @@ Test case 1: vhost-user/virtio-pmd pvp bonding test > with mode 0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Flow: TG--> NIC --> Vhost --> Virtio3 --> Virtio4 --> Vhost--> NIC--> TG >=20 > -1. Bind one port to igb_uio,launch vhost by below command:: > +1. Bind one port to igb_uio,launch vhost by below command:: >=20 > ./testpmd -l 1-6 -n 4 --socket-mem 2048,2048 --legacy-mem --file- > prefix=3Dvhost --vdev 'net_vhost,iface=3Dvhost-net,client=3D1,queues=3D1'= --vdev > 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D1' --vdev > 'net_vhost2,iface=3Dvhost-net2,client=3D1,queues=3D1' --vdev > 'net_vhost3,iface=3Dvhost-net3,client=3D1,queues=3D1' -- -i --port- > topology=3Dchained --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 > testpmd>set fwd mac > @@ -112,7 +112,7 @@ Flow: TG--> NIC --> Vhost --> Virtio3 --> Virtio4 --> > Vhost--> NIC--> TG Test case 2: vhost-user/virtio-pmd pvp bonding test w= ith > different mode from 1 to 6 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > -1. Bind one port to igb_uio,launch vhost by below command:: > +1. Bind one port to igb_uio,launch vhost by below command:: >=20 > ./testpmd -l 1-6 -n 4 --socket-mem 2048,2048 --legacy-mem --file- > prefix=3Dvhost --vdev 'net_vhost,iface=3Dvhost-net,client=3D1,queues=3D1'= --vdev > 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D1' --vdev > 'net_vhost2,iface=3Dvhost-net2,client=3D1,queues=3D1' --vdev > 'net_vhost3,iface=3Dvhost-net3,client=3D1,queues=3D1' -- -i --port- > topology=3Dchained --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 > testpmd>set fwd mac > -- > 2.17.2