diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2018-02-26 19:10:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 14:31:19 -0500 |
commit | 0aecb13ce3abe1372c7306c7d1b86ff748296abb (patch) | |
tree | 685b6a367eefe6a9bb6d9080d2fb3079a8b243f1 | |
parent | 637f81d164a5347ee3325f106f815c7969c032b5 (diff) |
ibmvnic: Report queue stops and restarts as debug output
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>
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index b907c0a607e6..53b2c91fa786 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c | |||
@@ -1528,7 +1528,7 @@ static int ibmvnic_xmit(struct sk_buff *skb, struct net_device *netdev) | |||
1528 | 1528 | ||
1529 | if (atomic_add_return(num_entries, &tx_scrq->used) | 1529 | if (atomic_add_return(num_entries, &tx_scrq->used) |
1530 | >= adapter->req_tx_entries_per_subcrq) { | 1530 | >= adapter->req_tx_entries_per_subcrq) { |
1531 | netdev_info(netdev, "Stopping queue %d\n", queue_num); | 1531 | netdev_dbg(netdev, "Stopping queue %d\n", queue_num); |
1532 | netif_stop_subqueue(netdev, queue_num); | 1532 | netif_stop_subqueue(netdev, queue_num); |
1533 | } | 1533 | } |
1534 | 1534 | ||
@@ -2541,8 +2541,8 @@ restart_loop: | |||
2541 | __netif_subqueue_stopped(adapter->netdev, | 2541 | __netif_subqueue_stopped(adapter->netdev, |
2542 | scrq->pool_index)) { | 2542 | scrq->pool_index)) { |
2543 | netif_wake_subqueue(adapter->netdev, scrq->pool_index); | 2543 | netif_wake_subqueue(adapter->netdev, scrq->pool_index); |
2544 | netdev_info(adapter->netdev, "Started queue %d\n", | 2544 | netdev_dbg(adapter->netdev, "Started queue %d\n", |
2545 | scrq->pool_index); | 2545 | scrq->pool_index); |
2546 | } | 2546 | } |
2547 | } | 2547 | } |
2548 | 2548 | ||