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 51F11A00C5; Sun, 26 Apr 2020 13:44:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E37D01BFEB; Sun, 26 Apr 2020 13:44:23 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2064.outbound.protection.outlook.com [40.107.21.64]) by dpdk.org (Postfix) with ESMTP id 318871BFD9 for ; Sun, 26 Apr 2020 13:44:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nvgi+wIStYKdo0tbvUALmun6mIGYzaWhi0huK3/qZQSrSdVjbeYE/nRn6wyIIdIlnbCocukg1Af4XbghYhZ+Qb+BzvSHhfeyKFd2Blmgehcp6xSQZYpuTk6DhHtvzbPTjtxHwS5q+VVqG6hHh9o2IoNJ2fIDZO0rS0iQuEHnv+u8eFEEj4OKAcMI5x6ikNTN+y5+Ud14LvT6O+nJ6xZ4UIDEzDi//LxqPpYSc8o5LxgwckMCvkhQxRpCcvjmtrAcmecczh6KsWT7iQYUpaCGcksdlCrR44TEPvpLbysnADwpfuhmDFEx8LdgcK0sGg0RSdUGWL9pLUVzPyQ+6Weugw== 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=c5DabS5zMmWaoZa20mkT7jfd4eONkOx5s2NyhXpTlN0=; b=LPivUyf7B238wXyj6o3M661XDRPpfkq7Nt8G98jyMyJwGA5pEskffGhvtbiJ9ptMwd30f0hzgNSk4GETBjVeEvYUtGXunNvSi7jeAg2ke2i3J56MIf9f32gSqCUtAwLjiRnre1X5pCXrOY9YhU4cwN3GkO41QjvcRwvTbvV/YeCWrl30/8JPCSZF4n7s2rALxKERoA0k6PKyHBEezVBw0MECzvUEccq2b+VvfFnbCkAyv+SMJkpjsf+lT50fnLFoRIKAVEIXUGGasxXAV4ixj5rAinbpaAad0asqwuM1y9IXo9XBW55ZcufsIehpLhKn04iIVX+VaKjz2gKOdyxiTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c5DabS5zMmWaoZa20mkT7jfd4eONkOx5s2NyhXpTlN0=; b=CgvMrRvnUklEHzPXkeRwmouCr5zE6JP699mcDny7pnvw763Rn52p3Yd1ujKIM2hg/f9ahDiR1xcrCmUxo1A2d3aJwVv3FVQC3r8KWjCCIN7MI8kfvwNJ0GSAe//4qxHpamrO1nwu1vu5DigbUP6FOXcOFUn8D0f6WUcCoE8bFnE= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB4003.eurprd05.prod.outlook.com (2603:10a6:208:2::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Sun, 26 Apr 2020 11:44:22 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2937.020; Sun, 26 Apr 2020 11:44:22 +0000 From: Matan Azrad To: Thomas Monjalon , "dev@dpdk.org" CC: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Benoit Ganne , Ferruh Yigit , Andrew Rybchenko Thread-Topic: [dpdk-dev] [PATCH 2/2] ethdev: allow unknown link speed Thread-Index: AQHWDSuzavfkkMAqjUKbuLDAbvD9QKiLZEbg Date: Sun, 26 Apr 2020 11:44:22 +0000 Message-ID: References: <98CBD80474FA8B44BF855DF32C47DC35C60F3C@smartserver.smartshare.dk> <20200407222637.55289-1-thomas@monjalon.net> <20200407222637.55289-3-thomas@monjalon.net> In-Reply-To: <20200407222637.55289-3-thomas@monjalon.net> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [77.126.88.104] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f0068d52-4c3c-4679-dd5b-08d7e9d729b8 x-ms-traffictypediagnostic: AM0PR0502MB4003: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 03853D523D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(346002)(376002)(39860400002)(366004)(396003)(76116006)(71200400001)(2906002)(66946007)(66476007)(64756008)(81156014)(8936002)(33656002)(86362001)(52536014)(8676002)(4326008)(478600001)(66446008)(186003)(9686003)(66556008)(6506007)(5660300002)(7696005)(110136005)(54906003)(26005)(55016002)(66574012)(316002); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6z5vmDKTeQRe+UC0cajU+PhYMyQr00A1lCc/uiIVMXzd3HKllgtfLFPhbUMGSUAZTZT80vD459HfJnZ/Epjsvlw13QnoGcRnWu0ROZ3J4QL9BpaObWeF0XuH+ger96OkzGTk7aKYQHJquodqXYJlCiYm4aKGpcaeqsJ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+AZjbuOh/UZesUfv/nlv4PjqY+Y= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0068d52-4c3c-4679-dd5b-08d7e9d729b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2020 11:44:22.1727 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uDme5rO8TUQsn9CsazTnYvm9m9zy9vWmuOMJyoWKqDJFzeflUAjMTEV64fYcxpkEl0CLfzzITKURDVrv4o3kJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4003 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" SGkNCg0KRnJvbTogVGhvbWFzIE1vbmphbG9uDQo+IFdoZW4gcXVlcnlpbmcgdGhlIGxpbmsgaW5m b3JtYXRpb25zLCB0aGUgbGluayBzdGF0dXMgaXMgYSBtYW5kYXRvcnkgbWFqb3INCj4gaW5mb3Jt YXRpb24uDQo+IE90aGVyIGJvb2xlYW4gdmFsdWVzIGFyZSBzdXBwb3NlZCB0byBiZSBhY2N1cmF0 ZToNCj4gCS0gZHVwbGV4IG1vZGUgKGhhbGYvZnVsbCkNCj4gCS0gbmVnb3RpYXRpb24gKGF1dG8v Zml4ZWQpDQo+IA0KPiBUaGlzIEFQSSB1cGRhdGUgaXMgbWFraW5nIGV4cGxpY2l0IHRoYXQgdGhl IGxpbmsgc3BlZWQgaW5mb3JtYXRpb24gaXM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