Re: [dpdk-dev] [PATCH V15 1/2] pci_uio: add uevent hotplug failure handler in uio

2018-03-29 Thread Tan, Jianfeng
We shall split this patch to multiple patches. - This helper function is not necessarily exposed to users. Whenever there is a device remove event, before invoking the callbacks, we do the remap. - PCI related code shall be put into librte_pci. - Personally, I don't think we shall add an ops

[dpdk-dev] [PATCH V15 1/2] pci_uio: add uevent hotplug failure handler in uio

2018-03-20 Thread Jeff Guo
when detect hot removal uevent of device, the device resource become invalid, in order to avoid unexpected usage of this resource, remap the device resource to be a fake memory, that would lead the application keep running well but not encounter system core dump. Signed-off-by: Jeff Guo --- v15->