> -----Original Message-----
> From: Guo, Jia
> Sent: Thursday, October 4, 2018 3:46 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]>; Iremonger, Bernard
> <[email protected]>; [email protected]; Lu, Wenzhuo
> <[email protected]>; Burakov, Anatoly <[email protected]>;
> [email protected]
> Cc: [email protected]; [email protected]; [email protected]; Guo, Jia
> <[email protected]>; Zhang, Helin <[email protected]>
> Subject: [PATCH v14 7/7] app/testpmd: use hotplug failure handler
> 
> 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,
> the hot-unplug callback would be called. It will first stop the packet 
> forwarding,
> then stop the port, close the port, and finally detach the port to clean the 
> device
> and release the resources.
> 
> Signed-off-by: Jeff Guo <[email protected]>
> Acked-by: Konstantin Ananyev <[email protected]>

Acked-by: Bernard Iremonger <[email protected]>

Reply via email to