[dpdk-dev] [PATCH v3 27/29] ethdev: remove forcing stopped state upon close

Andrew Rybchenko arybchenko at solarflare.com
Tue Sep 29 12:44:37 CEST 2020


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 <thomas at monjalon.net>

Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>



More information about the dev mailing list