[PATCH v5 20/32] net/sssnic: support dev close and reset

Ferruh Yigit ferruh.yigit at amd.com
Tue Sep 26 15:09:29 CEST 2023


On 9/4/2023 5:56 AM, wanry at 3snic.com wrote:
> From: Renyong Wan <wanry at 3snic.com>
> 
> Signed-off-by: Steven Song <steven.song at 3snic.com>
> Signed-off-by: Renyong Wan <wanry at 3snic.com>
> 

<...>

> +static int
> +sssnic_ethdev_close(struct rte_eth_dev *ethdev)
> +{
> +	sssnic_ethdev_release(ethdev);
> +
>

As close() is mostly empty, I just want to remind that all resources
should be freed in this function.

I am not aware anything missing, but can you please double check all
driver allocated memory is freed in this function?




More information about the dev mailing list