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 883DDA0548; Fri, 2 Apr 2021 09:36:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74E8B140FF6; Fri, 2 Apr 2021 09:36:11 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 076B3140FE7 for ; Fri, 2 Apr 2021 09:36:09 +0200 (CEST) IronPort-SDR: FgfX7iQ/SppeH1kKX2PkzdYaIe9/BRVIGtQU5zn92B3nMsip6H0qw2UZBBkEfZskbs47iVSGAh PqQ0eYIg6jIw== X-IronPort-AV: E=McAfee;i="6000,8403,9941"; a="253747852" X-IronPort-AV: E=Sophos;i="5.81,299,1610438400"; d="scan'208";a="253747852" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2021 00:36:08 -0700 IronPort-SDR: BIxVrqfZq4SU4XXezi6HcpRsWJq4gPNRJIHE1lH1ZSjMfYkXeO+Qkz1ecSdXROJun+XFaVxJT5 woGu8kgwMW1Q== X-IronPort-AV: E=Sophos;i="5.81,299,1610438400"; d="scan'208";a="419552625" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2021 00:36:06 -0700 From: Ling Wei To: dts@dpdk.org Cc: Ling Wei Date: Fri, 2 Apr 2021 15:34:46 +0800 Message-Id: <20210402073446.66810-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] tests/vhost_user_interrupt: add 1 packed ring cbdma testcase sync with testplan 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 1 packed ring cbdma testcase 6 sync with testplan. Signed-off-by: Ling Wei --- tests/TestSuite_vhost_user_interrupt.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py index 296d2283..9a7d8479 100644 --- a/tests/TestSuite_vhost_user_interrupt.py +++ b/tests/TestSuite_vhost_user_interrupt.py @@ -225,7 +225,7 @@ class TestVhostUserInterrupt(TestCase): def test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample(self): """ - Check the virtio-user interrupt can work when use vhost-net as backend + Test Case1: Wake up split ring vhost-user core with l3fwd-power sample """ self.queues = 1 self.get_core_list() @@ -236,7 +236,7 @@ class TestVhostUserInterrupt(TestCase): def test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled(self): """ - Check the virtio-user interrupt can work with multi queue + Test Case2: Wake up split ring vhost-user cores with l3fwd-power sample when multi queues are enabled """ self.queues = 4 self.get_core_list() @@ -247,7 +247,7 @@ class TestVhostUserInterrupt(TestCase): def test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample(self): """ - Check the virtio-user interrupt can work when use vhost-net as backend + Test Case3: Wake up packed ring vhost-user core with l3fwd-power sample """ self.queues = 1 self.get_core_list() @@ -258,7 +258,7 @@ class TestVhostUserInterrupt(TestCase): def test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled(self): """ - Check the virtio-user interrupt can work with multi queue + Test Case4: Wake up packed ring vhost-user cores with l3fwd-power sample when multi queues are enabled """ self.queues = 4 self.get_core_list() @@ -269,7 +269,7 @@ class TestVhostUserInterrupt(TestCase): def test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled_and_cbdma_enabled(self): """ - Check the virtio-user interrupt can work with multi queue and cbdma_enabled + Test Case5: Wake up split ring vhost-user cores with l3fwd-power sample when multi queues and cbdma are enabled """ self.queues = 4 self.get_core_list() @@ -278,6 +278,17 @@ class TestVhostUserInterrupt(TestCase): self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20) self.send_and_verify() + def test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled_and_cbdma_enabled(self): + """ + Test Case6: Wake up packed ring vhost-user cores with l3fwd-power sample when multi queues and cbdma are enabled + """ + self.queues = 4 + self.get_core_list() + self.lanuch_virtio_user(packed=True, cbdma=True) + self.lanuch_l3fwd_power(cbdma=True) + self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20) + self.send_and_verify() + def tear_down(self): """ Run after each test case. -- 2.25.1