From patchwork Sun Jul 16 09:07:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jin Ling X-Patchwork-Id: 129547 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 8676F42E8C; Sun, 16 Jul 2023 11:08:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0826B42C54; Sun, 16 Jul 2023 11:08:16 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id A3F6340DFD for ; Sun, 16 Jul 2023 11:08:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689498493; x=1721034493; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5abfLNHZOnimwTp9WmVrUtg3okzP2LLTttoOJfrscUU=; b=NUVitiXVH8zn3caCnsJ4/7GYCgAtJ6jlybVLRF1neDOaelhHjEwFsrsO Ku1kVS46/yk9iyCJaEW2T+OquLdG2tg3MG26KWwj5JkqkXcMsl85InJlD jlH26UPIIkpo/pbvnGbMarc3NZFxIfroK4xw5NsetVji8OSnfQ8UbUVTZ J4p1usxQsxSP6AQDCpDIhkoo4qyxoZidwdvpwnjAbkGtAQ6enbBpnZeGV xwxhsIvuncRtcX5J3JCttiHDFodLS+CkHjUhrZw52AC9nO6tXtYPizhYL /M90dxZuLeC/ko1Xtp7gMoTkjBu92nlR9OvNH4hE5vHA8obq15qrTneCZ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10772"; a="350610635" X-IronPort-AV: E=Sophos;i="6.01,210,1684825200"; d="scan'208";a="350610635" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2023 02:08:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10772"; a="788303669" X-IronPort-AV: E=Sophos;i="6.01,210,1684825200"; d="scan'208";a="788303669" Received: from dpdk-lingjin.sh.intel.com ([10.67.114.163]) by fmsmga008.fm.intel.com with ESMTP; 16 Jul 2023 02:08:12 -0700 From: Jin Ling To: dts@dpdk.org Cc: Jin Ling Subject: [DTS][PATCH V1 03/10] framework/config: save the serial port connection info of imc and acc to the self.crb Date: Sun, 16 Jul 2023 17:07:47 +0800 Message-Id: <20230716090753.1590148-4-jin.ling@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230716090753.1590148-1-jin.ling@intel.com> References: <20230716090753.1590148-1-jin.ling@intel.com> 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 Signed-off-by: Jin Ling --- framework/config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/framework/config.py b/framework/config.py index 2cd95ff2..cc5d9041 100644 --- a/framework/config.py +++ b/framework/config.py @@ -294,6 +294,16 @@ class CrbsConf(UserConf): crb["pass"] = value elif key == "os": crb["OS"] = value + elif key == "dut_acc_port": + crb["ACC PORT"] = value + elif key == "dut_acc_baudrate": + crb["ACC BAUDRATE"] = value + elif key == "dut_imc_port": + crb["IMC PORT"] = value + elif key == "dut_imc_baudrate": + crb["IMC BAUDRATE"] = value + elif key == "dut_imc_ip": + crb["IMC IP"] = value elif key == "tester_ip": crb["tester IP"] = value elif key == "tester_passwd":