Re: [dpdk-dev] [PATCH v13 7/7] app/testpmd: use hotplug failure handler

2018-10-04 Thread Jeff Guo
thanks for your kindly review. On 10/4/2018 6:31 PM, Iremonger, Bernard wrote: Hi Jeff, -Original Message- From: Guo, Jia Sent: Thursday, October 4, 2018 7:31 AM To: step...@networkplumber.org; Richardson, Bruce ; Yigit, Ferruh ; Ananyev, Konstantin ; gaetan.ri...@6wind.com; Wu, Jingji

Re: [dpdk-dev] [PATCH v13 7/7] app/testpmd: use hotplug failure handler

2018-10-04 Thread Iremonger, Bernard
Hi Jeff, > -Original Message- > From: Guo, Jia > Sent: Thursday, October 4, 2018 7:31 AM > To: step...@networkplumber.org; Richardson, Bruce > ; Yigit, Ferruh ; Ananyev, > Konstantin ; gaetan.ri...@6wind.com; Wu, > Jingjing ; tho...@monjalon.net; > mo...@mellanox.com; ma...@mellanox.com; V

[dpdk-dev] [PATCH v13 7/7] app/testpmd: use hotplug failure handler

2018-10-03 Thread Jeff Guo
This patch use testpmd for example, to show how an app smoothly handle failure when device be hot-unplug. Except that 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