[dpdk-dev] [PATCH v11 3/7] bus: add sigbus handler

2018-09-30 Thread Jeff Guo
When a device is hot-unplugged, a sigbus error will occur of the datapath can still read/write to the device. A handler is required here to capture the sigbus signal and handle it appropriately. This patch introduces a bus ops to handle sigbus errors. Each bus can implement its own case-dependent

[dpdk-dev] [PATCH v11 3/7] bus: add sigbus handler

2018-09-30 Thread Jeff Guo
When a device is hot-unplugged, a sigbus error will occur of the datapath can still read/write to the device. A handler is required here to capture the sigbus signal and handle it appropriately. This patch introduces a bus ops to handle sigbus errors. Each bus can implement its own case-dependent