On 9/29/20 2:14 AM, Thomas Monjalon wrote: > When closing a port, it is supposed to be already stopped, > and marked as such with "dev_started" state zeroed. > > Resetting "dev_started" before calling the driver close operation > was hiding the case of not properly stopped port being closed. > The flag "dev_started" is not changed anymore in "rte_eth_dev_close()". > > Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>