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 7CB36A0A02; Tue, 6 Apr 2021 09:46:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FE8A140F6D; Tue, 6 Apr 2021 09:46:05 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2082.outbound.protection.outlook.com [40.107.223.82]) by mails.dpdk.org (Postfix) with ESMTP id B0488406A2; Tue, 6 Apr 2021 09:46:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F0tvphBxXRLK5i7qlzovzxx+v5Xvo7imDE8KzzWI360n7pgVEVPGiyZczr5kDWVRqNf+iOSa15ccKJ15qse3xCn0ANClqjYVLu0N4GgsR1lglkLUO6X4C8MCweYWcVaoHudMYIPgi/XxK9fgHbunPYMbuGSHu3PCQBhHuhufzoBOSPn0ytzz4oDwXOPxchCsvVM33UBD59qVTX8MojF4+BQPpyRrYKBJbDnnB3x4LljPaPbe8ZR6tqfzV1w40tL+kYvSjJszVK511mIKuvVKKgahjxOqWjjF/tsrI7eg1hm2EEaJjLQv69eBpBbwiaB3gxgwJCcxfzBkakEZ1iFGZQ== 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=xcwGSxGcUHp/NALRmI7THRS3L9PBYKHsGregZk3GIq8=; b=BqD0uVwxJe375M4nBnor8+YziVVkq3ZE2vmnBtsT6mWhGH1muZ0w/qESkSzeFwp7xoBNq/uXkbP3oFIF9MtjH9nzFfF2KkV9fl5uM2Th7qr3SBFFs1PyMsbhZb+K7krt3V6ql5TZLTGwHitbkHj78p9y8KPOrKp9H6K5eO2gt94yG3D8x+CgaNJW/3QSWSL0wMHscIeHA0piSrVQPd+2hhxEY9RCQPuINeV4USyqL5iXSUg33zT2HRTE1IQlKHgii82BlCj4295SavriW00fdFVNHjyaPTkcYbV0JI6jU9yKEz6kZ1iE2vPquTPu9Pg2LRLCbFxKFvAQBiHmMkP5IA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xcwGSxGcUHp/NALRmI7THRS3L9PBYKHsGregZk3GIq8=; b=lZBTj7IvutyyJAbIvaKrProdO2tfFRcf+toSa9HxooSnLJ6YfymYHrbdIlDkL2CpzEhdXJe5qx15POxIMpf8QqLHSQlcG3jUwFcLpBq+orW/mlZ7dHlRa6Yj0BHDfbpv/DwkUWKoHILvGJ6VkODJWS7kI4RAZ9SoXtNbDRqj9YZtSu5/gd1xRoyijjfl5axWKL13eiAEwMadxfOciF2fqYiTiBw6i034B6EgBUgaMBhS+G16/VtS78RbjA25pFHG3UL86Jqtngfc31YAneQHFL07zgUqBG21q4SS7mXVTDnF8GcmPXM84I3Zfxescfuot+ha67pkn2Cy3DxLxUQW/A== Received: from MW2PR12MB2492.namprd12.prod.outlook.com (2603:10b6:907:8::19) by MW3PR12MB4345.namprd12.prod.outlook.com (2603:10b6:303:59::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Tue, 6 Apr 2021 07:46:02 +0000 Received: from MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::997d:63f4:b22c:8d90]) by MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::997d:63f4:b22c:8d90%7]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 07:46:02 +0000 From: Matan Azrad To: Tal Shnaiderman , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Raslan Darawsheh , Ophir Munk , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: fix link speed calculation on Windows Thread-Index: AQHXKrb85ruyiHmDnkq+aShgR1qk2KqnGvwg Date: Tue, 6 Apr 2021 07:46:02 +0000 Message-ID: References: <20210405161844.9560-1-talshn@nvidia.com> <20210406073159.3912-1-talshn@nvidia.com> In-Reply-To: <20210406073159.3912-1-talshn@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [216.228.117.191] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 68c4a3ef-1191-43c4-fb92-08d8f8d006f1 x-ms-traffictypediagnostic: MW3PR12MB4345: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:820; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GQmWLy0alXiWFBALVYrp3nr1G3MwKi/FuB9xP4AAgfLsDqM3LLc/B7rtIsBK/QX+/Jnf8Ht/rfcEavs9EtYxmCOStZdUI/gh0C5aKNDUlvH+Hk0kLWXhGOoS2IIxjWBi0xgrYQT88O1khvJUdeBJ4TErxXOqFXhOEwEGRHImH9U2iHuJOoRo1Ty/2FF0QceX0E52JP8O/4So6epPdQ3jnrcCrd3g/TAyVnusdr4vbjwzg9mdAyrw681b1/9IrwipwMBGJy35VUFj1ySihlL/W8iuwQm/xoymCaQLsG5QLiRVP9eU0HGTqk5XX9DBjGGG47gu5IVPBzBY1pd6XF2aJvAFqPSNQqU8H2MxVfkrjoAr1zVDvDTBlj307SWPk6cUSJyMU2P5wtzDQMY5BYYvUjlsp/vR74H80n61hJA1Qh91fX/uMe7aVYhQH9pOTiJW4cspTazxqHtVbVPqgDNEZJH+v3QdVKg8JDB5rmY3EtITZaqjmfxw9YGsqxbqqGRiqV8KZUq1mleRcw6Wngf9srdYB61Rx8rivnXZVzXV2Qgq59UzsyHk5+SYndo/tFiEEfQz6Krk9Ofck8mNT4ZCqnhos3H2JwyrJRGYV/tfKKP+baAWJwAbqzhb0oMCF4R//9kA+cW/R1gPT8dbWIOfaGpjOzqaGRWPJuQOkRNL7f8= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB2492.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(366004)(346002)(39860400002)(7696005)(6506007)(478600001)(4744005)(54906003)(316002)(110136005)(66476007)(55016002)(71200400001)(52536014)(33656002)(5660300002)(76116006)(66946007)(64756008)(9686003)(66446008)(66556008)(86362001)(2906002)(8936002)(38100700001)(4326008)(83380400001)(186003)(26005)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?SVYsWidxqNqRnMASKnmOxntwy4Ag0hbrMj67uwizIPaR5Uj/YE72yefKRtFA?= =?us-ascii?Q?UtFa1hEZj2s5428r/2EO+gMPaiNMX6Rm49mjphznQlBSc4eHH5bA2iSDWzOV?= =?us-ascii?Q?UFeN4sqimH1WI/x7XQKF6OFrsNk4PRI2PvGRgGU4M7HlHdOqpfrvdAvnTpOb?= =?us-ascii?Q?eG8K8pUVbn7oEL46yFTVxqxE67mAWnhpX9gZgvlUDKk6zmXuN1vf9499Mrar?= =?us-ascii?Q?cHUD1ZIjTCWgmY3wNXGJvPOSiAEbEfHDFUojXQIohG2A/BDKF+pZBk7q/uUq?= =?us-ascii?Q?Z2H8KznMtqluQYod/ArtOU3eNTVUxSrv4ikU8pr/9i/KBPxvNkZZ7Duh9Udp?= =?us-ascii?Q?vkzu2BI/k/NojiA0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Q?eEsYJ8aSZ0espi1a9wDk2Ob2KwKdj4tEiUaboO694QxT3QEBeMg9T4zfsaHW?= =?us-ascii?Q?HyO12XuQMQ1RQ1CqIWaxQHer?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB2492.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68c4a3ef-1191-43c4-fb92-08d8f8d006f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2021 07:46:02.4644 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Pot6gC5zPImATokU1l+Biwe6YWpne3yylTQvFvfrQR5PbCng9CFJmL4dcoD6mbEOU2Axc+9EW1Utlwhvwo2CCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4345 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix link speed calculation on Windows 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" From: Tal Shnaiderman > In Windows DevX returns the rate of the current link speed in bit/s, this= rate > was converted to Mibit/s instead of the Mbit/s rate expected by DPDK resu= lting > in wrong link speed reporting. >=20 > Fixes: 6fbd73709ee4be32 ("net/mlx5: support link update on Windows") > Cc: stable@dpdk.org >=20 > Signed-off-by: Tal Shnaiderman Acked-by: Matan Azrad