DPDK patches and discussions
 help / color / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
@ 2020-02-13 16:11 Raslan Darawsheh
  2020-02-16 15:02 ` Gavin Hu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Raslan Darawsheh @ 2020-02-13 16:11 UTC (permalink / raw)
  To: dev; +Cc: thomas

This adds new device id to the list of Mellanox devices
that runs mlx5 PMD.
- BlueField-2 integrated ConnectX-6 Dx network controller

This device is not ready yet, it is in development stage.

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
---
 doc/guides/rel_notes/release_20_02.rst | 1 +
 drivers/common/mlx5/mlx5_common.h      | 1 +
 drivers/net/mlx5/mlx5.c                | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/doc/guides/rel_notes/release_20_02.rst b/doc/guides/rel_notes/release_20_02.rst
index a40fa06..527c752 100644
--- a/doc/guides/rel_notes/release_20_02.rst
+++ b/doc/guides/rel_notes/release_20_02.rst
@@ -113,6 +113,7 @@ New Features
   * Added support for RSS using L3/L4 source/destination only.
   * Added support for matching on GTP tunnel header item.
   * Removed limitation of matching on tagged/untagged packets (when using DV flow engine).
+  * Added BlueField-2 integrated ConnectX-6 Dx device support.
 
 * **Add new vDPA PMD based on Mellanox devices**
 
diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h
index bc200e2..961c606 100644
--- a/drivers/common/mlx5/mlx5_common.h
+++ b/drivers/common/mlx5/mlx5_common.h
@@ -137,6 +137,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
+	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
 };
 
 /* Maximum number of simultaneous unicast MAC addresses. */
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 23a50f3..4803760 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -3530,6 +3530,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
 				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
 	},
 	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
+	},
+	{
 		.vendor_id = 0
 	}
 };
-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
  2020-02-13 16:11 [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Raslan Darawsheh
@ 2020-02-16 15:02 ` Gavin Hu
  2020-02-18 12:01 ` Raslan Darawsheh
  2020-02-18 13:23 ` [dpdk-dev] [PATCH v2] " Raslan Darawsheh
  2 siblings, 0 replies; 7+ messages in thread
From: Gavin Hu @ 2020-02-16 15:02 UTC (permalink / raw)
  To: Raslan Darawsheh, dev; +Cc: thomas, nd

