ibmvnic: Report queue stops and restarts as debug output
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Tue, 27 Feb 2018 00:10:58 +0000 (18:10 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:31:19 +0000 (14:31 -0500)
It's not necessary to report each time a queue is stopped and restarted
as an informational message. Change that to be a debug message so that
it can be observed if needed but not printed by default.

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

index b907c0a607e6d5d48767870461e7fdcec35c663f..53b2c91fa786f97a6da6d915d59eb1fd5c4bc03b 100644 (file)
@@ -1528,7 +1528,7 @@ static int ibmvnic_xmit(struct sk_buff *skb, struct net_device *netdev)
 
        if (atomic_add_return(num_entries, &tx_scrq->used)
                                        >= adapter->req_tx_entries_per_subcrq) {
-               netdev_info(netdev, "Stopping queue %d\n", queue_num);
+               netdev_dbg(netdev, "Stopping queue %d\n", queue_num);
                netif_stop_subqueue(netdev, queue_num);
        }
 
@@ -2541,8 +2541,8 @@ restart_loop:
                    __netif_subqueue_stopped(adapter->netdev,
                                             scrq->pool_index)) {
                        netif_wake_subqueue(adapter->netdev, scrq->pool_index);
-                       netdev_info(adapter->netdev, "Started queue %d\n",
-                                   scrq->pool_index);
+                       netdev_dbg(adapter->netdev, "Started queue %d\n",
+                                  scrq->pool_index);
                }
        }