]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Fix rx queue cleanup for non-fatal resets
authorJohn Allen <jallen@linux.vnet.ibm.com>
Tue, 6 Feb 2018 22:21:49 +0000 (16:21 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Feb 2018 02:55:33 +0000 (21:55 -0500)
commita86918477967463f1c5316e3b4831028cbf181cc
treeb108619b336c402dd64f460ec45de024e5c73e6f
parenta2d761c94ee9263f5f2b78d5b2b0648656bf2268
ibmvnic: Fix rx queue cleanup for non-fatal resets

At some point, a check was added to exit the polling routine during resets.
This makes sense for most reset conditions, but for a non-fatal error, we
expect the polling routine to continue running to properly clean up the rx
queues. This patch checks if we are performing a non-fatal reset and if we
are, continues normal polling operation.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c