]> 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)
commit9c3f1a9e0cd90e87c29e71d39e8b5677ae38ef43
tree2413782910390da3954d5dfe394bb2f7b0265112
parentb2fdc94b079fcbc08f811fcc2789468e4f11540a
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