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 AC3B3A0546; Fri, 30 Apr 2021 06:47:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2789A40693; Fri, 30 Apr 2021 06:47:00 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 912B540395 for ; Fri, 30 Apr 2021 06:46:58 +0200 (CEST) IronPort-SDR: uMn71bfYzb3ICG8JBbsVQjtHlaBaJNPIJEThcRiCtn4rO1IwsEpnSfXkBzMQ+zML955Cvz51PX ziaLx7kech+Q== X-IronPort-AV: E=McAfee;i="6200,9189,9969"; a="282538257" X-IronPort-AV: E=Sophos;i="5.82,260,1613462400"; d="scan'208";a="282538257" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2021 21:46:57 -0700 IronPort-SDR: PmBGGOtJezGZ/uc/r1aA/JpR2bdnCeU3X8bkG6aZp0Pu15VdJZon3WS2ZHA51KBCV7g4gDH37E 91wRyjtmrCZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,260,1613462400"; d="scan'208";a="619993856" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 29 Apr 2021 21:46:57 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 29 Apr 2021 21:46:57 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Thu, 29 Apr 2021 21:46:57 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Thu, 29 Apr 2021 21:46:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jD+ukZpVz+QLqC8JY2hU8YXABNGq4yYNRen9qEYLn9Lov9KCnH4Hj2P/lNFOU9cIrUGF+KlFMWnTbFciGshG3T+oa1H6TOkD0g/AgElhnn9CO//P92VZKQgKZRjoH4LPijY4Dh5x+I8NyZbj0NmaVQ4kZ0bQo8ls8tow9TQpCpaSS6dfSSIUmZyopdXA9sFxDLBJs9l42cGBnrpbm5z532KhVvUkXE7cbKb44pBnb95Sti1IBF68fI36C9mzoF0aoaONlfQR46osf5bZAb0wNUK3gTi3BuFU4kenpU/q8VzFn2fxZFxbIJcmETOiryIQpOyUE43pTide+c2dd5wAWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=opPXTbXeK+PrLHKMrvkctESdzXhSU9zmTzCtmCXL97o=; b=GR00QnUM6as+eiw5cq1tr9S8sJQKielZ4rUkctbSI1EySMyDlrH/vL8JUdv7hKJW7L+D0wsDD6N9t6Pt7x6HdodE5l3Ts+2xfYcq4MoN3WcAxAjPXh7JNBD8YR86becSJW3itYLGKH2TUhW8SjYQ6NQzwwUO5/sP9L4Esl4vBj+7Tt2vichtPb46S7ZPajVRZkYDPCgHtMP+hmyfhCJn8jByTN8e6iHZRIwNbwmaH6dO9NDfCXqesiyxRItYbSaIj5Hp7XZdEP46FQw2SnacttjYgq3ov5L0QnrlKTRMvCTt9rl4VMGL9uENLLUA+GueM2n142Fmr2+K6TX713aonA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=opPXTbXeK+PrLHKMrvkctESdzXhSU9zmTzCtmCXL97o=; b=PlL4RL0IR+n4F7RtXc0iQbBpUG5iVLlIScG/+zTVRu9sLz0xG40RKvbloW6sD18luwrCgF0pcNeSdrOpZHzuopeOxTpXk4SyXBfbaUU+6sl+d6ElKyf/hfEeHpJ6YStB80ynh6LMsm0lr7ITpdXL/DNoqky5lAKVkUlwr2Ign8w= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB4105.namprd11.prod.outlook.com (2603:10b6:5:5::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Fri, 30 Apr 2021 04:46:40 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::9034:15e:7cf3:4b78]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::9034:15e:7cf3:4b78%4]) with mapi id 15.20.4087.026; Fri, 30 Apr 2021 04:46:40 +0000 From: "Li, Xiaoyun" To: Huisong Li CC: "Yigit, Ferruh" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add link speed check before port start Thread-Index: AQHXPAm4iDqDa0Q+5UyGv4nRs/jke6rMU/swgAAfrICAAAsvMA== Date: Fri, 30 Apr 2021 04:46:40 +0000 Message-ID: References: <1618813303-32945-1-git-send-email-humin29@huawei.com> <1619599019-46246-1-git-send-email-humin29@huawei.com> <1619599019-46246-2-git-send-email-humin29@huawei.com> <95042d3b-408a-a290-de18-a887de558555@huawei.com> In-Reply-To: <95042d3b-408a-a290-de18-a887de558555@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ef6a93b9-0e49-4a55-d2de-08d90b92f24b x-ms-traffictypediagnostic: DM6PR11MB4105: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: j29yCF88YGBZpBSDZpdz7NQ5CTj8xlisz+9kZJ4l0CRaizbTeaHT5QU6YBCAOmkuSZJ9zkJEa8Zr1hTuItaHSziqCEzxOHBduYbgBKyin0vCXzv+c4/RYTE6tlr8Z+NEP4DVFEfOe/Sb5PmWzG1GHpifOjTaY3/2VqHogZc/QX3LoTk1daeJll9DuAUrYx2ODg/oEXxgprrUz98NHIUUJ9+Rt5dEubB17YsX26rU47jfqKYYvjzLb7kePS5ZP/koZhAP3b/hv2tkBMgsjKPJY5SNrjXlEXIy0U+/0ACNoRttBjMNwqZolqsTim9qjNa828UKvT2F7e9hmOYQnY0dyjDhcoxsfHIsmX/HTQJJS04ylUwQ0zq59wNry4e6CNhBFzxPhBr9cZjHNwVm7z4PTOmjvKClC851o1RLZpCAh0EfvG7iUk0TSx1PMcV+7KpO8mBKEHr3WrMz6zPfVHMM76EwKOkNHG56w77xc4HoIKMbJx9JmeJaQGAjykD93bJjlCZhk/rLhAdAMDxg1PEBO9+Kq8ijBp/Fy6nlhCelePWt5ZTZg57VME/npW8g+GKUSYowdN509tNVihcuOvzav1uXLNzNIE4cCCnu9Km5WHE= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(346002)(39860400002)(396003)(136003)(376002)(122000001)(54906003)(2906002)(4326008)(186003)(5660300002)(86362001)(64756008)(478600001)(66476007)(66556008)(52536014)(7696005)(76116006)(6506007)(83380400001)(66446008)(66946007)(71200400001)(53546011)(26005)(8676002)(8936002)(316002)(55016002)(33656002)(6916009)(9686003)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?SkMxRVlDS2RHbWduVlYwb3NTbFFaMHc3dnJ2d3lyRlFEcms0M0h2MW02WU9P?= =?utf-8?B?dER0d0h3anI1RVdXb3ZDUHVZSGN0akx0dWlwVGZHTU9hZkpQM0xrMjVRU0hT?= =?utf-8?B?aE1BbHp5ZFh2SmtQaXVUUGU0azQ3K3FucEs3T29mMXZvaFFhMnc4dHYzSWRQ?= =?utf-8?B?WkZMSkdES3ByamVaYmozeUxUbE5kTnV0Wk5ZM2pWQ2ZWNTA3bmsvQ091VGxJ?= =?utf-8?B?eUE3UzdYWkw1YVJPVGFKZk1DWWk2WHpZZnRMRVVoK284ZGhkQk8zbVVYVFE1?= =?utf-8?B?ZWhwaGlsMUEzTEtBMkFzZ1EybnhXeW81T2JXS0tZcVA5YlJJY04xUTk5d3RB?= =?utf-8?B?a1NsWXUvRlRrbnhmaW9FQVNBR25PNnlDQk1wckRNUDNSamNnT3JDS0pzYlBV?= =?utf-8?B?WHhJMzBSdDZFV0t0R2k1emZDdXVMMVVLWlY4U0VPcHQwVXZmcFhWcU9uYVRy?= =?utf-8?B?MzdMMWpVSW4xUTl5QWdLZXhhQStUT2NrQUlCTmo0Z2NOWTEvZHZieFFwaDRC?= =?utf-8?B?VHdwcTU3N0NCVE9NZlRxamErTlFzSHJJTUZzRGNXZnQzMDhiMXBsK0VZc2hr?= =?utf-8?B?WHN4N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hmVmJWVmdLQmgwa2FweHdBb0xaS3FrNGhGaGVjUFYvaldxM0VqZFBa?= =?utf-8?B?L2syZnYxdThLUjVCWDNSTnNUZjhzcUdBZnRBMkpmK08vNTFnL2ZWclVQSDV4?= =?utf-8?B?VG9jeGFVYnJpVkNGaXJZbUtJeUNzaE5sWUpqVVUrSFYxM0VLclhvdHRPVUdq?= =?utf-8?B?aExTQkF6WDl3NFIxVHhxaTJNMDRsKzkwaUNhZUM3eUQwUUQ5ck5tQi9INTQv?= =?utf-8?Q?hjgggyXjC05NEvTtEGYEgw/835XpovmBxD4mly4?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef6a93b9-0e49-4a55-d2de-08d90b92f24b X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2021 04:46:40.7145 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7CRliqmLx47o9gsWJSIHvkVpHDxmY1bg3ZQ6BNTVvdOluaapV9LkvlXLj61ED/NbY9JZixzP2s5JA09eI/JfWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4105 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add link speed check before port start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSHVpc29uZyBMaSA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