Skip to content

Commit bca4d7e

Browse files
Sergey Matyukevichgregkh
authored andcommitted
qtnfmac: modify full Tx queue error reporting
[ Upstream commit e9931f9 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c97df8e commit bca4d7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/wireless/quantenna/qtnfmac/pearl

‎drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,11 @@ static int qtnf_tx_queue_ready(struct qtnf_pcie_bus_priv *priv)
643643
{
644644
if (!CIRC_SPACE(priv->tx_bd_w_index, priv->tx_bd_r_index,
645645
priv->tx_bd_num)) {
646-
pr_err_ratelimited("reclaim full Tx queue\n");
647646
qtnf_pcie_data_tx_reclaim(priv);
648647

649648
if (!CIRC_SPACE(priv->tx_bd_w_index, priv->tx_bd_r_index,
650649
priv->tx_bd_num)) {
650+
pr_warn_ratelimited("reclaim full Tx queue\n");
651651
priv->tx_full_count++;
652652
return 0;
653653
}

0 commit comments

Comments
 (0)