numam-dpdk/drivers/bus/pci
Thomas Monjalon 41e026c1b3 bus/pci: fix Windows kernel driver categories
In Windows probing, the value RTE_PCI_KDRV_NONE was used
instead of RTE_PCI_KDRV_UNKNOWN.
This value covers the mlx case where the kernel driver is in place,
offering a bifurcated mode to the userspace driver.
When the kernel driver is listed as unknown,
there is no special treatment in DPDK probing, contrary to UIO modes.

The value 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
(at the end for ABI compatibility),
the enum of kernel driver categories is annotated.

Fixes: b762221ac2 ("bus/pci: support Windows with bifurcated drivers")
Fixes: c76ec01b45 ("bus/pci: support netuio on Windows")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Ranjit Menon <ranjit.menon@intel.com>
2021-03-19 16:23:16 +01:00
..
bsd bus/pci: remove unused scan by address 2020-10-20 13:57:57 +02:00
linux bus/pci: support MMIO for ioport 2021-03-15 15:14:22 +01:00
windows bus/pci: fix Windows kernel driver categories 2021-03-19 16:23:16 +01:00
meson.build drivers: add headers install helper 2020-10-22 14:16:22 +02:00
pci_common_uio.c drivers/bus: reword slave process as secondary 2020-10-20 13:17:08 +02:00
pci_common.c bus/pci: fix comment explaining device naming 2020-11-20 09:58:55 +01:00
pci_params.c devargs: rename enum items with singular form 2018-10-11 13:57:29 +02:00
private.h bus/pci: remove unused scan by address 2020-10-20 13:57:57 +02:00
rte_bus_pci.h bus/pci: fix Windows kernel driver categories 2021-03-19 16:23:16 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00