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 2F7A8A04DD; Thu, 19 Nov 2020 09:13:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BC47D4C90; Thu, 19 Nov 2020 09:13:28 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 87AB6DED; Thu, 19 Nov 2020 09:13:25 +0100 (CET) Received: from HKMAIL102.nvidia.com (Not Verified[10.18.92.100]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 19 Nov 2020 16:13:24 +0800 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Nov 2020 08:13:23 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.58) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 19 Nov 2020 08:13:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZBmEEhwY180Asr6xAH+oGthSRmpaziNd5H6rvso8Zg8YpSyq/3xEbJjwhui6lnJE2Z+nmbOXHZCrvQY8FPJOl0siHT0WLBYTiHpo5F6eMkWqfS4r3GMcc57mh43t+L7aVsKenJoxpi3ERkgsY2d3w9BriRNOIrc5LtnIt4SxBR+brSMrrxuRtJOtZClj97WH1t0M9SzDoszAmY1ELNJtImnT+KERz1prZOZkU54C21WJ3ZfKnJJaQvu0wJriWpA3s+mD9JrtzWAHeldq+GmCeVmlFNcd+Jp0mYEvXgCIjOJxfP/rFanvYPNjpMXFJHU44P7MfZAxzp9tjvEwEiG1YQ== 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=uRlMrzrQMKuPy32JoXsWOBMjBjP7sNO5FhPPurx0ZKM=; b=E9GIQoKXLux8jLZ9mo4oF/b4uPvJrcqNHtD4Z5zN/s66nJZt7ZdAoT2hZdfPKJZg07InJ9EuqvShIhoE+WytoOTtT5qORCdZMpwFvMuZPr1rcqi0wajUNZavVgDCas9nb8KysN97qQujshHa5Z/VLBbVw0KhyA2NnKIjkCeQkYAQTKuD3Dc20DE7TfPdDNP0aLiBh3NHLfasIpUKoQQCv/S+sfGrrQBBF+8o67txBwXEMg6riPo6PXvARvfkG4UkcFu44VD4gK2Egju+MNSfyeJrWg9pEqx6lc437vkxpFIGl3tSVFqunWXEScRevq3NNkf5IEX6fbTBg451+MYc1A== 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 Received: from MWHPR12MB1501.namprd12.prod.outlook.com (2603:10b6:301:f::18) by MW2PR12MB2345.namprd12.prod.outlook.com (2603:10b6:907:2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.22; Thu, 19 Nov 2020 08:13:17 +0000 Received: from MWHPR12MB1501.namprd12.prod.outlook.com ([fe80::ec4d:f17d:402c:78b4]) by MWHPR12MB1501.namprd12.prod.outlook.com ([fe80::ec4d:f17d:402c:78b4%6]) with mapi id 15.20.3589.022; Thu, 19 Nov 2020 08:13:17 +0000 From: Slava Ovsiienko To: Raslan Darawsheh , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [PATCH] common/mlx5: fix name for ConnectX VF device ID Thread-Index: AQHWvkrjRxquyCFvM0ad6Dwcnu7UPKnPGlgg Date: Thu, 19 Nov 2020 08:13:16 +0000 Message-ID: References: <20201119080610.14294-1-rasland@nvidia.com> In-Reply-To: <20201119080610.14294-1-rasland@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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: adb2b78b-0c85-4b61-a127-08d88c62f82c x-ms-traffictypediagnostic: MW2PR12MB2345: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PVExiH38LrkXT8bIilXQB49YxJ4kjzcj0CqZ0TTR+wIEUpO7QANUn5H7esjpQaKml5sf9jj4PId6U0JOCYa5ObK+ltyepZUQdK3xKeTc28XA654DeGA5ThC9CTjZMi15VG/0p+3jiVa4VkPssJhDglXFiNMU2wqx8Pmxi2F8EslSDxX3V3ydvJX+A1GFoWXO6RmhmoeLY6P0KrIhmmHAmIqsi0ehysMLPrGIBOSk2vQ5gx2jATjcd6c0e/1B7bUskeAAtwpPWnoYesNTzUNUAXMW+ME+ePSsM51NNqaaFW1eSJNexMkZgKT08NAmBx9Hw1D8VCtE/hdswVDE9vhmBYKVNt/DM3U76Zz5jNrl59jKjce/Aimzg5x632F8C2xGpEmiOX9aMzdTx92Kpi0O4A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR12MB1501.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(39860400002)(346002)(396003)(366004)(76116006)(110136005)(33656002)(4326008)(66476007)(5660300002)(55016002)(9686003)(83380400001)(316002)(186003)(66946007)(64756008)(86362001)(54906003)(66556008)(7696005)(66446008)(966005)(6506007)(2906002)(52536014)(53546011)(26005)(450100002)(71200400001)(8936002)(478600001)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: te3Kbz5qsz6la2rnMauI/GLz8mwfb7or7UjpeU4OVsxHzRFezCH7SQc2f479vCqtsNGjpdfEfszEuG0YNYrN7Wau/5t2q4Xol5+r8hPycopKpzkEgUYCrQIMGyhJudRo0pOsJFJF/Y1rYGBQRRbQAEdWag1vaaJPvAkc7Z2PhCAvKyYgkB1YZrLMEoEWBOHtBAbGOw+Fi+ZtPV5NxbsbnofjukvGggMcyYwdw5o7K1mSTUfIAQuldljkuKhEtG7LexH7pBFQE61n8OiSlZO8kS/d3yHDkAvGzmwOszgnuJEMj8PlOq/VDELV6jUjZ1Xhm67ArqC1n+tEp9vYr7KFH4zbuz7y3yJaFFKfkNkpBIuZjHElR2TFYfIGjWk4HAN0WQYypiRfsO1zifzzyJSjaDxDHn0Nrzxz7VrmilInMF1nxFQyVDP0Sk2NGFvtUljTeeOnq1GpL9D5h16PgTQ/I0KSP9xdHGEu1JjJJR+e8HtfoYFpu/KaDDhjo9bSiy0mqrs5ZYXmcoMU/XwMYdg5e3nZ70SQ8Q2EaFOwQ8K91p5wxWHLcHQxBtL2kRRj9DBKI6vf+jfy/jN7AJLgcLbSHQcD6wkdxS5hPc5U2w6YPfuSA6BcpMNLpB6w2QNROKZOwXS+wVl05EZdJwx6h8vWRw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR12MB1501.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: adb2b78b-0c85-4b61-a127-08d88c62f82c X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2020 08:13:17.0013 (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: 34F1wgUmH46BsSgu63UGfAXVy9psJ17DZiqw6tegnCDxlqK193/D3mi7O86d3RHqu5RaSn7BG/RUuZPCVre9bw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2345 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605773604; bh=uRlMrzrQMKuPy32JoXsWOBMjBjP7sNO5FhPPurx0ZKM=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ms-exchange-transport-forked: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=q01lJNGsyZsOZi4tK1aV487EOkDUKgfeL5bhK5pXyJq7nadOYK2JQAgXjo4WTCcKL /AgBVaObB+BVIDu85mbguz/IS8Yn3DSxxAiPqh5M/7lwfs92iKo1RxBjWEG2hEFr0G WUJw9DC+K4Zcb7qZQaYO2ufnZIqsWBE3+t5zirP9b5XH+zgg42Nvh5pL6ySNv7GP7E shvjvNqEOJjWH/UPVJUr7sDHXdq3iOO+wpsHWSql3JYBfK/ZzmyBW3sx/d8LnfgSBk oPteCet7b/BEFGj1wf0ZOhezftS8T/M1P8YY9D8l0pIu1GjG5W3kPz6qWasscNcPop 1OLOLuWmBT/rQ== Subject: Re: [dpdk-dev] [PATCH] common/mlx5: fix name for ConnectX VF device ID 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" > -----Original Message----- > From: Raslan Darawsheh > Sent: Thursday, November 19, 2020 10:06 > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > ; stable@dpdk.org > Subject: [PATCH] common/mlx5: fix name for ConnectX VF device ID >=20 > Starting ConnectX-6 Dx, the VF device ID is generic and not per chip. >=20 > https://pci-ids.ucw.cz/v2.2/pci.ids > 101e ConnectX Family mlx5Gen Virtual Function >=20 > This means that all will have the same VF device ID. Extra space is here: "all will". Beside this: Acked-by: Viacheslav Ovsiienko >=20 > Fixes: 5fc66630bed5 ("net/mlx5: add ConnectX6-DX device ID") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raslan Darawsheh > --- > drivers/common/mlx5/mlx5_common.h | 2 +- > drivers/net/mlx5/linux/mlx5_os.c | 2 +- > drivers/net/mlx5/mlx5.c | 2 +- > drivers/vdpa/mlx5/mlx5_vdpa.c | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/drivers/common/mlx5/mlx5_common.h > b/drivers/common/mlx5/mlx5_common.h > index 10a0851794..a484b74b9c 100644 > --- a/drivers/common/mlx5/mlx5_common.h > +++ b/drivers/common/mlx5/mlx5_common.h > @@ -131,7 +131,7 @@ enum { > PCI_DEVICE_ID_MELLANOX_CONNECTX6 =3D 0x101b, > PCI_DEVICE_ID_MELLANOX_CONNECTX6VF =3D 0x101c, > PCI_DEVICE_ID_MELLANOX_CONNECTX6DX =3D 0x101d, > - PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF =3D 0x101e, > + PCI_DEVICE_ID_MELLANOX_CONNECTXVF =3D 0x101e, > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF =3D 0xa2d6, > PCI_DEVICE_ID_MELLANOX_CONNECTX6LX =3D 0x101f, > PCI_DEVICE_ID_MELLANOX_CONNECTX7 =3D 0x1021, diff --git > a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_os.c > index 4b7fff4eff..9855bbe180 100644 > --- a/drivers/net/mlx5/linux/mlx5_os.c > +++ b/drivers/net/mlx5/linux/mlx5_os.c > @@ -2115,7 +2115,7 @@ mlx5_os_pci_probe(struct rte_pci_driver *pci_drv > __rte_unused, > case PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF: > case PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF: > case PCI_DEVICE_ID_MELLANOX_CONNECTX6VF: > - case PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF: > + case PCI_DEVICE_ID_MELLANOX_CONNECTXVF: > dev_config_vf =3D 1; > break; > default: > diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index > ede5fd44ab..db7e8d708c 100644 > --- a/drivers/net/mlx5/mlx5.c > +++ b/drivers/net/mlx5/mlx5.c > @@ -2035,7 +2035,7 @@ static const struct rte_pci_id mlx5_pci_id_map[] = =3D { > }, > { > RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > - > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) > + PCI_DEVICE_ID_MELLANOX_CONNECTXVF) > }, > { > RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.= c > index 1502abdc89..b64f364eb7 100644 > --- a/drivers/vdpa/mlx5/mlx5_vdpa.c > +++ b/drivers/vdpa/mlx5/mlx5_vdpa.c > @@ -824,7 +824,7 @@ static const struct rte_pci_id mlx5_vdpa_pci_id_map[] > =3D { > }, > { > RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > - > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) > + PCI_DEVICE_ID_MELLANOX_CONNECTXVF) > }, > { > RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > -- > 2.17.1