* [dpdk-dev] [PATCH] net/mlx5: add ConnectX6 support
@ 2018-12-30 14:16 Wisam Monther
2018-12-31 7:28 ` Shahaf Shuler
0 siblings, 1 reply; 2+ messages in thread
From: Wisam Monther @ 2018-12-30 14:16 UTC (permalink / raw)
To: Shahaf Shuler; +Cc: dev
Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
---
drivers/net/mlx5/mlx5.c | 4 ++++
drivers/net/mlx5/mlx5.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 9e5cab1..dcabeb1 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1586,6 +1586,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF)
},
{
+ RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+ PCI_DEVICE_ID_MELLANOX_CONNECTX6)
+ },
+ {
.vendor_id = 0
}
};
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index b2fe5cb..c7efc3c 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -52,6 +52,7 @@ enum {
PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF = 0x101a,
PCI_DEVICE_ID_MELLANOX_CONNECTX5BF = 0xa2d2,
PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF = 0xa2d3,
+ PCI_DEVICE_ID_MELLANOX_CONNECTX6 = 0x101b,
};
/** Switch information returned by mlx5_nl_switch_info(). */
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: add ConnectX6 support
2018-12-30 14:16 [dpdk-dev] [PATCH] net/mlx5: add ConnectX6 support Wisam Monther
@ 2018-12-31 7:28 ` Shahaf Shuler
0 siblings, 0 replies; 2+ messages in thread
From: Shahaf Shuler @ 2018-12-31 7:28 UTC (permalink / raw)
To: Wisam Monther; +Cc: dev
Sunday, December 30, 2018 4:17 PM, Wisam Monther:
> Subject: [PATCH] net/mlx5: add ConnectX6 support
Name should be ConnectX-6.
>
> Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
> ---
> drivers/net/mlx5/mlx5.c | 4 ++++
> drivers/net/mlx5/mlx5.h | 1 +
> 2 files changed, 5 insertions(+)
Need to update also the rst file. See example in https://www.mail-archive.com/dev@dpdk.org/msg101529.html
ConnectX-6 is of course 200G.
>
> diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index
> 9e5cab1..dcabeb1 100644
> --- a/drivers/net/mlx5/mlx5.c
> +++ b/drivers/net/mlx5/mlx5.c
> @@ -1586,6 +1586,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
> PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF)
> },
> {
> + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> + PCI_DEVICE_ID_MELLANOX_CONNECTX6)
> + },
> + {
I assume we want also to add the ConnectX-6 VF, right?
> .vendor_id = 0
> }
> };
> diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index
> b2fe5cb..c7efc3c 100644
> --- a/drivers/net/mlx5/mlx5.h
> +++ b/drivers/net/mlx5/mlx5.h
> @@ -52,6 +52,7 @@ enum {
> PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF = 0x101a,
> PCI_DEVICE_ID_MELLANOX_CONNECTX5BF = 0xa2d2,
> PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF = 0xa2d3,
> + PCI_DEVICE_ID_MELLANOX_CONNECTX6 = 0x101b,
> };
>
> /** Switch information returned by mlx5_nl_switch_info(). */
> --
> 2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-31 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-30 14:16 [dpdk-dev] [PATCH] net/mlx5: add ConnectX6 support Wisam Monther
2018-12-31 7:28 ` Shahaf Shuler
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).