[dpdk-dev] [PATCH v12 2/7] bus/pci: implement hot-unplug handler ops

2018-10-02 Thread Jeff Guo
This patch implements the ops to handle hot-unplug on the PCI bus. For UIO PCI, it could avoids BARs read/write errors by creating a new dummy memory to remap the memory where the failure is. For VFIO or other kernel driver, it could specific implement function to handle hot-unplug case by case. S

[dpdk-dev] [PATCH v12 2/7] bus/pci: implement hot-unplug handler ops

2018-10-02 Thread Jeff Guo
This patch implements the ops to handle hot-unplug on the PCI bus. For UIO PCI, it could avoids BARs read/write errors by creating a new dummy memory to remap the memory where the failure is. For VFIO or other kernel driver, it could specific implement function to handle hot-unplug case by case. S