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 20DE6A034F; Thu, 1 Apr 2021 09:32:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0D8840142; Thu, 1 Apr 2021 09:32:06 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B093B4013F for ; Thu, 1 Apr 2021 09:32:05 +0200 (CEST) IronPort-SDR: WxrT8nQjOyPhNYroGtMoHtR6hUad8k3IGbesFcz0ocWTy8MK2hJs6N2OjH2qRSUZtNxZtym/sq VI4EvLkUJ/5A== X-IronPort-AV: E=McAfee;i="6000,8403,9940"; a="256158829" X-IronPort-AV: E=Sophos;i="5.81,296,1610438400"; d="scan'208";a="256158829" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2021 00:32:01 -0700 IronPort-SDR: a3tixyTBZXHVGb2wWyKWXTzf60mOM9xW1TI2X1kf9CStt2N4mW8LVCPQS2WB030ahLCiHWbQa8 vhMGWx6ds6bg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,296,1610438400"; d="scan'208";a="394399463" Received: from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39]) by orsmga002.jf.intel.com with ESMTP; 01 Apr 2021 00:31:52 -0700 From: Yinan Wang To: dts@dpdk.org Cc: Yinan Wang Date: Thu, 1 Apr 2021 12:14:15 -0400 Message-Id: <20210401161415.677580-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH v1] test_plans/vhost_user_interrupt_test_plan.rst 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" Add new case for packed ring cbdma test. Signed-off-by: Yinan Wang --- test_plans/vhost_user_interrupt_test_plan.rst | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/test_plans/vhost_user_interrupt_test_plan.rst b/test_plans/vhost_user_interrupt_test_plan.rst index ea030a9f..f8d35297 100644 --- a/test_plans/vhost_user_interrupt_test_plan.rst +++ b/test_plans/vhost_user_interrupt_test_plan.rst @@ -147,4 +147,25 @@ Test Case5: Wake up split ring vhost-user cores with l3fwd-power sample when mul testpmd>set fwd txonly testpmd>start +4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again. + +Test Case6: Wake up packed ring vhost-user cores with l3fwd-power sample when multi queues and cbdma are enabled +================================================================================================================ + +1. Launch virtio-user with server mode:: + + ./testpmd -l 1-5 -n 4 --no-pci --file-prefix=virtio \ + --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4,packed_vq=1 -- -i --rxq=4 --txq=4 --rss-ip + +2. Bind 4 cbdma ports to igb_uio driver, then launch l3fwd-power with a virtual vhost device:: + + ./l3fwd-power -l 9-12 -n 4 --log-level=9 \ + --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3]' -- -p 0x1 --parse-ptype 1 \ + --config "(0,0,9),(0,1,10),(0,2,11),(0,3,12)" + +3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status:: + + testpmd>set fwd txonly + testpmd>start + 4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again. \ No newline at end of file -- 2.25.1