sfc: Reduce log level for MCDI error response in efx_mcdi_rpc()
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 2 Dec 2010 13:46:09 +0000 (13:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2010 17:08:02 +0000 (09:08 -0800)
Some errors are expected, e.g. when sending new commands to an MC
running old firmware.  Only the caller of efx_mcdi_rpc() can decide
what is a real error.  Therefore log the error responses with
netif_dbg().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/mcdi.c

index 12cf910c2ce712f72dc5b960695700395b516d59..e389ac6c214ff30b5b3f42ca506a34a9a782e9c4 100644 (file)
@@ -381,7 +381,7 @@ int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd,
                                  -rc);
                        efx_schedule_reset(efx, RESET_TYPE_MC_FAILURE);
                } else
-                       netif_err(efx, hw, efx->net_dev,
+                       netif_dbg(efx, hw, efx->net_dev,
                                  "MC command 0x%x inlen %d failed rc=%d\n",
                                  cmd, (int)inlen, -rc);
        }