From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D231142BEB; Wed, 31 May 2023 07:26:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AAA384161A; Wed, 31 May 2023 07:26:39 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B2F5E40ED7 for ; Wed, 31 May 2023 07:26:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685510798; x=1717046798; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=I8/08jD7Nlb1VhhT3yEp7WJ9qBtuckGetErc5PfvmOs=; b=YIF+Qgj0+QDg9C3jgyyN3gf9Kg+G1ihkmr51EC/ZXtXwfKcywoJguZMe N8hp+To/iv+pTDOA+gYth5OGt7hcFCQ/HZEMO05191y8x68y4ZEtdbYXA G9Ibj8Kjcx7obNNuyavIzVNffsXSLAxO+4rjSPPfc/UswUwAMuhIgUd9O oHiknK1oLm2OBptcMlnOrWq01tAq7s0af4k7wJdikkDhKYahKPeOhvqfr oI1NmrsdGncs18vKNcXvR1snJjll/q7OEv+aNrPhUsrCV+HK6CkNE6/PK 0LNWZT4kERHuhF8IFdcPPE5AiN/z2QK9r4l5jklvKcqJiZ7mOMuTy+lr+ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="335487782" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="335487782" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 22:26:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="776629770" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="776629770" Received: from unknown (HELO tester97VF6024..) ([10.239.252.97]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 22:26:35 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH v1] tests/kernelpf_iavf: support eal_param -a to avoid running containers conflict Date: Wed, 31 May 2023 13:26:20 +0000 Message-Id: <20230531132620.198471-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Support eal_param -a to avoid running containers conflict. Signed-off-by: Weiyuan Li --- tests/TestSuite_kernelpf_iavf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py index 49d82545..bde556ea 100644 --- a/tests/TestSuite_kernelpf_iavf.py +++ b/tests/TestSuite_kernelpf_iavf.py @@ -756,7 +756,9 @@ class TestKernelpfIavf(TestCase): # start l3fwd-power l3fwd_app = self.dut.apps_name["l3fwd-power"] - cmd = l3fwd_app + " -l 6,7 -n 4 -- -p 0x3 --config " + "'(0,0,6),(1,0,7)'" + vf_pci_id_0 = self.dut.ports_info[self.used_dut_port_0]["sriov_vfs_pci"][0] + vf_pci_id_1 = self.dut.ports_info[self.used_dut_port_1]["sriov_vfs_pci"][0] + cmd = l3fwd_app + f" -l 6,7 -n 4 -a {vf_pci_id_0} -a {vf_pci_id_1} -- -p 0x3 --config " + "'(0,0,6),(1,0,7)'" self.dut.send_expect(cmd, "POWER", timeout=40) out = self.dut.get_session_output() print(out) -- 2.34.1