[V1] tests/vhost_user_interrupt: add 1 packed ring cbdma testcase sync with testplan
Commit Message
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(-)
Comments
> -----Original Message-----
> From: Ling, WeiX <weix.ling@intel.com>
> Sent: Friday, April 2, 2021 03:35 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/vhost_user_interrupt: add 1 packed ring
> cbdma testcase sync with testplan
>
Tested-by: Wei Ling <weix.ling@intel.com>
> Add 1 packed ring cbdma testcase 6 sync with testplan.
>
> Signed-off-by: Ling Wei <weix.ling@intel.com>
Applied, thanks
> Add 1 packed ring cbdma testcase 6 sync with testplan.
>
> Signed-off-by: Ling Wei <weix.ling@intel.com>
Applied
Acked-by: Wang, Yinan <yinan.wang@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: 2021?4?2? 15:37
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/vhost_user_interrupt: add 1 packed ring
> cbdma testcase sync with testplan
>
> > -----Original Message-----
> > From: Ling, WeiX <weix.ling@intel.com>
> > Sent: Friday, April 2, 2021 03:35 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/vhost_user_interrupt: add 1 packed ring
> > cbdma testcase sync with testplan
> >
> Tested-by: Wei Ling <weix.ling@intel.com>
@@ -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.