Reviewed-by: Gavin Hu <gavin.hu@arm.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
  2020-02-13 16:11 [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Raslan Darawsheh
  2020-02-16 15:02 ` Gavin Hu
@ 2020-02-18 12:01 ` Raslan Darawsheh
  2020-02-18 13:11   ` Matan Azrad
  2020-02-18 13:23 ` [dpdk-dev] [PATCH v2] " Raslan Darawsheh
  2 siblings, 1 reply; 7+ messages in thread
From: Raslan Darawsheh @ 2020-02-18 12:01 UTC (permalink / raw)
  To: Raslan Darawsheh, dev; +Cc: Thomas Monjalon

Hi,

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Raslan Darawsheh
> Sent: Thursday, February 13, 2020 6:12 PM
> To: dev@dpdk.org
> Cc: Thomas Monjalon <thomas@monjalon.net>
> Subject: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
> 
> This adds new device id to the list of Mellanox devices
> that runs mlx5 PMD.
> - BlueField-2 integrated ConnectX-6 Dx network controller
> 
> This device is not ready yet, it is in development stage.
> 
> Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
> ---
>  doc/guides/rel_notes/release_20_02.rst | 1 +
>  drivers/common/mlx5/mlx5_common.h      | 1 +
>  drivers/net/mlx5/mlx5.c                | 4 ++++
>  3 files changed, 6 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/release_20_02.rst
> b/doc/guides/rel_notes/release_20_02.rst
> index a40fa06..527c752 100644
> --- a/doc/guides/rel_notes/release_20_02.rst
> +++ b/doc/guides/rel_notes/release_20_02.rst
> @@ -113,6 +113,7 @@ New Features
>    * Added support for RSS using L3/L4 source/destination only.
>    * Added support for matching on GTP tunnel header item.
>    * Removed limitation of matching on tagged/untagged packets (when using
> DV flow engine).
> +  * Added BlueField-2 integrated ConnectX-6 Dx device support.
> 
>  * **Add new vDPA PMD based on Mellanox devices**
> 
> diff --git a/drivers/common/mlx5/mlx5_common.h
> b/drivers/common/mlx5/mlx5_common.h
> index bc200e2..961c606 100644
> --- a/drivers/common/mlx5/mlx5_common.h
> +++ b/drivers/common/mlx5/mlx5_common.h
> @@ -137,6 +137,7 @@ enum {
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
> +	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
>  };
> 
>  /* Maximum number of simultaneous unicast MAC addresses. */
> diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
> index 23a50f3..4803760 100644
> --- a/drivers/net/mlx5/mlx5.c
> +++ b/drivers/net/mlx5/mlx5.c
> @@ -3530,6 +3530,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] =
> {
> 
> 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
>  	},
>  	{
> +		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> +
> 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
> +	},
> +	{
>  		.vendor_id = 0
>  	}
>  };
> --
> 2.7.4

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
  2020-02-18 12:01 ` Raslan Darawsheh
@ 2020-02-18 13:11   ` Matan Azrad
  2020-02-18 13:22     ` Raslan Darawsheh
  0 siblings, 1 reply; 7+ messages in thread
From: Matan Azrad @ 2020-02-18 13:11 UTC (permalink / raw)
  To: Raslan Darawsheh, Raslan Darawsheh, dev; +Cc: Thomas Monjalon

Hi

This one should be added to the mlx5 vDPA driver too.

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Raslan Darawsheh
> Sent: Tuesday, February 18, 2020 2:02 PM
> To: Raslan Darawsheh <rasland@mellanox.com>; dev@dpdk.org
> Cc: Thomas Monjalon <thomas@monjalon.net>
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
> 
> Hi,
> 
> > -----Original Message-----
> > From: dev <dev-bounces@dpdk.org> On Behalf Of Raslan Darawsheh
> > Sent: Thursday, February 13, 2020 6:12 PM
> > To: dev@dpdk.org
> > Cc: Thomas Monjalon <thomas@monjalon.net>
> > Subject: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
> >
> > This adds new device id to the list of Mellanox devices that runs mlx5
> > PMD.
> > - BlueField-2 integrated ConnectX-6 Dx network controller
> >
> > This device is not ready yet, it is in development stage.
> >
> > Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
> > ---
> >  doc/guides/rel_notes/release_20_02.rst | 1 +
> >  drivers/common/mlx5/mlx5_common.h      | 1 +
> >  drivers/net/mlx5/mlx5.c                | 4 ++++
> >  3 files changed, 6 insertions(+)
> >
> > diff --git a/doc/guides/rel_notes/release_20_02.rst
> > b/doc/guides/rel_notes/release_20_02.rst
> > index a40fa06..527c752 100644
> > --- a/doc/guides/rel_notes/release_20_02.rst
> > +++ b/doc/guides/rel_notes/release_20_02.rst
> > @@ -113,6 +113,7 @@ New Features
> >    * Added support for RSS using L3/L4 source/destination only.
> >    * Added support for matching on GTP tunnel header item.
> >    * Removed limitation of matching on tagged/untagged packets (when
> > using DV flow engine).
> > +  * Added BlueField-2 integrated ConnectX-6 Dx device support.
> >
> >  * **Add new vDPA PMD based on Mellanox devices**
> >
> > diff --git a/drivers/common/mlx5/mlx5_common.h
> > b/drivers/common/mlx5/mlx5_common.h
> > index bc200e2..961c606 100644
> > --- a/drivers/common/mlx5/mlx5_common.h
> > +++ b/drivers/common/mlx5/mlx5_common.h
> > @@ -137,6 +137,7 @@ enum {
> >  	PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
> >  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
> >  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
> > +	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
> >  };
> >
> >  /* Maximum number of simultaneous unicast MAC addresses. */ diff
> > --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index
> > 23a50f3..4803760 100644
> > --- a/drivers/net/mlx5/mlx5.c
> > +++ b/drivers/net/mlx5/mlx5.c
> > @@ -3530,6 +3530,10 @@ static const struct rte_pci_id
> > mlx5_pci_id_map[] = {
> >
> > 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
> >  	},
> >  	{
> > +		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> > +
> > 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
> > +	},
> > +	{
> >  		.vendor_id = 0
> >  	}
> >  };
> > --
> > 2.7.4
> 
> Patch applied to next-net-mlx,
> 
> Kindest regards,
> Raslan Darawsheh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
  2020-02-18 13:11   ` Matan Azrad
