From patchwork Fri May 27 03:41:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 111944 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 77B93A055C; Fri, 27 May 2022 05:42:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5073040E25; Fri, 27 May 2022 05:42:24 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 5772640DF7 for ; Fri, 27 May 2022 05:42:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653622942; x=1685158942; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KYEUvsIlRKbjgLYRhSYX0CP0BcvZaxmx2R9uzDw5cDg=; b=Z/cKUiHijGvhSEYh1tS8k5sT1WVEOGGcQz6KmT7xq7h6vhBinMCu2RBA 7GVLK2hcGgzhCTgIuYnh+l+pkT+/mJs/tvzjF7/LdMrb5tsYoTqc0ZVQh nAeAiQLVI2ApQrjeE07F69XIuFH/e7iXxP+yNwBGU/0ArxjW8Q6bCyqk1 eYFXyGBqEbEeIqbEhuU2Zk+lmpMLUi3Zc/At7Mr4lHb7GA3lthvhO60XD WjR6Afgh0oxsSNpcMqtLmoeMCFpeHcyoCx+PDHtoglh82levOslsQhN8/ yeOmrnCr6JUgy6gFjov1JQnTMZUhCr/IzzRSiutEPr8K6hWvWF3G0q2Yw w==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="256438997" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="256438997" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 20:42:21 -0700 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="603623903" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 20:42:20 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] tests/vm2vm_virtio_user_cbdma: add port=[] in create_eal_parameters API Date: Thu, 26 May 2022 23:41:29 -0400 Message-Id: <20220527034129.530032-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 When call the create_eal_parameters API to genrate the eal parameters, if the default no ports parameter, the create_eal_parameters API will use the PCI info in conf/ports.conf, so add port=[] parameter. Signed-off-by: Wei Ling Acked-by: Xingguang He Tested-by: Xingguang He --- tests/TestSuite_vm2vm_virtio_user_cbdma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vm2vm_virtio_user_cbdma.py b/tests/TestSuite_vm2vm_virtio_user_cbdma.py index 35d69325..0057047c 100644 --- a/tests/TestSuite_vm2vm_virtio_user_cbdma.py +++ b/tests/TestSuite_vm2vm_virtio_user_cbdma.py @@ -269,7 +269,7 @@ class TestVM2VMVirtioUserCbdma(TestCase): if dump the virtio-testpmd, the virtio-testpmd should started before launch pdump """ eal_params = self.dut.create_eal_parameters( - cores="Default", prefix="virtio-user1", fixed_prefix=True + cores="Default", prefix="virtio-user1", fixed_prefix=True, ports=[] ) command_line = ( self.app_pdump