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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:07:10 +0000 (13:07 +0200)
commit26611d0bb2cdd7d7d039439c4e33cfde2729116e
tree07702afeddef789961600409330e49b95bb8de7d
parentc62357ffc469ffec3a9363493a24196c539390c4
ibmvnic: Revise RX/TX queue error messages

[ Upstream commit 2d14d3795294d42aacc278948984a480569bcc23 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/ibm/ibmvnic.c