Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-18 Thread Ranjit Menon
On 3/18/2021 12:49 AM, Thomas Monjalon wrote: 18/03/2021 00:17, Ranjit Menon: Hi Thomas, On 3/16/2021 4:11 PM, Thomas Monjalon wrote: In Windows probing, the value RTE_PCI_KDRV_NONE was used instead of RTE_PCI_KDRV_UNKNOWN (mlx case), and RTE_PCI_KDRV_NIC_UIO (FreeBSD) was re-used instead of

Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-18 Thread Thomas Monjalon
18/03/2021 09:36, Slava Ovsiienko: > From: Thomas Monjalon > > In Windows probing, the value RTE_PCI_KDRV_NONE was used instead of > > RTE_PCI_KDRV_UNKNOWN (mlx case), and RTE_PCI_KDRV_NIC_UIO > > (FreeBSD) was re-used instead of having a new RTE_PCI_KDRV_NET_UIO for > > Windows NetUIO. > > As far

Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-18 Thread Slava Ovsiienko
adam > > Subject: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories > > In Windows probing, the value RTE_PCI_KDRV_NONE was used instead of > RTE_PCI_KDRV_UNKNOWN (mlx case), and RTE_PCI_KDRV_NIC_UIO > (FreeBSD) was re-used instead of having a new RTE_PCI_KDRV_

Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-18 Thread Thomas Monjalon
18/03/2021 00:17, Ranjit Menon: > Hi Thomas, > > On 3/16/2021 4:11 PM, Thomas Monjalon wrote: > > In Windows probing, the value RTE_PCI_KDRV_NONE was used > > instead of RTE_PCI_KDRV_UNKNOWN (mlx case), > > and RTE_PCI_KDRV_NIC_UIO (FreeBSD) was re-used > > instead of having a new RTE_PCI_KDRV_NET

Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-18 Thread Thomas Monjalon
17/03/2021 23:43, Dmitry Kozlyuk: > 2021-03-17 00:11 (UTC+0100), Thomas Monjalon: > [...] > > diff --git a/drivers/bus/pci/rte_bus_pci.h b/drivers/bus/pci/rte_bus_pci.h > > index fdda046515..3d009cc74b 100644 > > --- a/drivers/bus/pci/rte_bus_pci.h > > +++ b/drivers/bus/pci/rte_bus_pci.h > > @@ -52

Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-17 Thread Ranjit Menon
Hi Thomas, On 3/16/2021 4:11 PM, Thomas Monjalon wrote: In Windows probing, the value RTE_PCI_KDRV_NONE was used instead of RTE_PCI_KDRV_UNKNOWN (mlx case), and RTE_PCI_KDRV_NIC_UIO (FreeBSD) was re-used instead of having a new RTE_PCI_KDRV_NET_UIO for Windows NetUIO. Shouldn't the mlx case act

Re: [dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-17 Thread Dmitry Kozlyuk
2021-03-17 00:11 (UTC+0100), Thomas Monjalon: [...] > diff --git a/drivers/bus/pci/rte_bus_pci.h b/drivers/bus/pci/rte_bus_pci.h > index fdda046515..3d009cc74b 100644 > --- a/drivers/bus/pci/rte_bus_pci.h > +++ b/drivers/bus/pci/rte_bus_pci.h > @@ -52,12 +52,13 @@ TAILQ_HEAD(rte_pci_driver_list, rt

[dpdk-dev] [PATCH] bus/pci: fix Windows kernel driver categories

2021-03-16 Thread Thomas Monjalon
In Windows probing, the value RTE_PCI_KDRV_NONE was used instead of RTE_PCI_KDRV_UNKNOWN (mlx case), and RTE_PCI_KDRV_NIC_UIO (FreeBSD) was re-used instead of having a new RTE_PCI_KDRV_NET_UIO for Windows NetUIO. While adding the new value RTE_PCI_KDRV_NET_UIO, the enum of kernel driver categories