@ 2020-02-18 13:22     ` Raslan Darawsheh
  0 siblings, 0 replies; 7+ messages in thread
From: Raslan Darawsheh @ 2020-02-18 13:22 UTC (permalink / raw)
  To: Matan Azrad, dev; +Cc: Thomas Monjalon

Sure, will send a V2 now 

Kindest regards,
Raslan Darawsheh

> -----Original Message-----
> From: Matan Azrad <matan@mellanox.com>
> Sent: Tuesday, February 18, 2020 3:11 PM
> To: Raslan Darawsheh <rasland@mellanox.com>; Raslan Darawsheh
> <rasland@mellanox.com>; dev@dpdk.org
> Cc: Thomas Monjalon <thomas@monjalon.net>
> Subject: RE: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
> 
> Hi
> 
> This one should be added to the mlx5 vDPA driver too.
> 
> > -----Original Message-----
> > From: dev <dev-bounces@dpdk.org> On Behalf Of Raslan Darawsheh
> > Sent: Tuesday, February 18, 2020 2:02 PM
> > To: Raslan Darawsheh <rasland@mellanox.com>; dev@dpdk.org
> > Cc: Thomas Monjalon <thomas@monjalon.net>
> > Subject: Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
> >
> > Hi,
> >
> > > -----Original Message-----
> > > From: dev <dev-bounces@dpdk.org> On Behalf Of Raslan Darawsheh
> > > Sent: Thursday, February 13, 2020 6:12 PM
> > > To: dev@dpdk.org
> > > Cc: Thomas Monjalon <thomas@monjalon.net>
> > > Subject: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID
> > >
> > > This adds new device id to the list of Mellanox devices that runs mlx5
> > > PMD.
> > > - BlueField-2 integrated ConnectX-6 Dx network controller
> > >
> > > This device is not ready yet, it is in development stage.
> > >
> > > Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
> > > ---
> > >  doc/guides/rel_notes/release_20_02.rst | 1 +
> > >  drivers/common/mlx5/mlx5_common.h      | 1 +
> > >  drivers/net/mlx5/mlx5.c                | 4 ++++
> > >  3 files changed, 6 insertions(+)
> > >
> > > diff --git a/doc/guides/rel_notes/release_20_02.rst
> > > b/doc/guides/rel_notes/release_20_02.rst
> > > index a40fa06..527c752 100644
> > > --- a/doc/guides/rel_notes/release_20_02.rst
> > > +++ b/doc/guides/rel_notes/release_20_02.rst
> > > @@ -113,6 +113,7 @@ New Features
> > >    * Added support for RSS using L3/L4 source/destination only.
> > >    * Added support for matching on GTP tunnel header item.
> > >    * Removed limitation of matching on tagged/untagged packets (when
> > > using DV flow engine).
> > > +  * Added BlueField-2 integrated ConnectX-6 Dx device support.
> > >
> > >  * **Add new vDPA PMD based on Mellanox devices**
> > >
> > > diff --git a/drivers/common/mlx5/mlx5_common.h
> > > b/drivers/common/mlx5/mlx5_common.h
> > > index bc200e2..961c606 100644
> > > --- a/drivers/common/mlx5/mlx5_common.h
> > > +++ b/drivers/common/mlx5/mlx5_common.h
> > > @@ -137,6 +137,7 @@ enum {
> > >  	PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
> > >  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
> > >  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
> > > +	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
> > >  };
> > >
> > >  /* Maximum number of simultaneous unicast MAC addresses. */ diff
> > > --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index
> > > 23a50f3..4803760 100644
> > > --- a/drivers/net/mlx5/mlx5.c
> > > +++ b/drivers/net/mlx5/mlx5.c
> > > @@ -3530,6 +3530,10 @@ static const struct rte_pci_id
> > > mlx5_pci_id_map[] = {
> > >
> > > 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
> > >  	},
> > >  	{
> > > +		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> > > +
> > > 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
> > > +	},
> > > +	{
> > >  		.vendor_id = 0
> > >  	}
> > >  };
> > > --
> > > 2.7.4
> >
> > Patch applied to next-net-mlx,
> >
> > Kindest regards,
> > Raslan Darawsheh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [dpdk-dev] [PATCH v2] net/mlx5: add BlueField-2 device ID
  2020-02-13 16:11 [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Raslan Darawsheh
  2020-02-16 15:02 ` Gavin Hu
  2020-02-18 12:01 ` Raslan Darawsheh
@ 2020-02-18 13:23 ` " Raslan Darawsheh
  2020-02-18 13:26   ` Raslan Darawsheh
  2 siblings, 1 reply; 7+ messages in thread
From: Raslan Darawsheh @ 2020-02-18 13:23 UTC (permalink / raw)
  To: dev

This adds new device id to the list of Mellanox devices
that runs mlx5 PMD.
- BlueField-2 integrated ConnectX-6 Dx network controller

This device is not ready yet, it is in development stage.

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Matan Azrad <matan@mellanox.com>
---
v2: added missing support for VDPA driver
---

 doc/guides/rel_notes/release_20_02.rst | 1 +
 drivers/common/mlx5/mlx5_common.h      | 1 +
 drivers/net/mlx5/mlx5.c                | 4 ++++
 drivers/vdpa/mlx5/mlx5_vdpa.c          | 4 ++++
 4 files changed, 10 insertions(+)

diff --git a/doc/guides/rel_notes/release_20_02.rst b/doc/guides/rel_notes/release_20_02.rst
index 78dab7c..0b42890 100644
--- a/doc/guides/rel_notes/release_20_02.rst
+++ b/doc/guides/rel_notes/release_20_02.rst
@@ -133,6 +133,7 @@ New Features
   * Added support for RSS using L3/L4 source/destination only.
   * Added support for matching on GTP tunnel header item.
   * Removed limitation of matching on tagged/untagged packets (when using DV flow engine).
+  * Added BlueField-2 integrated ConnectX-6 Dx device support.
 
 * **Add new vDPA PMD based on Mellanox devices**
 
diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h
index bc200e2..961c606 100644
--- a/drivers/common/mlx5/mlx5_common.h
+++ b/drivers/common/mlx5/mlx5_common.h
@@ -137,6 +137,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
+	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
 };
 
 /* Maximum number of simultaneous unicast MAC addresses. */
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 23a50f3..4803760 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -3530,6 +3530,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
 				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
 	},
 	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
+	},
+	{
 		.vendor_id = 0
 	}
 };
diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c
index 36344ca..97d914a 100644
--- a/drivers/vdpa/mlx5/mlx5_vdpa.c
+++ b/drivers/vdpa/mlx5/mlx5_vdpa.c
@@ -531,6 +531,10 @@ static const struct rte_pci_id mlx5_vdpa_pci_id_map[] = {
 				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
 	},
 	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
+	},
+	{
 		.vendor_id = 0
 	}
 };
-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH v2] net/mlx5: add BlueField-2 device ID
  2020-02-18 13:23 ` [dpdk-dev] [PATCH v2] " Raslan Darawsheh
