From patchwork Wed Nov 16 02:01:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 119877 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37749A00C4; Wed, 16 Nov 2022 03:07:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 308FC40E03; Wed, 16 Nov 2022 03:07:07 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 9993B40DFB for ; Wed, 16 Nov 2022 03:07:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668564425; x=1700100425; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TAHEYTLg1ranO97irB1iYBIA7XZAkKCi4RJ7nmaBa1E=; b=Y1KWkSQmjBxhwhoensDKmtruv5Xd1T3yvBGoiNbOylX9g+I41AnVtKM0 GfjJtDNPsqHNxPsN0n8iljCxXXu6ffgj0LY2kG66nbqVQ0DuusuA02LjH rlVHUohhcnbK8OJL+jMDUZmk8K19UWqkQcYZEBcka0/DzPfcOvz/yVjB9 jMufzRmk4w0S2q8NXQDkbcVSn8YZKl9s2T91YsPdWW71AgSJvwpB+arYj zAYNzXI7wpETpQWWDgg/3OOXq4/kjZ2Jo5/fh9kwTOE0Qt2ecCjUOXQwh 5DHChlaRDLQPK2DA3CnXV4efclmVAOuUh5GvGcqlLFP7EkYIbsdsrGlQu w==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="314236963" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="314236963" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:06:32 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="764140271" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="764140271" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:06:31 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/virtio_user_as_exceptional_path_test_plan: modify testplan by DPDK changed Date: Wed, 16 Nov 2022 10:01:21 +0800 Message-Id: <20221116020121.609503-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 As DPDK commit 236bc417(app/testpmd: fix MAC header in checksum forward engine),need to add `csum mac-swap off ` steps in testplan. Signed-off-by: Wei Ling --- test_plans/virtio_user_as_exceptional_path_test_plan.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_plans/virtio_user_as_exceptional_path_test_plan.rst b/test_plans/virtio_user_as_exceptional_path_test_plan.rst index 81399ea2..a002b5b7 100644 --- a/test_plans/virtio_user_as_exceptional_path_test_plan.rst +++ b/test_plans/virtio_user_as_exceptional_path_test_plan.rst @@ -32,6 +32,8 @@ Flow:tap0-->vhost-net-->virtio_user-->nic0-->nic1 .//app/dpdk-testpmd -c 0xc0000 -n 4 --file-prefix=test2 \ --vdev=virtio_user0,mac=00:01:02:03:04:05,path=/dev/vhost-net,queue_size=1024 -- -i --rxd=1024 --txd=1024 testpmd>set fwd csum + testpmd>csum mac-swap off 0 + testpmd>csum mac-swap off 1 testpmd>stop testpmd>port stop 0 testpmd>port stop 1 @@ -128,4 +130,4 @@ Flow: tap0<-->vhost-net<-->virtio_user<-->nic0<-->TG 6. Bind vhost-net kthread with logical core: firstly check process by "ps -ef|grep vhost", check vhost-net kthread by "ps -T xxxx", for multiple queues, there are multiple vhost kthreads, then bind the pids to different logical cores at the same socket as the nic port by taskset. -7. Try different line rate with ixia to find a point that rx_throughput=tx_throughput, for example if using ninatic 10G nic, the balance line rate is about 5 (should be double of case 2). \ No newline at end of file +7. Try different line rate with ixia to find a point that rx_throughput=tx_throughput, for example if using ninatic 10G nic, the balance line rate is about 5 (should be double of case 2).