From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7530A052A; Fri, 10 Jul 2020 21:01:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CEF3C1DFEE; Fri, 10 Jul 2020 21:01:29 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 106661DFE3 for ; Fri, 10 Jul 2020 21:01:27 +0200 (CEST) IronPort-SDR: 9Co0TyQQ6zLIq4L93Q7oeaxnljTlE37CAXeXuxyYrmAiDfcT/PYrHLkxzl2U+X8jH/jYGDqZTh zEkH7dnprKEg== X-IronPort-AV: E=McAfee;i="6000,8403,9678"; a="166366447" X-IronPort-AV: E=Sophos;i="5.75,336,1589266800"; d="scan'208";a="166366447" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2020 12:01:27 -0700 IronPort-SDR: 9i9rW8+E8c/xGUgbxZdYtyqZL9G7yHgYE3DKQGotwkTKVOEu3Fku5UoP5jalQ457/aBPvXYNcE miofkGOYlIHw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,336,1589266800"; d="scan'208";a="484265581" Received: from irsmsx603.ger.corp.intel.com ([163.33.146.9]) by fmsmga006.fm.intel.com with ESMTP; 10 Jul 2020 12:01:24 -0700 Received: from irsmsx606.ger.corp.intel.com (163.33.146.139) by irsmsx603.ger.corp.intel.com (163.33.146.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 10 Jul 2020 20:01:24 +0100 Received: from irsmsx606.ger.corp.intel.com ([163.33.146.139]) by IRSMSX606.ger.corp.intel.com ([163.33.146.139]) with mapi id 15.01.1713.004; Fri, 10 Jul 2020 20:01:24 +0100 From: "Yigit, Ferruh" To: Ivan Dyukov , "dev@dpdk.org" , "v.kuramshin@samsung.com" , "thomas@monjalon.net" , "david.marchand@redhat.com" , "arybchenko@solarflare.com" , "Zhao1, Wei" , "Guo, Jia" , "Xing, Beilei" , "Yang, Qiming" , "Lu, Wenzhuo" , "mb@smartsharesystems.com" , "stephen@networkplumber.org" , "Chautru, Nicolas" , "Richardson, Bruce" , "Ananyev, Konstantin" , "Dumitrescu, Cristian" , "Nicolau, Radu" , "akhil.goyal@nxp.com" , "Doherty, Declan" , "skori@marvell.com" , "pbhagavatula@marvell.com" , "jerinj@marvell.com" , "kirankumark@marvell.com" , "Hunt, David" , "Burakov, Anatoly" , "Li, Xiaoyun" , "Wu, Jingjing" , "Mcnamara, John" , "Singh, Jasvinder" , "Marohn, Byron" , "Wang, Yipeng1" Thread-Topic: [PATCH v7 02/25] ethdev: add a link status text representation Thread-Index: AQHWVogvDlcKaYzFNkSMxdX5eqTxPakAyHKggABL4YCAABddwA== Date: Fri, 10 Jul 2020 19:01:23 +0000 Message-ID: References: <20200427095737.11082-1-i.dyukov@samsung.com> <20200710070226.6045-1-i.dyukov@samsung.com> <20200710070226.6045-3-i.dyukov@samsung.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action x-originating-ip: [163.33.253.164] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 02/25] ethdev: add a link status text representation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" PiBTdWJqZWN0OiBSZTogW1BBVENIIHY3IDAy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