> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Jeff Guo > Sent: Friday, June 22, 2018 12:51 PM > To: [email protected]; Richardson, Bruce > <[email protected]>; Yigit, Ferruh <[email protected]>; Ananyev, > Konstantin <[email protected]>; [email protected]; Wu, > Jingjing <[email protected]>; [email protected]; > [email protected]; [email protected]; Van Haaren, Harry > <[email protected]>; Zhang, Qi Z <[email protected]>; He, > Shaopeng <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; Guo, Jia > <[email protected]>; Zhang, Helin <[email protected]> > Subject: [dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot > unplug > > 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 packet > forwarding, then stop the port, close the port, and finally detach the port to > remove the device out from the device lists. > > Signed-off-by: Jeff Guo <[email protected]> > ---
Acked-by: Bernard Iremonger <[email protected]>

