[dpdk-dev] [PATCH V21 1/4] bus/pci: handle device hot unplug

2018-05-03 Thread Jeff Guo
As of device hot unplug, we need some preparatory measures, so that when we encounter memory fault (like SIGBUS error) due to the unplug action, we can recover instead of crash. To handle device hot unplug is bus-specific behavior, this patch introduces a bus ops so that each kind of bus can imple

[dpdk-dev] [PATCH V21 1/4] bus/pci: handle device hot unplug

2018-05-03 Thread Jeff Guo
As of device hot unplug, we need some preparatory measures, so that when we encounter memory fault (like SIGBUS error) due to the unplug action, we can recover instead of crash. To handle device hot unplug is bus-specific behavior, this patch introduces a bus ops so that each kind of bus can imple