net/mlx4_en: Change the error print to debug print
authorKamal Heib <kamalh@mellanox.com>
Tue, 9 May 2017 11:45:22 +0000 (14:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 May 2017 15:22:46 +0000 (11:22 -0400)
The error print within mlx4_en_calc_rx_buf() should be a debug print.

Fixes: 51151a16a60f ('mlx4: allow order-0 memory allocations in RX path')
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c

index aa074e57ce06fb2842fa1faabd156c3cd2fe10f5..77abd181304750c0e67b67526c129000d63a8e35 100644 (file)
@@ -997,7 +997,8 @@ void mlx4_en_calc_rx_buf(struct net_device *dev)
        en_dbg(DRV, priv, "Rx buffer scatter-list (effective-mtu:%d num_frags:%d):\n",
               eff_mtu, priv->num_frags);
        for (i = 0; i < priv->num_frags; i++) {
-               en_err(priv,
+               en_dbg(DRV,
+                      priv,
                       "  frag:%d - size:%d stride:%d\n",
                       i,
                       priv->frag_info[i].frag_size,