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
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->
2 matches
Mail list logo