mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
To: julius@bairaktaris.de
Cc: ath11k@lists.infradead.org, ath12k@lists.infradead.org,
	baochen.qiang@oss.qualcomm.com, hujy652@gmail.com,
	jeff.johnson@oss.qualcomm.com, jjohnson@kernel.org,
	jtornosm@redhat.com, linux-kernel@vger.kernel.org,
	linux-wireless@vger.kernel.org, tamizh.raja@oss.qualcomm.com
Subject: Re: [PATCH v7 0/4] ath11k/ath12k: implement TX flow control
Date: Tue, 20 Oct 2026 18:08:30 +0200	[thread overview]
Message-ID: <20261020160831.2133912-1-jtornosm@redhat.com> (raw)
In-Reply-To: <20261018131930.1116724-1-julius@bairaktaris.de>

Hi Julius,

Thanks for the review and the Tested-by.

> One thing on patch 3, from reading the code:
>
>> +             if (num_free == 0) {
>> +                     spin_unlock_bh(&tx_ring->wake_tx_lock);
>> +                     break;
>> +             }
>
> When this breaks, the frames stay in the txq and nothing restarts it
> until mac80211 queues the next frame for that txq. A sender waiting for
> ACKs then stalls until its retransmit timeout. With AQL I measured this
> in v4: one download in three stalled, max RTT 347 ms. A restart from
> ath11k_dp_tx_completion_handler() fixes it.

Good point. The break when the ring is full is intentional, it keeps
the frames safe in the txq instead of the current -ENOMEM drop. Your
TX completion restart (patch 6) would make the recovery from that
stall faster, which is a nice improvement on top. Another reason for
both series to land.

Since we agree, I am going to split ath11k and ath12k into separate
series to try to unblock both.

Thanks

Best regards
José Ignacio


  reply	other threads:[~2026-10-20 16:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17  6:48 Jose Ignacio Tornos Martinez
2026-09-17  6:48 ` [PATCH v7 1/4] wifi: ath11k: use queue mapping for WCN6750 ring selection Jose Ignacio Tornos Martinez
2026-09-17  6:48 ` [PATCH v7 2/4] wifi: ath11k/ath12k: remove skb parameter from get_ring_selector Jose Ignacio Tornos Martinez
2026-09-17  6:48 ` [PATCH v7 3/4] wifi: ath11k: implement custom wake_tx_queue with flow control Jose Ignacio Tornos Martinez
2026-09-17  6:48 ` [PATCH v7 4/4] wifi: ath12k: " Jose Ignacio Tornos Martinez
2026-10-13 16:46 ` [PATCH v7 0/4] ath11k/ath12k: implement TX " Jose Ignacio Tornos Martinez
2026-10-14 16:23 ` Tamizh Raja
2026-10-17  7:40   ` Jose Ignacio Tornos Martinez
2026-10-18 13:19     ` Julius Bairaktaris
2026-10-20 16:08       ` Jose Ignacio Tornos Martinez [this message]
2026-10-20 16:21         ` Julius Bairaktaris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261020160831.2133912-1-jtornosm@redhat.com \
    --to=jtornosm@redhat.com \
    --cc=ath11k@lists.infradead.org \
    --cc=ath12k@lists.infradead.org \
    --cc=baochen.qiang@oss.qualcomm.com \
    --cc=hujy652@gmail.com \
    --cc=jeff.johnson@oss.qualcomm.com \
    --cc=jjohnson@kernel.org \
    --cc=julius@bairaktaris.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tamizh.raja@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®