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 AC341A0471 for ; Mon, 12 Aug 2019 07:27:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72AF7DE3; Mon, 12 Aug 2019 07:27:33 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8BA91A69 for ; Mon, 12 Aug 2019 07:27:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Aug 2019 22:27:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,376,1559545200"; d="scan'208";a="193879385" Received: from unknown (HELO dpdk-wenjielx-KVM193.icx.intel.com) ([10.240.176.193]) by fmsmga001.fm.intel.com with ESMTP; 11 Aug 2019 22:27:29 -0700 From: Wenjie Li To: dts@dpdk.org Cc: Wenjie Li Date: Mon, 12 Aug 2019 14:22:18 +0000 Message-Id: <1565619738-46976-1-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [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" fix build warnings Signed-off-by: Wenjie Li --- test_plans/af_xdp_test_plan.rst | 142 ++++++++++++++++---------------- test_plans/index.rst | 8 +- 2 files changed, 77 insertions(+), 73 deletions(-) diff --git a/test_plans/af_xdp_test_plan.rst b/test_plans/af_xdp_test_plan.rst index d12ef0c..58e6077 100644 --- a/test_plans/af_xdp_test_plan.rst +++ b/test_plans/af_xdp_test_plan.rst @@ -139,36 +139,36 @@ Test case 4: multiqueue 1. One queue. - 1) Start the testpmd with one queue:: + 1) Start the testpmd with one queue:: - ./testpmd -l 29,30 -n 6 --no-pci \ - --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1 \ - -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop + ./testpmd -l 29,30 -n 6 --no-pci \ + --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1 \ + -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop - 2) Assign the kernel core:: + 2) Assign the kernel core:: - ./set_irq_affinity 34 enp216s0f0 + ./set_irq_affinity 34 enp216s0f0 - 3) Send packets with different dst IP address by packet generator - with different packet size from 64 bytes to 1518 bytes, check the throughput. + 3) Send packets with different dst IP address by packet generator + with different packet size from 64 bytes to 1518 bytes, check the throughput. 2. Four queues. - 1) Set hardware queue:: + 1) Set hardware queue:: - ethtool -L enp216s0f0 combined 4 + ethtool -L enp216s0f0 combined 4 - 2)Start the testpmd with four queues:: + 2) Start the testpmd with four queues:: - ./testpmd -l 29,30-33 -n 6 --no-pci \ - --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4 \ - -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop + ./testpmd -l 29,30-33 -n 6 --no-pci \ + --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4 \ + -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop - 3)Assign the kernel core:: + 3) Assign the kernel core:: - ./set_irq_affinity 34-37 enp216s0f0 + ./set_irq_affinity 34-37 enp216s0f0 - 4)Send packets with different dst IP address by packet generator + 4) Send packets with different dst IP address by packet generator with different packet size from 64 bytes to 1518 bytes, check the throughput. The packets were distributed to the four queues. @@ -177,45 +177,45 @@ Test case 5: multiqueue and zero copy 1. One queue and zero copy. - 1) Set hardware queue:: + 1) Set hardware queue:: - ethtool -L enp216s0f0 combined 1 + ethtool -L enp216s0f0 combined 1 - 2) Start the testpmd with one queue:: + 2) Start the testpmd with one queue:: - ./testpmd -l 29,30 -n 6 --no-pci \ - --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1,pmd_zero_copy=1 \ - -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop + ./testpmd -l 29,30 -n 6 --no-pci \ + --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1,pmd_zero_copy=1 \ + -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop - 3) Assign the kernel core:: + 3) Assign the kernel core:: - ./set_irq_affinity 34 enp216s0f0 + ./set_irq_affinity 34 enp216s0f0 - 4) Send packets with different dst IP address by packet generator - with different packet size from 64 bytes to 1518 bytes, check the throughput. - Expect the performance is better than non-zero-copy. + 4) Send packets with different dst IP address by packet generator + with different packet size from 64 bytes to 1518 bytes, check the throughput. + Expect the performance is better than non-zero-copy. 2. Four queues and zero copy. - 1) Set hardware queue:: + 1) Set hardware queue:: - ethtool -L enp216s0f0 combined 4 + ethtool -L enp216s0f0 combined 4 - 2) Start the testpmd with four queues:: + 2) Start the testpmd with four queues:: - ./testpmd -l 29,30-33 -n 6 --no-pci \ - --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4,pmd_zero_copy=1 \ - -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop + ./testpmd -l 29,30-33 -n 6 --no-pci \ + --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4,pmd_zero_copy=1 \ + -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop - 3) Assign the kernel core:: + 3) Assign the kernel core:: - ./set_irq_affinity 34-37 enp216s0f0 + ./set_irq_affinity 34-37 enp216s0f0 - 4) Send packets with different dst IP address by packet generator - with different packet size from 64 bytes to 1518 bytes, check the throughput. - The packets were distributed to the four queues. - Expect the performance of four queues is better than one queue. - Expect the performance is better than non-zero-copy. + 4) Send packets with different dst IP address by packet generator + with different packet size from 64 bytes to 1518 bytes, check the throughput. + The packets were distributed to the four queues. + Expect the performance of four queues is better than one queue. + Expect the performance is better than non-zero-copy. Test case 6: need_wakeup ======================== @@ -242,57 +242,57 @@ Test case 7: xdpsock sample performance 1. One queue. - 1) Set hardware queue:: + 1) Set hardware queue:: - ethtool -L enp216s0f0 combined 1 + ethtool -L enp216s0f0 combined 1 - 2) Start the xdp socket with one queue:: + 2) Start the xdp socket with one queue:: - #taskset -c 30 ./xdpsock -l -i enp216s0f0 + #taskset -c 30 ./xdpsock -l -i enp216s0f0 - 3) Assign the kernel core:: + 3) Assign the kernel core:: - ./set_irq_affinity 34 enp216s0f0 + ./set_irq_affinity 34 enp216s0f0 - 4) Send packets with different dst IP address by packet generator - with different packet size from 64 bytes to 1518 bytes, check the throughput. + 4) Send packets with different dst IP address by packet generator + with different packet size from 64 bytes to 1518 bytes, check the throughput. 2. Four queues. - 1) Set hardware queue:: + 1) Set hardware queue:: - ethtool -L enp216s0f0 combined 4 + ethtool -L enp216s0f0 combined 4 - 2) Start the xdp socket with four queues:: + 2) Start the xdp socket with four queues:: - #taskset -c 30 ./xdpsock -l -i enp216s0f0 -q 0 - #taskset -c 31 ./xdpsock -l -i enp216s0f0 -q 1 - #taskset -c 32 ./xdpsock -l -i enp216s0f0 -q 2 - #taskset -c 33 ./xdpsock -l -i enp216s0f0 -q 3 + #taskset -c 30 ./xdpsock -l -i enp216s0f0 -q 0 + #taskset -c 31 ./xdpsock -l -i enp216s0f0 -q 1 + #taskset -c 32 ./xdpsock -l -i enp216s0f0 -q 2 + #taskset -c 33 ./xdpsock -l -i enp216s0f0 -q 3 - 3)Assign the kernel core:: + 3) Assign the kernel core:: - ./set_irq_affinity 34-37 enp216s0f0 + ./set_irq_affinity 34-37 enp216s0f0 - 4)Send packets with different dst IP address by packet generator - with different packet size from 64 bytes to 1518 bytes, check the throughput. - The packets were distributed to the four queues. - Expect the performance of four queues is better than one queue. + 4) Send packets with different dst IP address by packet generator + with different packet size from 64 bytes to 1518 bytes, check the throughput. + The packets were distributed to the four queues. + Expect the performance of four queues is better than one queue. 3. Need_wakeup. - 1) Set hardware queue:: + 1) Set hardware queue:: - ethtool -L enp216s0f0 combined 1 + ethtool -L enp216s0f0 combined 1 - 2) Start the xdp socket with four queues:: + 2) Start the xdp socket with four queues:: - #taskset -c 30 ./xdpsock -l -i enp216s0f0 + #taskset -c 30 ./xdpsock -l -i enp216s0f0 - 3)Assign the kernel core:: + 3) Assign the kernel core:: - ./set_irq_affinity 30 enp216s0f0 + ./set_irq_affinity 30 enp216s0f0 - 4) Send packets by packet generator with different packet size from 64 bytes - to 1518 bytes, check the throughput. - Expect the performance is better than no need_wakeup. + 4) Send packets by packet generator with different packet size from 64 bytes + to 1518 bytes, check the throughput. + Expect the performance is better than no need_wakeup. \ No newline at end of file diff --git a/test_plans/index.rst b/test_plans/index.rst index a8269fa..28f5a69 100644 --- a/test_plans/index.rst +++ b/test_plans/index.rst @@ -189,7 +189,7 @@ The following are the test plans for the DPDK DTS automated test system. vdev_primary_secondary_test_plan vhost_1024_ethports_test_plan virtio_pvp_regression_test_plan - virtio_user_as_exceptional_path + virtio_user_as_exceptional_path_test_plan unit_tests_cmdline_test_plan unit_tests_crc_test_plan @@ -225,4 +225,8 @@ The following are the test plans for the DPDK DTS automated test system. 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 + power_managerment_throughput_test_plan + ethtool_stats_test_plan + iavf_test_plan + packet_capture_test_plan + packet_ordering_test_plan -- 2.17.2