Re: [dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot unplug

2018-06-26 Thread Guo, Jia
hi, matan thanks for your review, see comment. On 6/26/2018 7:58 PM, Matan Azrad wrote: Hi Jeff Please see comments... From: Jeff Guo Sent: Friday, June 22, 2018 2:51 PM To: step...@networkplumber.org; bruce.richard...@intel.com; ferruh.yi...@intel.com; konstantin.anan...@intel.com; gaetan.r

Re: [dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot unplug

2018-06-26 Thread Matan Azrad
Hi Jeff Please see comments... From: Jeff Guo > Sent: Friday, June 22, 2018 2:51 PM > To: step...@networkplumber.org; bruce.richard...@intel.com; > ferruh.yi...@intel.com; konstantin.anan...@intel.com; > gaetan.ri...@6wind.com; jingjing...@intel.com; Thomas Monjalon > ; Mordechay Haimovsky ; > Ma

Re: [dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot unplug

2018-06-26 Thread Iremonger, Bernard
..@monjalon.net; > mo...@mellanox.com; ma...@mellanox.com; Van Haaren, Harry > ; Zhang, Qi Z ; He, > Shaopeng > Cc: jblu...@infradead.org; shreyansh.j...@nxp.com; dev@dpdk.org; Guo, Jia > ; Zhang, Helin > Subject: [dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot &g

[dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot unplug

2018-06-22 Thread Jeff Guo
Use testpmd for example, to show how an application smoothly handle failure when device being hot unplug. If app have enabled the device event monitor and register the hot plug event’s callback before running, once app detect the removal event, the callback would be called. It will first stop the p