From: Simon Horman <simon.horman@corigine.com>
To: Shannon Nelson <shannon.nelson@amd.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
idosch@idosch.org, brett.creeley@amd.com, drivers@pensando.io
Subject: Re: [PATCH v3 net-next 3/4] ionic: pull out common bits from fw_up
Date: Wed, 19 Jul 2023 18:56:03 +0100 [thread overview]
Message-ID: <ZLgjs6a2KJ3xEh2s@corigine.com> (raw)
In-Reply-To: <20230717170001.30539-4-shannon.nelson@amd.com>
On Mon, Jul 17, 2023 at 10:00:00AM -0700, Shannon Nelson wrote:
> Pull out some code from ionic_lif_handle_fw_up() that can be
> used in the coming FLR recovery patch.
>
> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
...
> @@ -3317,17 +3301,13 @@ static void ionic_lif_handle_fw_up(struct ionic_lif *lif)
> goto err_txrx_free;
> }
>
> + clear_bit(IONIC_LIF_F_FW_RESET, lif->state);
> mutex_unlock(&lif->queue_lock);
>
> - clear_bit(IONIC_LIF_F_FW_RESET, lif->state);
Hi Shannon,
Moving clear_bit() inside the critical section seems
unrelated to the patch description.
> ionic_link_status_check_request(lif, CAN_SLEEP);
> netif_device_attach(lif->netdev);
> - dev_info(ionic->dev, "FW Up: LIFs restarted\n");
>
> - /* restore the hardware timestamping queues */
> - ionic_lif_hwstamp_replay(lif);
> -
> - return;
> + return 0;
>
> err_txrx_free:
> ionic_txrx_free(lif);
...
next prev parent reply other threads:[~2023-07-19 17:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 16:59 [PATCH v3 net-next 0/4] ionic: add FLR support Shannon Nelson
2023-07-17 16:59 ` [PATCH v3 net-next 1/4] ionic: extract common bits from ionic_remove Shannon Nelson
2023-07-19 17:34 ` Simon Horman
2023-07-20 0:04 ` Shannon Nelson
2023-07-17 16:59 ` [PATCH v3 net-next 2/4] ionic: extract common bits from ionic_probe Shannon Nelson
2023-07-19 17:48 ` Simon Horman
2023-07-20 0:04 ` Shannon Nelson
2023-07-17 17:00 ` [PATCH v3 net-next 3/4] ionic: pull out common bits from fw_up Shannon Nelson
2023-07-19 17:56 ` Simon Horman [this message]
2023-07-20 0:04 ` Shannon Nelson
2023-07-17 17:00 ` [PATCH v3 net-next 4/4] ionic: add FLR recovery support Shannon Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZLgjs6a2KJ3xEh2s@corigine.com \
--to=simon.horman@corigine.com \
--cc=brett.creeley@amd.com \
--cc=davem@davemloft.net \
--cc=drivers@pensando.io \
--cc=idosch@idosch.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shannon.nelson@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).