test suite reviews and discussions
 help / color / mirror / Atom feed
From: Ling Wei <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Ling Wei <weix.ling@intel.com>
Subject: [dts] [PATCH V1] tests/vhost_user_interrupt: add 1 packed ring cbdma testcase sync with testplan
Date: Fri,  2 Apr 2021 15:34:46 +0800	[thread overview]
Message-ID: <20210402073446.66810-1-weix.ling@intel.com> (raw)

Add 1 packed ring cbdma testcase 6 sync with testplan.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 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


             reply	other threads:[~2021-04-02  7:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  7:34 Ling Wei [this message]
2021-04-02  7:37 ` Ling, WeiX
2021-04-12  2:50   ` Wang, Yinan
2021-04-07  1:46 ` Tu, Lijuan
2021-04-07  1:47 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210402073446.66810-1-weix.ling@intel.com \
    --to=weix.ling@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).