From patchwork Thu Jan 14 15:27:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 86556 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 43CDEA0A02; Thu, 14 Jan 2021 08:36:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B778140FA7; Thu, 14 Jan 2021 08:36:03 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id D6109140F9B for ; Thu, 14 Jan 2021 08:36:00 +0100 (CET) IronPort-SDR: PuXmA74ZaBpEYobzUFn+t6cIvBk0DkfymJ5yAstJLO7no8p1qbQy3dgfI9vMxL/lVs72NzXqfI 2oZW5VAbwmcA== X-IronPort-AV: E=McAfee;i="6000,8403,9863"; a="263113363" X-IronPort-AV: E=Sophos;i="5.79,346,1602572400"; d="scan'208";a="263113363" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2021 23:35:59 -0800 IronPort-SDR: jTwgjqqk1IgxOj0LOTsnw+xZl9/ceKxFr8dgIkRbXOfKCEebWf3oDBvkOUmQcV0xfbwMh0awGV 6rAZ/tSD6V0g== X-IronPort-AV: E=Sophos;i="5.79,346,1602572400"; d="scan'208";a="382173853" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2021 23:35:57 -0800 From: Ling Wei To: dts@dpdk.org Cc: Ling Wei Date: Thu, 14 Jan 2021 15:27:48 +0000 Message-Id: <20210114152748.1900251-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dts] [PATCH V1] tests/virtio_event_idx_interrupt:Add -a option to allow pci list to start testpmd 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" 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 Tested-by: Wei Ling Acked-by: Wang, Yinan --- tests/TestSuite_virtio_event_idx_interrupt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)