From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Sean Wang <sean.wang@kernel.org>
Cc: Felix Fietkau <nbd@nbd.name>,
linux-wireless@vger.kernel.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 0/5] wifi: mt76: add USB RX aggregation support
Date: Sun, 14 Jun 2026 11:26:39 +0200 [thread overview]
Message-ID: <ai5zzwOcBrrtvjNk@lore-desk> (raw)
In-Reply-To: <20260613224655.2405686-1-sean.wang@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 2292 bytes --]
> This series adds optional USB RX aggregation support to mt76 and enables
> it on mt7927u.
>
> RX aggregation allows multiple RX frames to be received from one USB URB,
> reducing USB completion overhead and improving RX efficiency for
> high-throughput RX traffic and monitor capture.
Hi Sean,
MT76 usb already supports Scatter-Gather (SG) for RX urbs in order to receive
multiple buffers in the same urb. Since this approach has a better memory
footprint, can we reuse this approach?
Moreover, can you please provide some performance comparison? (e.g. throughput
and memory usage).
Regards,
Lorenzo
>
> The common USB support remains opt-in, so existing USB drivers keep the
> current behavior unless they explicitly enable RX aggregation. The same
> settings work for both mt7927u and mt7925u, but this series enables the
> feature only on mt7927u for now.
>
> This series does the following:
>
> - size RX page-pool pages from the queue buffer size
> - support out-of-order RX URB completion
> - add optional USB RX aggregation parsing
> - add debugfs stats to verify aggregation behavior
> - enable USB RX aggregation on mt7927u
>
> The series is based on wireless-next commit:
>
> 21352612198c ("b43: add RF power offset for N-PHY r8 + radio 2057 r8")
>
> It also cherry-picks the following patch from patchwork as a dependency:
>
> wifi: mt76: mt76u: use a threaded NAPI for the RX path
> Link: https://lore.kernel.org/all/20260609105301.196302-1-phial@phiality.com/
>
> Sean Wang (5):
> wifi: mt76: usb: size RX page-pool pages from queue buffer
> wifi: mt76: usb: support out-of-order RX URB completion
> wifi: mt76: usb: add optional RX aggregation support
> wifi: mt76: usb: add debugfs aggregation stats
> wifi: mt76: mt7927u: enable USB RX aggregation
>
> drivers/net/wireless/mediatek/mt76/debugfs.c | 35 +++
> drivers/net/wireless/mediatek/mt76/mac80211.c | 3 +
> drivers/net/wireless/mediatek/mt76/mt76.h | 38 ++-
> .../net/wireless/mediatek/mt76/mt7925/usb.c | 18 +-
> .../net/wireless/mediatek/mt76/mt792x_usb.c | 23 +-
> drivers/net/wireless/mediatek/mt76/usb.c | 251 ++++++++++++++++--
> 6 files changed, 335 insertions(+), 33 deletions(-)
>
> --
> 2.43.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2026-06-14 9:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-13 22:46 [PATCH 0/5] wifi: mt76: add USB RX aggregation support Sean Wang
2026-06-13 22:46 ` [PATCH 1/5] wifi: mt76: usb: size RX page-pool pages from queue buffer Sean Wang
2026-06-14 9:28 ` Lorenzo Bianconi
2026-06-13 22:46 ` [PATCH 2/5] wifi: mt76: usb: support out-of-order RX URB completion Sean Wang
2026-06-15 6:35 ` Lorenzo Bianconi
2026-06-13 22:46 ` [PATCH 3/5] wifi: mt76: usb: add optional RX aggregation support Sean Wang
2026-06-15 7:08 ` Lorenzo Bianconi
2026-06-13 22:46 ` [PATCH 4/5] wifi: mt76: usb: add debugfs aggregation stats Sean Wang
2026-06-13 22:46 ` [PATCH 5/5] wifi: mt76: mt7927u: enable USB RX aggregation Sean Wang
2026-06-15 7:10 ` Lorenzo Bianconi
2026-06-14 9:26 ` Lorenzo Bianconi [this message]
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=ai5zzwOcBrrtvjNk@lore-desk \
--to=lorenzo@kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@nbd.name \
--cc=sean.wang@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.