[dpdk-dev] [PATCH v11 7/7] testpmd: use hot-unplug failure handle mechanism

2018-10-02 Thread Jeff Guo
This patch use testpmd for example, to show how an app smoothly handle failure when device be hot-unplug. Except app should enabled the device event monitor and register the hotplug event’s callback, it also need enable hotplug handle mechanism before running. Once app detect the removal event, the

[dpdk-dev] [PATCH v11 7/7] testpmd: use hot-unplug failure handle mechanism

2018-09-30 Thread Jeff Guo
This patch use testpmd for example, to show how an app smoothly handle failure when device be hot-unplug. Except app should enabled the device event monitor and register the hotplug event’s callback, it also need enable hotplug handle mechanism before running. Once app detect the removal event, the

[dpdk-dev] [PATCH v11 7/7] testpmd: use hot-unplug failure handle mechanism

2018-09-30 Thread Jeff Guo
This patch use testpmd for example, to show how an app smoothly handle failure when device be hot-unplug. Except app should enabled the device event monitor and register the hotplug event’s callback, it also need enable hotplug handle mechanism before running. Once app detect the removal event, the