[dpdk-users] How To Handle Hot Remove?

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Apr 29 08:53:45 CEST 2016


2016-04-28 23:50, David Harton:
> 1) What notification does DPDK provide the application or to gracefully stop the device?

A rework of hotplug is in progress:
	http://dpdk.org/ml/archives/dev/2016-April/037686.html
Notifications needs to be added.

> 2) Is there any kind of ordering the application has to follow before calling rte_eth_dev_detatch()?

The order is "stop - close - detach":
/**
 * Detach a Ethernet device specified by port identifier.
 * This function must be called when the device is in the
 * closed state.



More information about the users mailing list