[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e6d7ed36-f5ad-b000-57d1-4f48644bd81c@amd.com>
Date: Wed, 19 Jul 2023 17:04:24 -0700
From: Shannon Nelson <shannon.nelson@....com>
To: Simon Horman <simon.horman@...igine.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
idosch@...sch.org, brett.creeley@....com, drivers@...sando.io
Subject: Re: [PATCH v3 net-next 3/4] ionic: pull out common bits from fw_up
On 7/19/23 10:56 AM, Simon Horman wrote:
>
> 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@....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.
I can make that a separate patch in the future, I'll pull it out for a
next rev.
Thanks,
sln
>
>> 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);
>
> ...
Powered by blists - more mailing lists