diff mbox series

[V1] tests/virtio_event_idx_interrupt:Add -a option to allow pci list to start testpmd

Message ID 20210114152748.1900251-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] tests/virtio_event_idx_interrupt:Add -a option to allow pci list to start testpmd | expand

Commit Message

Ling, WeiX Jan. 14, 2021, 3:27 p.m. UTC
By dts framwork auto bind conf/ports.cfg port to dpdk driver, so add -a
option to allow pci list to start testpmd.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_virtio_event_idx_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ling, WeiX Jan. 14, 2021, 7:38 a.m. UTC | #1
Tested-by: Wei Ling <weix.ling@intel.com>

Regards,
Ling Wei

> -----Original Message-----
> From: Ling Wei <weix.ling@intel.com>
> Sent: Thursday, January 14, 2021 11:28 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/virtio_event_idx_interrupt:Add -a option to
> allow pci list to start testpmd
Wang, Yinan Jan. 19, 2021, 7:52 a.m. UTC | #2
Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: 2021?1?14? 15:38
> To: Ling, WeiX <weix.ling@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/virtio_event_idx_interrupt:Add -a
> option to allow pci list to start testpmd
> 
> Tested-by: Wei Ling <weix.ling@intel.com>
> 
> Regards,
> Ling Wei
> 
> > -----Original Message-----
> > From: Ling Wei <weix.ling@intel.com>
> > Sent: Thursday, January 14, 2021 11:28 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/virtio_event_idx_interrupt:Add -a option
> to
> > allow pci list to start testpmd
Tu, Lijuan Jan. 21, 2021, 7:49 a.m. UTC | #3
> By dts framwork auto bind conf/ports.cfg port to dpdk driver, so add -a
> option to allow pci list to start testpmd.
> 
> Signed-off-by: Ling Wei <weix.ling@intel.com>

Applied
diff mbox series

Patch

diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py b/tests/TestSuite_virtio_event_idx_interrupt.py
index 03d917b6..f92298e2 100644
--- a/tests/TestSuite_virtio_event_idx_interrupt.py
+++ b/tests/TestSuite_virtio_event_idx_interrupt.py
@@ -129,7 +129,7 @@  class TestVirtioIdxInterrupt(TestCase):
                 vdev = ["'net_vhost,iface=%s/vhost-net,queues=%d,%s=1,dmas=[%s],dmathr=64'" % (self.base_dir, self.queues, mode, dmas)]
             else:
                 vdev = ['net_vhost,iface=%s/vhost-net,queues=%d,dmas=[%s]' % (self.base_dir, self.queues, dmas)]
-            eal_params = self.dut.create_eal_parameters(cores=self.core_list, prefix='vhost', vdevs=vdev)
+            eal_params = self.dut.create_eal_parameters(cores=self.core_list, prefix='vhost', ports=device_str, vdevs=vdev)
         else:
             vdev = ['net_vhost,iface=%s/vhost-net,queues=%d ' % (self.base_dir, self.queues)]
             eal_params = self.dut.create_eal_parameters(cores=self.core_list, prefix='vhost', ports=[self.pf_pci], vdevs=vdev)