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 0A461A034F; Mon, 22 Mar 2021 03:55:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 055B0140EE0; Mon, 22 Mar 2021 03:55:35 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 8D5AE4069C for ; Mon, 22 Mar 2021 03:55:33 +0100 (CET) IronPort-SDR: Mzbb3Qd/Rmk5BfhQjGECF43gqfgEVCPgZC5daxQP1FHdA336Z1kQS610zJBJwhx8Jlmc5mnNFW 0XrQ1hbatz6g== X-IronPort-AV: E=McAfee;i="6000,8403,9930"; a="254189571" X-IronPort-AV: E=Sophos;i="5.81,266,1610438400"; d="scan'208";a="254189571" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2021 19:55:33 -0700 IronPort-SDR: oR9/pCq91Yl9FwYHgmPeWV8/kkGJZs9YUGwMbqeWYTkH2sYS6kRg9JY1X/sAIhtv7dk054Bicu YAPFHPUTAXdQ== X-IronPort-AV: E=Sophos;i="5.81,266,1610438400"; d="scan'208";a="407623023" Received: from unknown (HELO localhost.localdomain) ([10.240.183.57]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2021 19:55:31 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: lijuan.tu@intel.com, Haiyang Zhao Date: Mon, 22 Mar 2021 10:46:14 +0800 Message-Id: <20210322024616.14499-5-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210322024616.14499-1-haiyangx.zhao@intel.com> References: <20210322024616.14499-1-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 4/6] framework/dts: add more nic configurations in result 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" add nic driver/firmware/package version in result. Signed-off-by: Haiyang Zhao --- framework/dts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/dts.py b/framework/dts.py index d4a8c6e9..6f621a51 100644 --- a/framework/dts.py +++ b/framework/dts.py @@ -624,6 +624,10 @@ def run_all(config_file, pkgName, git, patch, skip_setup, if dts_run_prerequisties(duts, tester, pkgName, patch, dts_commands, serializer) is False: dts_crbs_exit(duts, tester) continue + result.kdriver = duts[0].nic.default_driver + '-' + duts[0].nic.driver_version + result.firmware = duts[0].nic.firmware + result.package = duts[0].nic.pkg['type'] + ' ' + duts[0].nic.pkg['version'] if duts[0].nic.pkg else None + result.driver = settings.load_global_setting(settings.HOST_DRIVER_SETTING) result.dpdk_version = duts[0].dpdk_version dts_run_target(duts, tester, targets, test_suites, subtitle) -- 2.17.1