diff mbox series

[v3,1/8] vdpa/ifc: add new device ID for legacy network device

Message ID 1663308990-621-2-git-send-email-andy.pei@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Maxime Coquelin
Headers show
Series vdpa/ifc: add multi queue support | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Andy Pei Sept. 16, 2022, 6:16 a.m. UTC
From: Huang Wei <wei.huang@intel.com>

Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID (0x1000).
Rename macro from "IFCVF_BLK_DEVICE_ID" to "IFCVF_SUBSYS_BLK_DEVICE_ID".

Signed-off-by: Huang Wei <wei.huang@intel.com>
Signed-off-by: Andy Pei <andy.pei@intel.com>
---
 drivers/vdpa/ifc/base/ifcvf.h |  6 ++++--
 drivers/vdpa/ifc/ifcvf_vdpa.c | 13 ++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

Comments

Maxime Coquelin Oct. 11, 2022, 4:49 p.m. UTC | #1
On 9/16/22 08:16, Andy Pei wrote:
> From: Huang Wei <wei.huang@intel.com>
> 
> Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID (0x1000).
> Rename macro from "IFCVF_BLK_DEVICE_ID" to "IFCVF_SUBSYS_BLK_DEVICE_ID".
> 
> Signed-off-by: Huang Wei <wei.huang@intel.com>
> Signed-off-by: Andy Pei <andy.pei@intel.com>
> ---
>   drivers/vdpa/ifc/base/ifcvf.h |  6 ++++--
>   drivers/vdpa/ifc/ifcvf_vdpa.c | 13 ++++++++++---
>   2 files changed, 14 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/vdpa/ifc/base/ifcvf.h b/drivers/vdpa/ifc/base/ifcvf.h
> index 9d95aac..ef7697a 100644
> --- a/drivers/vdpa/ifc/base/ifcvf.h
> +++ b/drivers/vdpa/ifc/base/ifcvf.h
> @@ -12,12 +12,14 @@
>   #define IFCVF_BLK	1
>   
>   #define IFCVF_VENDOR_ID                     0x1AF4
> -#define IFCVF_NET_DEVICE_ID                 0x1041
> +#define IFCVF_NET_MODERN_DEVICE_ID          0x1041
>   #define IFCVF_BLK_MODERN_DEVICE_ID          0x1042
> +#define IFCVF_NET_TRANSITIONAL_DEVICE_ID    0x1000
>   #define IFCVF_BLK_TRANSITIONAL_DEVICE_ID    0x1001
>   #define IFCVF_SUBSYS_VENDOR_ID              0x8086
>   #define IFCVF_SUBSYS_DEVICE_ID              0x001A
> -#define IFCVF_BLK_DEVICE_ID                 0x0002
> +#define IFCVF_SUBSYS_NET_DEVICE_ID          0x0001
> +#define IFCVF_SUBSYS_BLK_DEVICE_ID          0x0002
>   
>   #define IFCVF_MAX_QUEUES		1
>   
> diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
> index ac42de9..07cc63d 100644
> --- a/drivers/vdpa/ifc/ifcvf_vdpa.c
> +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c
> @@ -1684,23 +1684,30 @@ struct rte_vdpa_dev_info dev_info[] = {
>   static const struct rte_pci_id pci_id_ifcvf_map[] = {
>   	{ .class_id = RTE_CLASS_ANY_ID,
>   	  .vendor_id = IFCVF_VENDOR_ID,
> -	  .device_id = IFCVF_NET_DEVICE_ID,
> +	  .device_id = IFCVF_NET_MODERN_DEVICE_ID,
>   	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
>   	  .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,
>   	},
>   
>   	{ .class_id = RTE_CLASS_ANY_ID,
>   	  .vendor_id = IFCVF_VENDOR_ID,
> +	  .device_id = IFCVF_NET_TRANSITIONAL_DEVICE_ID,
> +	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> +	  .subsystem_device_id = IFCVF_SUBSYS_NET_DEVICE_ID,
> +	},
> +
> +	{ .class_id = RTE_CLASS_ANY_ID,
> +	  .vendor_id = IFCVF_VENDOR_ID,
>   	  .device_id = IFCVF_BLK_TRANSITIONAL_DEVICE_ID,
>   	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
>   	},
>   
>   	{ .class_id = RTE_CLASS_ANY_ID,
>   	  .vendor_id = IFCVF_VENDOR_ID,
>   	  .device_id = IFCVF_BLK_MODERN_DEVICE_ID,
>   	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
>   	},
>   
>   	{ .vendor_id = 0, /* sentinel */

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime
Xia, Chenbo Oct. 12, 2022, 2:59 a.m. UTC | #2
> -----Original Message-----
> From: Pei, Andy <andy.pei@intel.com>
> Sent: Friday, September 16, 2022 2:16 PM
> To: dev@dpdk.org
> Cc: Xia, Chenbo <chenbo.xia@intel.com>; Xu, Rosen <rosen.xu@intel.com>;
> Huang, Wei <wei.huang@intel.com>; Cao, Gang <gang.cao@intel.com>;
> maxime.coquelin@redhat.com
> Subject: [PATCH v3 1/8] vdpa/ifc: add new device ID for legacy network
> device
> 
> From: Huang Wei <wei.huang@intel.com>
> 
> Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID (0x1000).
> Rename macro from "IFCVF_BLK_DEVICE_ID" to "IFCVF_SUBSYS_BLK_DEVICE_ID".
> 
> Signed-off-by: Huang Wei <wei.huang@intel.com>
> Signed-off-by: Andy Pei <andy.pei@intel.com>
> ---
>  drivers/vdpa/ifc/base/ifcvf.h |  6 ++++--
>  drivers/vdpa/ifc/ifcvf_vdpa.c | 13 ++++++++++---
>  2 files changed, 14 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/vdpa/ifc/base/ifcvf.h b/drivers/vdpa/ifc/base/ifcvf.h
> index 9d95aac..ef7697a 100644
> --- a/drivers/vdpa/ifc/base/ifcvf.h
> +++ b/drivers/vdpa/ifc/base/ifcvf.h
> @@ -12,12 +12,14 @@
>  #define IFCVF_BLK	1
> 
>  #define IFCVF_VENDOR_ID                     0x1AF4
> -#define IFCVF_NET_DEVICE_ID                 0x1041
> +#define IFCVF_NET_MODERN_DEVICE_ID          0x1041
>  #define IFCVF_BLK_MODERN_DEVICE_ID          0x1042
> +#define IFCVF_NET_TRANSITIONAL_DEVICE_ID    0x1000
>  #define IFCVF_BLK_TRANSITIONAL_DEVICE_ID    0x1001
>  #define IFCVF_SUBSYS_VENDOR_ID              0x8086
>  #define IFCVF_SUBSYS_DEVICE_ID              0x001A
> -#define IFCVF_BLK_DEVICE_ID                 0x0002
> +#define IFCVF_SUBSYS_NET_DEVICE_ID          0x0001
> +#define IFCVF_SUBSYS_BLK_DEVICE_ID          0x0002
> 
>  #define IFCVF_MAX_QUEUES		1
> 
> diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
> index ac42de9..07cc63d 100644
> --- a/drivers/vdpa/ifc/ifcvf_vdpa.c
> +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c
> @@ -1684,23 +1684,30 @@ struct rte_vdpa_dev_info dev_info[] = {
>  static const struct rte_pci_id pci_id_ifcvf_map[] = {
>  	{ .class_id = RTE_CLASS_ANY_ID,
>  	  .vendor_id = IFCVF_VENDOR_ID,
> -	  .device_id = IFCVF_NET_DEVICE_ID,
> +	  .device_id = IFCVF_NET_MODERN_DEVICE_ID,
>  	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
>  	  .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,
>  	},
> 
>  	{ .class_id = RTE_CLASS_ANY_ID,
>  	  .vendor_id = IFCVF_VENDOR_ID,
> +	  .device_id = IFCVF_NET_TRANSITIONAL_DEVICE_ID,
> +	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> +	  .subsystem_device_id = IFCVF_SUBSYS_NET_DEVICE_ID,
> +	},
> +
> +	{ .class_id = RTE_CLASS_ANY_ID,
> +	  .vendor_id = IFCVF_VENDOR_ID,
>  	  .device_id = IFCVF_BLK_TRANSITIONAL_DEVICE_ID,
>  	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
>  	},
> 
>  	{ .class_id = RTE_CLASS_ANY_ID,
>  	  .vendor_id = IFCVF_VENDOR_ID,
>  	  .device_id = IFCVF_BLK_MODERN_DEVICE_ID,
>  	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
>  	},
> 
>  	{ .vendor_id = 0, /* sentinel */
> --
> 1.8.3.1

Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
Andy Pei Oct. 12, 2022, 6:33 a.m. UTC | #3
Hi Maxime,

Thanks for your effort.

> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> Sent: Wednesday, October 12, 2022 12:49 AM
> To: Pei, Andy <andy.pei@intel.com>; dev@dpdk.org
> Cc: Xia, Chenbo <Chenbo.Xia@intel.com>; Xu, Rosen <rosen.xu@intel.com>;
> Huang, Wei <wei.huang@intel.com>; Cao, Gang <gang.cao@intel.com>
> Subject: Re: [PATCH v3 1/8] vdpa/ifc: add new device ID for legacy network
> device
> 
> 
> 
> On 9/16/22 08:16, Andy Pei wrote:
> > From: Huang Wei <wei.huang@intel.com>
> >
> > Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID
> (0x1000).
> > Rename macro from "IFCVF_BLK_DEVICE_ID" to
> "IFCVF_SUBSYS_BLK_DEVICE_ID".
> >
> > Signed-off-by: Huang Wei <wei.huang@intel.com>
> > Signed-off-by: Andy Pei <andy.pei@intel.com>
> > ---
> >   drivers/vdpa/ifc/base/ifcvf.h |  6 ++++--
> >   drivers/vdpa/ifc/ifcvf_vdpa.c | 13 ++++++++++---
> >   2 files changed, 14 insertions(+), 5 deletions(-)
> >
> > diff --git a/drivers/vdpa/ifc/base/ifcvf.h
> > b/drivers/vdpa/ifc/base/ifcvf.h index 9d95aac..ef7697a 100644
> > --- a/drivers/vdpa/ifc/base/ifcvf.h
> > +++ b/drivers/vdpa/ifc/base/ifcvf.h
> > @@ -12,12 +12,14 @@
> >   #define IFCVF_BLK	1
> >
> >   #define IFCVF_VENDOR_ID                     0x1AF4
> > -#define IFCVF_NET_DEVICE_ID                 0x1041
> > +#define IFCVF_NET_MODERN_DEVICE_ID          0x1041
> >   #define IFCVF_BLK_MODERN_DEVICE_ID          0x1042
> > +#define IFCVF_NET_TRANSITIONAL_DEVICE_ID    0x1000
> >   #define IFCVF_BLK_TRANSITIONAL_DEVICE_ID    0x1001
> >   #define IFCVF_SUBSYS_VENDOR_ID              0x8086
> >   #define IFCVF_SUBSYS_DEVICE_ID              0x001A
> > -#define IFCVF_BLK_DEVICE_ID                 0x0002
> > +#define IFCVF_SUBSYS_NET_DEVICE_ID          0x0001
> > +#define IFCVF_SUBSYS_BLK_DEVICE_ID          0x0002
> >
> >   #define IFCVF_MAX_QUEUES		1
> >
> > diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c
> > b/drivers/vdpa/ifc/ifcvf_vdpa.c index ac42de9..07cc63d 100644
> > --- a/drivers/vdpa/ifc/ifcvf_vdpa.c
> > +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c
> > @@ -1684,23 +1684,30 @@ struct rte_vdpa_dev_info dev_info[] = {
> >   static const struct rte_pci_id pci_id_ifcvf_map[] = {
> >   	{ .class_id = RTE_CLASS_ANY_ID,
> >   	  .vendor_id = IFCVF_VENDOR_ID,
> > -	  .device_id = IFCVF_NET_DEVICE_ID,
> > +	  .device_id = IFCVF_NET_MODERN_DEVICE_ID,
> >   	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> >   	  .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,
> >   	},
> >
> >   	{ .class_id = RTE_CLASS_ANY_ID,
> >   	  .vendor_id = IFCVF_VENDOR_ID,
> > +	  .device_id = IFCVF_NET_TRANSITIONAL_DEVICE_ID,
> > +	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > +	  .subsystem_device_id = IFCVF_SUBSYS_NET_DEVICE_ID,
> > +	},
> > +
> > +	{ .class_id = RTE_CLASS_ANY_ID,
> > +	  .vendor_id = IFCVF_VENDOR_ID,
> >   	  .device_id = IFCVF_BLK_TRANSITIONAL_DEVICE_ID,
> >   	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> > +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
> >   	},
> >
> >   	{ .class_id = RTE_CLASS_ANY_ID,
> >   	  .vendor_id = IFCVF_VENDOR_ID,
> >   	  .device_id = IFCVF_BLK_MODERN_DEVICE_ID,
> >   	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> > +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
> >   	},
> >
> >   	{ .vendor_id = 0, /* sentinel */
> 
> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> 
> Thanks,
> Maxime
Andy Pei Oct. 12, 2022, 6:34 a.m. UTC | #4
Hi Chenbo,

Thanks for your effort.

> -----Original Message-----
> From: Xia, Chenbo <chenbo.xia@intel.com>
> Sent: Wednesday, October 12, 2022 11:00 AM
> To: Pei, Andy <andy.pei@intel.com>; dev@dpdk.org
> Cc: Xu, Rosen <rosen.xu@intel.com>; Huang, Wei <wei.huang@intel.com>;
> Cao, Gang <gang.cao@intel.com>; maxime.coquelin@redhat.com
> Subject: RE: [PATCH v3 1/8] vdpa/ifc: add new device ID for legacy network
> device
> 
> > -----Original Message-----
> > From: Pei, Andy <andy.pei@intel.com>
> > Sent: Friday, September 16, 2022 2:16 PM
> > To: dev@dpdk.org
> > Cc: Xia, Chenbo <chenbo.xia@intel.com>; Xu, Rosen
> > <rosen.xu@intel.com>; Huang, Wei <wei.huang@intel.com>; Cao, Gang
> > <gang.cao@intel.com>; maxime.coquelin@redhat.com
> > Subject: [PATCH v3 1/8] vdpa/ifc: add new device ID for legacy network
> > device
> >
> > From: Huang Wei <wei.huang@intel.com>
> >
> > Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID
> (0x1000).
> > Rename macro from "IFCVF_BLK_DEVICE_ID" to
> "IFCVF_SUBSYS_BLK_DEVICE_ID".
> >
> > Signed-off-by: Huang Wei <wei.huang@intel.com>
> > Signed-off-by: Andy Pei <andy.pei@intel.com>
> > ---
> >  drivers/vdpa/ifc/base/ifcvf.h |  6 ++++--
> > drivers/vdpa/ifc/ifcvf_vdpa.c | 13 ++++++++++---
> >  2 files changed, 14 insertions(+), 5 deletions(-)
> >
> > diff --git a/drivers/vdpa/ifc/base/ifcvf.h
> > b/drivers/vdpa/ifc/base/ifcvf.h index 9d95aac..ef7697a 100644
> > --- a/drivers/vdpa/ifc/base/ifcvf.h
> > +++ b/drivers/vdpa/ifc/base/ifcvf.h
> > @@ -12,12 +12,14 @@
> >  #define IFCVF_BLK	1
> >
> >  #define IFCVF_VENDOR_ID                     0x1AF4
> > -#define IFCVF_NET_DEVICE_ID                 0x1041
> > +#define IFCVF_NET_MODERN_DEVICE_ID          0x1041
> >  #define IFCVF_BLK_MODERN_DEVICE_ID          0x1042
> > +#define IFCVF_NET_TRANSITIONAL_DEVICE_ID    0x1000
> >  #define IFCVF_BLK_TRANSITIONAL_DEVICE_ID    0x1001
> >  #define IFCVF_SUBSYS_VENDOR_ID              0x8086
> >  #define IFCVF_SUBSYS_DEVICE_ID              0x001A
> > -#define IFCVF_BLK_DEVICE_ID                 0x0002
> > +#define IFCVF_SUBSYS_NET_DEVICE_ID          0x0001
> > +#define IFCVF_SUBSYS_BLK_DEVICE_ID          0x0002
> >
> >  #define IFCVF_MAX_QUEUES		1
> >
> > diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c
> > b/drivers/vdpa/ifc/ifcvf_vdpa.c index ac42de9..07cc63d 100644
> > --- a/drivers/vdpa/ifc/ifcvf_vdpa.c
> > +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c
> > @@ -1684,23 +1684,30 @@ struct rte_vdpa_dev_info dev_info[] = {
> > static const struct rte_pci_id pci_id_ifcvf_map[] = {
> >  	{ .class_id = RTE_CLASS_ANY_ID,
> >  	  .vendor_id = IFCVF_VENDOR_ID,
> > -	  .device_id = IFCVF_NET_DEVICE_ID,
> > +	  .device_id = IFCVF_NET_MODERN_DEVICE_ID,
> >  	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> >  	  .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,
> >  	},
> >
> >  	{ .class_id = RTE_CLASS_ANY_ID,
> >  	  .vendor_id = IFCVF_VENDOR_ID,
> > +	  .device_id = IFCVF_NET_TRANSITIONAL_DEVICE_ID,
> > +	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > +	  .subsystem_device_id = IFCVF_SUBSYS_NET_DEVICE_ID,
> > +	},
> > +
> > +	{ .class_id = RTE_CLASS_ANY_ID,
> > +	  .vendor_id = IFCVF_VENDOR_ID,
> >  	  .device_id = IFCVF_BLK_TRANSITIONAL_DEVICE_ID,
> >  	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> > +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
> >  	},
> >
> >  	{ .class_id = RTE_CLASS_ANY_ID,
> >  	  .vendor_id = IFCVF_VENDOR_ID,
> >  	  .device_id = IFCVF_BLK_MODERN_DEVICE_ID,
> >  	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > -	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> > +	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
> >  	},
> >
> >  	{ .vendor_id = 0, /* sentinel */
> > --
> > 1.8.3.1
> 
> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
diff mbox series

Patch

diff --git a/drivers/vdpa/ifc/base/ifcvf.h b/drivers/vdpa/ifc/base/ifcvf.h
index 9d95aac..ef7697a 100644
--- a/drivers/vdpa/ifc/base/ifcvf.h
+++ b/drivers/vdpa/ifc/base/ifcvf.h
@@ -12,12 +12,14 @@ 
 #define IFCVF_BLK	1
 
 #define IFCVF_VENDOR_ID                     0x1AF4
-#define IFCVF_NET_DEVICE_ID                 0x1041
+#define IFCVF_NET_MODERN_DEVICE_ID          0x1041
 #define IFCVF_BLK_MODERN_DEVICE_ID          0x1042
+#define IFCVF_NET_TRANSITIONAL_DEVICE_ID    0x1000
 #define IFCVF_BLK_TRANSITIONAL_DEVICE_ID    0x1001
 #define IFCVF_SUBSYS_VENDOR_ID              0x8086
 #define IFCVF_SUBSYS_DEVICE_ID              0x001A
-#define IFCVF_BLK_DEVICE_ID                 0x0002
+#define IFCVF_SUBSYS_NET_DEVICE_ID          0x0001
+#define IFCVF_SUBSYS_BLK_DEVICE_ID          0x0002
 
 #define IFCVF_MAX_QUEUES		1
 
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
index ac42de9..07cc63d 100644
--- a/drivers/vdpa/ifc/ifcvf_vdpa.c
+++ b/drivers/vdpa/ifc/ifcvf_vdpa.c
@@ -1684,23 +1684,30 @@  struct rte_vdpa_dev_info dev_info[] = {
 static const struct rte_pci_id pci_id_ifcvf_map[] = {
 	{ .class_id = RTE_CLASS_ANY_ID,
 	  .vendor_id = IFCVF_VENDOR_ID,
-	  .device_id = IFCVF_NET_DEVICE_ID,
+	  .device_id = IFCVF_NET_MODERN_DEVICE_ID,
 	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
 	  .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,
 	},
 
 	{ .class_id = RTE_CLASS_ANY_ID,
 	  .vendor_id = IFCVF_VENDOR_ID,
+	  .device_id = IFCVF_NET_TRANSITIONAL_DEVICE_ID,
+	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
+	  .subsystem_device_id = IFCVF_SUBSYS_NET_DEVICE_ID,
+	},
+
+	{ .class_id = RTE_CLASS_ANY_ID,
+	  .vendor_id = IFCVF_VENDOR_ID,
 	  .device_id = IFCVF_BLK_TRANSITIONAL_DEVICE_ID,
 	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
-	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
+	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
 	},
 
 	{ .class_id = RTE_CLASS_ANY_ID,
 	  .vendor_id = IFCVF_VENDOR_ID,
 	  .device_id = IFCVF_BLK_MODERN_DEVICE_ID,
 	  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
-	  .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
+	  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,
 	},
 
 	{ .vendor_id = 0, /* sentinel */