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 603FEA0579; Thu, 8 Apr 2021 12:59:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F251D406A3; Thu, 8 Apr 2021 12:59:45 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2070.outbound.protection.outlook.com [40.107.92.70]) by mails.dpdk.org (Postfix) with ESMTP id 99E9240698; Thu, 8 Apr 2021 12:59:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NOWQmm2k/qVbmIJW/7qsVdS3VLx6/TED25CyuH2aCJoeJAWOtjHtzGgg2a7eJBFRJrls9/1uPaH20XAJtBYX/54j0yJ8tFUl5C5iK70CxXM6Mi94yn2CzFdDvrn2EuFS0zasdflaUtcXeEVj+liGutTSwdU2ABtbZVgKCZHinjteQ3WOhKt+jMLLjr3vhhyu0Rvatw0yI4gjjIqdJezQON4Q6IoHuiKvKo/Dgi5ThwsnEqtCNqwJBLU3wSUn0gGS/MZovAEUt5StQunFJiRLT9JMZiM1DLVrDLj+DInYAYviZdMq2HJQzo1wJMNg9AqbnTcJ2VQHPVRoXZAZZgAJZQ== 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=wAcdyzEdOzXIirMWLwLjNEMdsfBQbcgO9FZlnfQmais=; b=gVSSWVnNGLLyA6l2SkHO6BC/8vHkbYeSpHJ1Tcp4KQRfGD4e0bxc4vL9mNn2/wFKiZ7Ng3TESbSZsbvpaxWrSkTInq2/3YmdReWxRubTEO0jVo6jCSCbHEoXlhq+iG2KYNKQy/oeuz62kZHuXjn5nYwN5Vp9oTHrdrX/2+2sUWv65M2sFg+myE1bM3GB0soqtnOc9RbPBS6fg8GkIJpIHofibgrSmYZqtoXqUDkD6WMSwLGmLUTCtrn3g6c03qN1WL6eeCWdgDK7m1rj3mCVdyx3kYzR24S5hm+I87rEORisCKnqFffaefQMSt//nAqqCNhz0UclvTulaFmo+SNftQ== 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=wAcdyzEdOzXIirMWLwLjNEMdsfBQbcgO9FZlnfQmais=; b=cKKepKiAE2XaClwy6BPQk6LvgJHGwm/x7CmxPAnGgtnbhjiKatC6eF1p4zEdxxbd6I0F4HoRMHGnmUloMu5wZX76y4LHBn1Z3o0UJPm0CasigLsf/alb+lXNayLph1SH7dfck5BpzY0XVdSeAvjT5UDy0lf4N6DPNA04eXpFJOdFE3ZmZgWKH1qeeY4r4PZjis057JUdcHLpd5T7Z9I84tm1wH9jbA70DBtnJxGVSF/Zj2rZF45bHG+nIzy+W5X/g4xzsEFgtFiSc3QyYpsJo6eRVu3AFISGbmTTypUh/QDGmXiX95E8HBCCRj+ha7vZSwtQ1Y6DmSh2esZ3yFUbfA== Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB4139.namprd12.prod.outlook.com (2603:10b6:5:214::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Thu, 8 Apr 2021 10:59:42 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2%6]) with mapi id 15.20.3912.031; Thu, 8 Apr 2021 10:59:42 +0000 From: Raslan Darawsheh To: Tal Shnaiderman , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Matan Azrad , Ophir Munk , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: fix link speed calculation on Windows Thread-Index: AQHXKrb8t+YGbxX2mkKI1s6l9rlH8aqqdw1Q Date: Thu, 8 Apr 2021 10:59:42 +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: [188.161.230.40] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 676f3c5b-c284-4970-f595-08d8fa7d69e6 x-ms-traffictypediagnostic: DM6PR12MB4139: 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:63; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vKijATztJRJ9EWCx2BtsWRu5R2lm/CW7hS/21x9QkoMNUIq7vYlLKjEaNfMTthcyIlPacyLkvLT4kKY5VJPcv3nGX9qFHPfSjW2/rE0SPdD9AUaEH0W3eB8FdiHsOw9JRIBmBlMyG4W2zDeLLKTMKtxgE2H08UlKK5On4Kc4Fez5yuRUYqBbKZSwK0tlv6kUyZlNPX4sWlBlKLMAzFU71ZO5fU9jRK1cxnJtOUnVojJFg1DpPiFLDXX5Pi/5nliHusywHnWK8JrAAsi0PaNTYSZy5F2GkwADvJHNtQFcFImK0v9a+Jp9DcUtm431uzYCYPf0Pmr25DDO+ykqM3TFF6BCJK8In0PbMJDbY2jFTpbUcVHN6Lyc1Nr0++FUc9LXzjd4t0dlLGwUmcKn1XPmM6pZg/V+A8t4vmkMVxW2NlMXbNxRc5ytyNRgHhkTIw4CwGuR9vzKqC2kpPlCqyZtty2QASasTGjL562U9Lb25uFXScjSXlYhzbQpWG+CBXr/QD0qAXVU08AiJWufNQiXmZHBN0DHTRISv57mCpvggQxolv/va/IDKUMo4mWM9za3YCznkCcbUamkjohunsakFFG/+gECxIXq+eV+nysI1bAExyiy7vMwewgZbdSdNQAv0ZIYCMQNad3721DDH2RRbdRIo6ml7892vmmaMP3sAHs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(366004)(376002)(396003)(39860400002)(5660300002)(4744005)(38100700001)(52536014)(478600001)(8936002)(4326008)(66476007)(33656002)(66946007)(76116006)(66556008)(66446008)(64756008)(53546011)(83380400001)(7696005)(316002)(2906002)(26005)(6506007)(186003)(9686003)(8676002)(55016002)(110136005)(86362001)(71200400001)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?JtVCCN+Sjg2GL09fdLQV8bEaxWWNLPMwWxmSk25fL9uHRnCDxCHn3wybrv8r?= =?us-ascii?Q?pWg5K4WS04LDxREFiAiFpAk+VtOUNoYNdVovOxuFfnwImLppUGmaIuKlIozu?= =?us-ascii?Q?+uE4Tjo4KSnlFUC18be69E2ISvEsoNZjW32HABvOUFH02V7ZOMk2D7bl3MVV?= =?us-ascii?Q?PEK3d87el4wUvhxyVMwWDp//mTvyXTH0xutVnNQeN1AOYqO26b09LGUj+JH2?= =?us-ascii?Q?nwdthnyMMMUhHKfyQv5oOJW+JU5+v9JAt0Av+qoh4ZDGSb+JCPNzPk97OSzz?= =?us-ascii?Q?f2Lo1ofSz7Wbfltca8spn3t1LHM7AG+nzwbxPxUxRXjhxkZSsenvYapaZH5r?= =?us-ascii?Q?lhIZWG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u?= =?us-ascii?Q?gQkOFFOoh7YJ9+RnbhyztkX5fiAwloKc2tIkI9Bz9JrxzCP4kFJKywYCm8pQ?= =?us-ascii?Q?N20aJU9SL3EEGL6wuA/RV/RJ?= 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: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 676f3c5b-c284-4970-f595-08d8fa7d69e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2021 10:59:42.6525 (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: lNdQOpHftJ8B6K06K8s9IbIJbMykswtrFrVEpCz4w6VmaU4pROFxYwkIFcxqAlbsAhvKVNQTVowHmwBJJ7BRAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4139 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" Hi, > -----Original Message----- > From: Tal Shnaiderman > Sent: Tuesday, April 6, 2021 10:32 AM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon ; Matan Azrad > ; Raslan Darawsheh ; Ophir > Munk ; stable@dpdk.org > Subject: [PATCH v2] net/mlx5: fix link speed calculation on Windows >=20 > 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 resulting 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 > --- > v2: fix commit message [Thomas] > --- Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh