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

2018-06-29 Thread Guo, Jia
matan On 6/27/2018 2:05 PM, Matan Azrad wrote: Hi Guo From: Guo, Jia Sent: Wednesday, June 27, 2018 6:56 AM To: Matan Azrad ; step...@networkplumber.org; bruce.richard...@intel.com; ferruh.yi...@intel.com; konstantin.anan...@intel.com; gaetan.ri...@6wind.com; jingjing...@intel.com; Thomas Mon

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

2018-06-26 Thread Matan Azrad
Hi Guo From: Guo, Jia > Sent: Wednesday, June 27, 2018 6:56 AM > To: Matan Azrad ; 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 ; harry.van.

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

2018-06-26 Thread Guo, Jia
hi, mantan On 6/27/2018 1:07 AM, Matan Azrad wrote: Hi Jeff Continue session from last version + more comments\question. From: Jeff Guo Sent: Tuesday, June 26, 2018 6:36 PM To: step...@networkplumber.org; bruce.richard...@intel.com; ferruh.yi...@intel.com; konstantin.anan...@intel.com; gaeta

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

2018-06-26 Thread Matan Azrad
Hi Jeff Continue session from last version + more comments\question. From: Jeff Guo > Sent: Tuesday, June 26, 2018 6:36 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

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

2018-06-26 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