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 019B1A059F; Fri, 10 Apr 2020 12:53:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D87CA1D149; Fri, 10 Apr 2020 12:53:12 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id CDD831C2EB for ; Fri, 10 Apr 2020 12:53:11 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Fri, 10 Apr 2020 12:53:08 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C60F4E@smartserver.smartshare.dk> In-Reply-To: <20200407222637.55289-3-thomas@monjalon.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 2/2] ethdev: allow unknown link speed Thread-Index: AdYNK6/FBb1/FBILQPKL8n/8Q7dmpgB+lsUQ References: <98CBD80474FA8B44BF855DF32C47DC35C60F3C@smartserver.smartshare.dk> <20200407222637.55289-1-thomas@monjalon.net> <20200407222637.55289-3-thomas@monjalon.net> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Thomas Monjalon" , Cc: "Benoit Ganne" , "Ferruh Yigit" , "Andrew Rybchenko" Subject: Re: [dpdk-dev] [PATCH 2/2] ethdev: allow unknown link speed 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" PiBGcm9tOiBUaG9tYXMgTW9uamFsb24gW21haWx0bzp0aG9tYXNAbW9uamFsb24ubmV0XQ0KPiBT ZW50OiBXZWRuZXNkYX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