diff options
author | Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> | 2017-10-30 11:13:46 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-10-30 11:51:47 +0100 |
commit | e9931f984dd1e80adb3b5e095ef175fe383bc92d (patch) | |
tree | 79f5f7eb71efcbba6d683f16f8082109e7ec409a /drivers/net/wireless/quantenna | |
parent | rsi: sdio: Add WOWLAN support for S5 shutdown state (diff) | |
download | linux-e9931f984dd1e80adb3b5e095ef175fe383bc92d.tar.xz linux-e9931f984dd1e80adb3b5e095ef175fe383bc92d.zip |
qtnfmac: modify full Tx queue error reporting
Under heavy load it is normal that h/w Tx queue is almost full all the time
and reclaim should be done before transmitting next packet. Warning still
should be reported as well as s/w Tx queues should be stopped in the
case when reclaim failed.
Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c b/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c index 69131965a298..146e42a132e7 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c +++ b/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c @@ -643,11 +643,11 @@ static int qtnf_tx_queue_ready(struct qtnf_pcie_bus_priv *priv) { if (!CIRC_SPACE(priv->tx_bd_w_index, priv->tx_bd_r_index, priv->tx_bd_num)) { - pr_err_ratelimited("reclaim full Tx queue\n"); qtnf_pcie_data_tx_reclaim(priv); if (!CIRC_SPACE(priv->tx_bd_w_index, priv->tx_bd_r_index, priv->tx_bd_num)) { + pr_warn_ratelimited("reclaim full Tx queue\n"); priv->tx_full_count++; return 0; } |