]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Harden device login requests
authorThomas Falcon <tlfalcon@linux.ibm.com>
Mon, 15 Jun 2020 15:29:23 +0000 (10:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2020 20:18:13 +0000 (13:18 -0700)
commitac8020063be12d498d8ef47e9431d85bbc2813f4
tree2413782910390da3954d5dfe394bb2f7b0265112
parente9c553ac0d11eb697f6f4b6c3642b00a089707ce
ibmvnic: Harden device login requests

The VNIC driver's "login" command sequence is the final step
in the driver's initialization process with device firmware,
confirming the available device queue resources to be utilized
by the driver. Under high system load, firmware may not respond
to the request in a timely manner or may abort the request. In
such cases, the driver should reattempt the login command
sequence. In case of a device error, the number of retries
is bounded.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c