Re: [dpdk-dev] [PATCH V11 2/3] eal: add uevent pass and process function

2018-01-17 Thread Guo, Jia
On 1/18/2018 6:00 AM, Thomas Monjalon wrote: 15/01/2018 11:48, Jeff Guo: +enum rte_dev_event_subsystem { + RTE_DEV_EVENT_SUBSYSTEM_UIO, + RTE_DEV_EVENT_SUBSYSTEM_VFIO, + RTE_DEV_EVENT_SUBSYSTEM_PCI, + RTE_DEV_EVENT_SUBSYSTEM_MAX +}; I still don't understand this classi

Re: [dpdk-dev] [PATCH V11 2/3] eal: add uevent pass and process function

2018-01-17 Thread Thomas Monjalon
15/01/2018 11:48, Jeff Guo: > +enum rte_dev_event_subsystem { > + RTE_DEV_EVENT_SUBSYSTEM_UIO, > + RTE_DEV_EVENT_SUBSYSTEM_VFIO, > + RTE_DEV_EVENT_SUBSYSTEM_PCI, > + RTE_DEV_EVENT_SUBSYSTEM_MAX > +}; I still don't understand this classification, mixing PCI and VFIO at the s

[dpdk-dev] [PATCH V11 2/3] eal: add uevent pass and process function

2018-01-15 Thread Jeff Guo
In order to handle the uevent which have been detected from the kernel side, add uevent process function, let hot plug event to be example to show uevent mechanism how to pass the uevent and process the uevent. About uevent passing and processing, add below functions in linux eal dev layer. FreeBS