@ 2020-02-18 13:26   ` Raslan Darawsheh
  0 siblings, 0 replies; 7+ messages in thread
From: Raslan Darawsheh @ 2020-02-18 13:26 UTC (permalink / raw)
  To: Raslan Darawsheh, dev; +Cc: Matan Azrad

Removed V1 from next-net-mlx, and applied new version to next-net-mlx,

Kindest regards,
Raslan Darawsheh


> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Raslan Darawsheh
> Sent: Tuesday, February 18, 2020 3:23 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v2] net/mlx5: add BlueField-2 device ID
> 
> This adds new device id to the list of Mellanox devices
> that runs mlx5 PMD.
> - BlueField-2 integrated ConnectX-6 Dx network controller
> 
> This device is not ready yet, it is in development stage.
> 
> Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
> Acked-by: Matan Azrad <matan@mellanox.com>
> ---
> v2: added missing support for VDPA driver
> ---
> 
>  doc/guides/rel_notes/release_20_02.rst | 1 +
>  drivers/common/mlx5/mlx5_common.h      | 1 +
>  drivers/net/mlx5/mlx5.c                | 4 ++++
>  drivers/vdpa/mlx5/mlx5_vdpa.c          | 4 ++++
>  4 files changed, 10 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/release_20_02.rst
> b/doc/guides/rel_notes/release_20_02.rst
> index 78dab7c..0b42890 100644
> --- a/doc/guides/rel_notes/release_20_02.rst
> +++ b/doc/guides/rel_notes/release_20_02.rst
> @@ -133,6 +133,7 @@ New Features
>    * Added support for RSS using L3/L4 source/destination only.
>    * Added support for matching on GTP tunnel header item.
>    * Removed limitation of matching on tagged/untagged packets (when using
> DV flow engine).
> +  * Added BlueField-2 integrated ConnectX-6 Dx device support.
> 
>  * **Add new vDPA PMD based on Mellanox devices**
> 
> diff --git a/drivers/common/mlx5/mlx5_common.h
> b/drivers/common/mlx5/mlx5_common.h
> index bc200e2..961c606 100644
> --- a/drivers/common/mlx5/mlx5_common.h
> +++ b/drivers/common/mlx5/mlx5_common.h
> @@ -137,6 +137,7 @@ enum {
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX6VF = 0x101c,
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d,
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e,
> +	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6,
>  };
> 
>  /* Maximum number of simultaneous unicast MAC addresses. */
> diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
> index 23a50f3..4803760 100644
> --- a/drivers/net/mlx5/mlx5.c
> +++ b/drivers/net/mlx5/mlx5.c
> @@ -3530,6 +3530,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] =
> {
> 
> 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
>  	},
>  	{
> +		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> +
> 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
> +	},
> +	{
>  		.vendor_id = 0
>  	}
>  };
> diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c
> b/drivers/vdpa/mlx5/mlx5_vdpa.c
> index 36344ca..97d914a 100644
> --- a/drivers/vdpa/mlx5/mlx5_vdpa.c
> +++ b/drivers/vdpa/mlx5/mlx5_vdpa.c
> @@ -531,6 +531,10 @@ static const struct rte_pci_id
> mlx5_vdpa_pci_id_map[] = {
> 
> 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF)
>  	},
>  	{
> +		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> +
> 	PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
> +	},
> +	{
>  		.vendor_id = 0
>  	}
>  };
> --
> 2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, back to index

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 16:11 [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Raslan Darawsheh
2020-02-16 15:02 ` Gavin Hu
2020-02-18 12:01 ` Raslan Darawsheh
2020-02-18 13:11   ` Matan Azrad
2020-02-18 13:22     ` Raslan Darawsheh
2020-02-18 13:23 ` [dpdk-dev] [PATCH v2] " Raslan Darawsheh
2020-02-18 13:26   ` Raslan Darawsheh

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox