[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4b1c48fc3d6d80f062ff56495a022b83fafd994.camel@kernel.org>
Date: Fri, 06 Nov 2020 13:07:23 -0800
From: Saeed Mahameed <saeed@...nel.org>
To: Shannon Nelson <snelson@...sando.io>, netdev@...r.kernel.org,
davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH v2 net-next 3/8] ionic: add lif quiesce
On Thu, 2020-11-05 at 16:12 -0800, Shannon Nelson wrote:
> After the queues are stopped, expressly quiesce the lif.
> This assures that even if the queues were in an odd state,
> the firmware will close up everything cleanly.
>
> Signed-off-by: Shannon Nelson <snelson@...sando.io>
> ---
> .../net/ethernet/pensando/ionic/ionic_lif.c | 24
> +++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c
> b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
> index 519d544821af..990bd9ce93c2 100644
> --- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c
> +++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
> @@ -1625,6 +1625,28 @@ static void ionic_lif_rss_deinit(struct
> ionic_lif *lif)
> ionic_lif_rss_config(lif, 0x0, NULL, NULL);
> }
>
> +static int ionic_lif_quiesce(struct ionic_lif *lif)
Sorry maybe i wasn't clear before,
i mean make this function return a void
static void ionic_lif_quiesce(struct ionic_lif *lif)
> + (void)ionic_lif_quiesce(lif);
I didn't mean to typecast the return value here :)
Powered by blists - more mailing lists