OSDN Git Service

ibmvnic: Revise RX/TX queue error messages
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Fri, 13 Jul 2018 17:03:32 +0000 (12:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 21:00:39 +0000 (14:00 -0700)
commit2d14d3795294d42aacc278948984a480569bcc23
tree5882cca24ead12ab41a2971de65e880d8623e02e
parente66515999b627368892ccc9b3a13a506f2ea1357
ibmvnic: Revise RX/TX queue error messages

During a device failover, there may be latency between the loss
of the current backing device and a notification from firmware that
a failover has occurred. This latency can result in a large amount of
error printouts as firmware returns outgoing traffic with a generic
error code. These are not necessarily errors in this case as the
firmware is busy swapping in a new backing adapter and is not ready
to send packets yet. This patch reclassifies those error codes as
warnings with an explanation that a failover may be pending. All
other return codes will be considered errors.

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