test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring cbdma case
@ 2021-04-07  9:20 Ling Wei
  2021-04-07  9:22 ` Ling, WeiX
  0 siblings, 1 reply; 4+ messages in thread
From: Ling Wei @ 2021-04-07  9:20 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

Add 2 packed ring cbdma testcase 9 and 10 sync with testplan. 

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_virtio_event_idx_interrupt.py | 40 ++++++++++++++++---
 1 file changed, 35 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py b/tests/TestSuite_virtio_event_idx_interrupt.py
index b4c9de15..37634f05 100644
--- a/tests/TestSuite_virtio_event_idx_interrupt.py
+++ b/tests/TestSuite_virtio_event_idx_interrupt.py
@@ -257,7 +257,7 @@ class TestVirtioIdxInterrupt(TestCase):
 
     def test_perf_split_ring_virito_pci_driver_reload(self):
         """
-        virtio-pci driver reload test
+        Test Case 2: Split ring virtio-pci driver reload test
         """
         self.queues = 1
         self.nb_cores = 1
@@ -270,7 +270,7 @@ class TestVirtioIdxInterrupt(TestCase):
 
     def test_perf_wake_up_split_ring_virtio_net_cores_with_event_idx_interrupt_mode_16queue(self):
         """
-        wake up virtio-net cores with event idx interrupt mode 16 queues test
+        Test Case 3: Wake up split ring virtio-net cores with event idx interrupt mode 16 queues test
         """
         self.queues = 16
         self.nb_cores = 16
@@ -283,7 +283,7 @@ class TestVirtioIdxInterrupt(TestCase):
 
     def test_perf_packed_ring_virito_pci_driver_reload(self):
         """
-        virtio-pci driver reload test
+        Test Case 5: Packed ring virtio-pci driver reload test
         """
         self.queues = 1
         self.nb_cores = 1
@@ -296,7 +296,7 @@ class TestVirtioIdxInterrupt(TestCase):
 
     def test_perf_wake_up_packed_ring_virtio_net_cores_with_event_idx_interrupt_mode_16queue(self):
         """
-        wake up virtio-net cores with event idx interrupt mode 16 queues test
+        Test Case 6: Wake up packed ring virtio-net cores with event idx interrupt mode 16 queues test
         """
         self.queues = 16
         self.nb_cores = 16
@@ -331,7 +331,37 @@ class TestVirtioIdxInterrupt(TestCase):
         used_cbdma_num = 16
         self.get_cbdma_ports_info_and_bind_to_dpdk(used_cbdma_num)
         self.start_vhost_testpmd(dmas=self.dmas_info, mode='client')
-        self.start_vms(packed=False, mode='server')
+        self.start_vms(mode='server')
+        self.config_virito_net_in_vm()
+        self.start_to_send_packets(delay=15)
+        self.check_each_queue_has_packets_info_on_vhost()
+        self.stop_all_apps()
+
+    def test_perf_packed_ring_virito_pci_driver_reload_with_cbdma_enabled(self):
+        """
+        Test Case 9: Packed ring virtio-pci driver reload test with CBDMA enabled
+        """
+        self.queues = 1
+        self.nb_cores = 1
+        used_cbdma_num = 1
+        self.get_cbdma_ports_info_and_bind_to_dpdk(used_cbdma_num)
+        self.start_vhost_testpmd(dmas=self.dmas_info)
+        self.start_vms(packed=True)
+        self.config_virito_net_in_vm()
+        res = self.check_packets_after_reload_virtio_device(reload_times=30)
+        self.verify(res is True, "Should increase the wait times of ixia")
+        self.stop_all_apps()
+
+    def test_perf_wake_up_packed_ring_virtio_net_cores_with_event_idx_interrupt_mode_and_cbdma_enabled_16queue(self):
+        """
+        Test Case 10: Wake up packed ring virtio-net cores with event idx interrupt mode and cbdma enabled 16 queues test
+        """
+        self.queues = 16
+        self.nb_cores = 16
+        used_cbdma_num = 16
+        self.get_cbdma_ports_info_and_bind_to_dpdk(used_cbdma_num)
+        self.start_vhost_testpmd(dmas=self.dmas_info, mode='client')
+        self.start_vms(packed=True, mode='server')
         self.config_virito_net_in_vm()
         self.start_to_send_packets(delay=15)
         self.check_each_queue_has_packets_info_on_vhost()
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring cbdma case
  2021-04-07  9:20 [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring cbdma case Ling Wei
@ 2021-04-07  9:22 ` Ling, WeiX
  2021-04-12  2:50   ` Wang, Yinan
  0 siblings, 1 reply; 4+ messages in thread
From: Ling, WeiX @ 2021-04-07  9:22 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

> -----Original Message-----
> From: Ling, WeiX <weix.ling@intel.com>
> Sent: Wednesday, April 7, 2021 05:20 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring
> cbdma case
> 
Tested-by: Wei Ling <weix.ling@intel.com>

[-- Attachment #2: TestSuite_virtio_smoke.zip --]
[-- Type: application/x-zip-compressed, Size: 3242 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring cbdma case
  2021-04-07  9:22 ` Ling, WeiX
@ 2021-04-12  2:50   ` Wang, Yinan
  2021-04-12  5:31     ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Wang, Yinan @ 2021-04-12  2:50 UTC (permalink / raw)
  To: Ling, WeiX, dts

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: 2021?4?7? 17:22
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed
> ring cbdma case
> 
> > -----Original Message-----
> > From: Ling, WeiX <weix.ling@intel.com>
> > Sent: Wednesday, April 7, 2021 05:20 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed
> ring
> > cbdma case
> >
> Tested-by: Wei Ling <weix.ling@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring cbdma case
  2021-04-12  2:50   ` Wang, Yinan
@ 2021-04-12  5:31     ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-04-12  5:31 UTC (permalink / raw)
  To: Wang, Yinan, Ling, WeiX, dts

Applied

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Wang, Yinan
> Sent: 2021年4月12日 10:50
> To: Ling, WeiX <weix.ling@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring
> cbdma case
> 
> Acked-by: Wang, Yinan <yinan.wang@intel.com>
> 
> > -----Original Message-----
> > From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> > Sent: 2021?4?7? 17:22
> > To: dts@dpdk.org
> > Subject: Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2
> > packed ring cbdma case
> >
> > > -----Original Message-----
> > > From: Ling, WeiX <weix.ling@intel.com>
> > > Sent: Wednesday, April 7, 2021 05:20 PM
> > > To: dts@dpdk.org
> > > Cc: Ling, WeiX <weix.ling@intel.com>
> > > Subject: [dts][PATCH V1] tests/virtio_event_idx_interrupt: add 2
> > > packed
> > ring
> > > cbdma case
> > >
> > Tested-by: Wei Ling <weix.ling@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-12  5:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  9:20 [dts] [PATCH V1] tests/virtio_event_idx_interrupt: add 2 packed ring cbdma case Ling Wei
2021-04-07  9:22 ` Ling, WeiX
2021-04-12  2:50   ` Wang, Yinan
2021-04-12  5:31     ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git