[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3e7ec775-5238-9824-d3c4-cc04aca9fba7@linux.vnet.ibm.com>
Date: Wed, 11 Apr 2018 10:24:27 -0500
From: Nathan Fontenot <nfont@...ux.vnet.ibm.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, jallen@...ux.vnet.ibm.com,
tlfalcon@...ux.vnet.ibm.com
Subject: Re: [PATCH net 1/2] ibmvnic: Handle all login error conditions
On 04/11/2018 10:07 AM, David Miller wrote:
> From: Nathan Fontenot <nfont@...ux.vnet.ibm.com>
> Date: Wed, 11 Apr 2018 09:37:21 -0500
>
>> There is a bug in handling the possible return codes from sending the
>> login CRQ. The current code treats any non-success return value,
>> minus failure to send the crq and a timeout waiting for a login response,
>> as a need to re-send the login CRQ. This can put the drive in an
> ^^^^^
>
> "driver"
>
>> inifinite loop of trying to login when getting return values other
> ^^^^^^^^^
>
> "infinite"
>
>> that a partial success such as a return code of aborted. For these
>> scenarios the login will not ever succeed at this point and the
>> driver would need to be reset again.
>>
>> To resolve this loop trying to login is updated to only retry the
>> login if the driver gets a return code of a partial success. Other
>> return coes are treated as an error and the driver returns an error
> ^^^^
>
> "codes"
>
>> from ibmvnic_login().
>>
>> To avoid infinite looping in the partial success return cases, the
>> number of retries is capped at the maximum number of supported
>> queues. This value was chosen because the driver does a renegatiation
> ^^^^^^^^^^^^^
>
> "renegotiation"
>
>> of capabilities which sets the number of queus possible and allows
> ^^^^^
>
> "queues"
>
Oh man, complete spelling failure. resending.
-Nathan
Powered by blists - more mailing lists