From: Slava Ovsiienko <viacheslavo@nvidia.com>
To: Raslan Darawsheh <rasland@nvidia.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: Matan Azrad <matan@nvidia.com>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH] common/mlx5: fix name for ConnectX VF device ID
Date: Thu, 19 Nov 2020 08:13:16 +0000 [thread overview]
Message-ID: <MWHPR12MB1501B357EDDC03F0039DF1ECDFE00@MWHPR12MB1501.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20201119080610.14294-1-rasland@nvidia.com>
> -----Original Message-----
> From: Raslan Darawsheh <rasland@nvidia.com>
> Sent: Thursday, November 19, 2020 10:06
> To: dev@dpdk.org
> Cc: Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; stable@dpdk.org
> Subject: [PATCH] common/mlx5: fix name for ConnectX VF device ID
>
> Starting ConnectX-6 Dx, the VF device ID is generic and not per chip.
>
> https://pci-ids.ucw.cz/v2.2/pci.ids
> 101e ConnectX Family mlx5Gen Virtual Function
>
> This means that all will have the same VF device ID.
Extra space is here: "all will".
Beside this:
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
>
> Fixes: 5fc66630bed5 ("net/mlx5: add ConnectX6-DX device ID")
> Cc: stable@dpdk.org
>
> Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>
> ---
> 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(-)
>
> 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 = 0x101b,
> PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
> PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
> - PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
> + PCI_DEVICE_ID_MELLANOX_CONNECTXVF = 0x101e,
> PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
> PCI_DEVICE_ID_MELLANOX_CONNECTX6LX = 0x101f,
> PCI_DEVICE_ID_MELLANOX_CONNECTX7 = 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 = 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[] = {
> },
> {
> 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[]
> = {
> },
> {
> 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
next prev parent reply other threads:[~2020-11-19 8:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 8:06 Raslan Darawsheh
2020-11-19 8:13 ` Slava Ovsiienko [this message]
2020-11-19 9:43 ` Raslan Darawsheh
2020-11-19 10:54 ` [dpdk-stable] [dpdk-dev] " Raslan Darawsheh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MWHPR12MB1501B357EDDC03F0039DF1ECDFE00@MWHPR12MB1501.namprd12.prod.outlook.com \
--to=viacheslavo@nvidia.com \
--cc=dev@dpdk.org \
--cc=matan@nvidia.com \
--cc=rasland@nvidia.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).