Re: [PATCH v2] i40e: add an error code check in i40e_vsi_setup

From: Dan Carpenter
Date: Fri Oct 20 2023 - 02:56:25 EST


On Fri, Oct 20, 2023 at 10:43:09AM +0800, Su Hui wrote:
> check the value of 'ret' after calling 'i40e_vsi_config_rss'.
>
> Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>
> ---
> v2:
> - call i40e_vsi_clear_rings() to free rings(thank dan carpenter for
> pointing out this).

Looks okay now.

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter