eal: move kernel driver enum out of PCI header
Device kernel module is a device attribute. It is used in generic device structures and must not be tied to a bus. Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
This commit is contained in:
parent
17fd714e80
commit
3f86ca7f79
@ -114,6 +114,18 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
* Device driver.
|
||||
*/
|
||||
enum rte_kernel_driver {
|
||||
RTE_KDRV_UNKNOWN = 0,
|
||||
RTE_KDRV_IGB_UIO,
|
||||
RTE_KDRV_VFIO,
|
||||
RTE_KDRV_UIO_GENERIC,
|
||||
RTE_KDRV_NIC_UIO,
|
||||
RTE_KDRV_NONE,
|
||||
};
|
||||
|
||||
/**
|
||||
* A generic memory resource representation.
|
||||
*/
|
||||
|
@ -117,15 +117,6 @@ struct rte_pci_addr {
|
||||
|
||||
struct rte_devargs;
|
||||
|
||||
enum rte_kernel_driver {
|
||||
RTE_KDRV_UNKNOWN = 0,
|
||||
RTE_KDRV_IGB_UIO,
|
||||
RTE_KDRV_VFIO,
|
||||
RTE_KDRV_UIO_GENERIC,
|
||||
RTE_KDRV_NIC_UIO,
|
||||
RTE_KDRV_NONE,
|
||||
};
|
||||
|
||||
/**
|
||||
* A structure describing a PCI device.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user