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 AC3B7A054F; Mon, 15 Mar 2021 08:54:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 846AE4068B; Mon, 15 Mar 2021 08:54:38 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id D12614003C for ; Mon, 15 Mar 2021 08:54:36 +0100 (CET) IronPort-SDR: 4aP4BnR1tW8igFU7gcG4DgDxp+xcOaV+wdxZvRuYHmVt2Qp342dzykMh5ZztmpxIWXp6+nob/K SsBDSB3ofquQ== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="253066205" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="253066205" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2021 00:54:34 -0700 IronPort-SDR: wTHLBzXdbPRqxBEy8Xhb522s/N+g9XOlwydtrwyhFNPYrYtfJxObZoDzrzlnsz1J1qto4wIaKi FCWaF20rcRUQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="522072641" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga004.jf.intel.com with ESMTP; 15 Mar 2021 00:54:33 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Mar 2021 00:54:33 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Mar 2021 15:54:31 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Mon, 15 Mar 2021 15:54:31 +0800 From: "Tu, Lijuan" To: "Ling, WeiX" , "dts@dpdk.org" CC: "Ling, WeiX" Thread-Topic: [dts] [PATCH V1] tests/vhost_pmd_xstats: add allow pci param to support tester and dut in same server and optimize code Thread-Index: AQHXFYMM059aqrykPUOgzH60JxeL2KqEtcSg Date: Mon, 15 Mar 2021 07:54:31 +0000 Message-ID: References: <20210310075528.2197433-1-weix.ling@intel.com> In-Reply-To: <20210310075528.2197433-1-weix.ling@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/vhost_pmd_xstats: add allow pci param to support tester and dut in same server and optimize code 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" > 1.Add -a option to support tester and dut in same server. > 2.Use pmd.start_testpmd() to replace session.send_expect() > to start testpmd. > 3.Move create dut ssh session from set_up to set_up_all > to reduce the number of creation. > 4.Add close dut session in tear_down_all to close session > when suite execute over. Applied