[dpdk-dev] [PATCH v3 28/29] ethdev: reset all when releasing a port

Andrew Rybchenko arybchenko at solarflare.com
Tue Sep 29 12:50:58 CEST 2020


On 9/29/20 2:14 AM, Thomas Monjalon wrote:
> The function rte_eth_dev_release_port() was resetting partially
> the struct rte_eth_dev. The drivers were completing it
> with more pointers set to NULL in the close or remove operations.
> 
> A full memset is done so most of those assignments become useless.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

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


More information about the dev mailing list