From: Julius Bairaktaris <julius@bairaktaris.de>
To: Jeff Johnson <jjohnson@kernel.org>
Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org,
Baochen Qiang <baochen.qiang@oss.qualcomm.com>,
Vasanthakumar Thiagarajan
<vasanthakumar.thiagarajan@oss.qualcomm.com>,
Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>,
Praneesh P <praneesh.p@oss.qualcomm.com>,
Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>,
Mark Ruvald Pedersen <wabsie@gmail.com>,
Rosen Penev <rosenp@gmail.com>
Subject: [PATCH ath-next v1 02/10] wifi: ath11k: replace the RX buffer IDR with a table
Date: Mon, 23 Nov 2026 14:41:29 +0100 [thread overview]
Message-ID: <20261123134137.718575-3-julius@bairaktaris.de> (raw)
In-Reply-To: <20261123134137.718575-1-julius@bairaktaris.de>
Every RX buffer gets an id from its ring's IDR when it is posted and
gives it back when it is reaped, so each received frame costs an
idr_alloc() and an idr_remove(), each a radix tree walk with node
allocation and freeing under the ring lock.
The ids a ring hands out are bounded by its size, so keep them in a table
indexed by id, with a stack of the free ones. Posting a buffer pops an id
and reaping it pushes the id back, both in constant time under the same
lock, and a lookup is an array index.
The table holds twice the ring size: a ring never has more buffers posted
than entries, plus the defragmented frames reinjected into the refill
ring. Id 0 stays unused, because the refill path treats it as invalid.
An id outside the table, or one the table does not hold, finds no buffer,
as an id unknown to the IDR did.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
---
drivers/net/wireless/ath/ath11k/dp.c | 9 +-
drivers/net/wireless/ath/ath11k/dp.h | 10 +-
drivers/net/wireless/ath/ath11k/dp_rx.c | 214 ++++++++++++++++--------
3 files changed, 155 insertions(+), 78 deletions(-)
diff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/dp.c
index be65d73b904b..e29a49df2a42 100644
--- a/drivers/net/wireless/ath/ath11k/dp.c
+++ b/drivers/net/wireless/ath/ath11k/dp.c
@@ -897,16 +897,13 @@ void ath11k_dp_pdev_pre_alloc(struct ath11k_base *ab)
ar = ab->pdevs[i].ar;
dp = &ar->dp;
dp->mac_id = i;
- idr_init(&dp->rx_refill_buf_ring.bufs_idr);
- spin_lock_init(&dp->rx_refill_buf_ring.idr_lock);
+ spin_lock_init(&dp->rx_refill_buf_ring.bufs_lock);
atomic_set(&dp->num_tx_pending, 0);
init_waitqueue_head(&dp->tx_empty_waitq);
for (j = 0; j < ab->hw_params.num_rxdma_per_pdev; j++) {
- idr_init(&dp->rx_mon_status_refill_ring[j].bufs_idr);
- spin_lock_init(&dp->rx_mon_status_refill_ring[j].idr_lock);
+ spin_lock_init(&dp->rx_mon_status_refill_ring[j].bufs_lock);
}
- idr_init(&dp->rxdma_mon_buf_ring.bufs_idr);
- spin_lock_init(&dp->rxdma_mon_buf_ring.idr_lock);
+ spin_lock_init(&dp->rxdma_mon_buf_ring.bufs_lock);
}
}
diff --git a/drivers/net/wireless/ath/ath11k/dp.h b/drivers/net/wireless/ath/ath11k/dp.h
index 357185e45ae6..e6e05eb25692 100644
--- a/drivers/net/wireless/ath/ath11k/dp.h
+++ b/drivers/net/wireless/ath/ath11k/dp.h
@@ -73,9 +73,13 @@ struct dp_srng {
struct dp_rxdma_ring {
struct dp_srng refill_buf_ring;
struct page_pool *page_pool;
- struct idr bufs_idr;
- /* Protects bufs_idr */
- spinlock_t idr_lock;
+ /* Buffers by the id their descriptor carries, and the ids not in use */
+ struct sk_buff **bufs;
+ u32 *free_ids;
+ u32 num_free;
+ u32 num_ids;
+ /* Protects bufs and free_ids */
+ spinlock_t bufs_lock;
int bufs_max;
};
diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index bad5c58dfafa..b3b8afb82a78 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -341,6 +341,68 @@ static int ath11k_dp_purge_mon_ring(struct ath11k_base *ab)
return -ETIMEDOUT;
}
+/*
+ * The ids a ring hands out, as a table indexed by id with a stack of the
+ * free ones: the descriptor cookie names the buffer directly. Id 0 is never
+ * handed out, because the refill path treats it as invalid. Callers of the
+ * id helpers hold bufs_lock.
+ */
+static int ath11k_dp_rx_bufs_init(struct dp_rxdma_ring *rx_ring)
+{
+ u32 num = rx_ring->bufs_max * 2 + 1;
+ u32 id;
+
+ rx_ring->bufs = kvcalloc(num, sizeof(*rx_ring->bufs), GFP_KERNEL);
+ rx_ring->free_ids = kvcalloc(num, sizeof(*rx_ring->free_ids),
+ GFP_KERNEL);
+ if (!rx_ring->bufs || !rx_ring->free_ids) {
+ kvfree(rx_ring->bufs);
+ kvfree(rx_ring->free_ids);
+ rx_ring->bufs = NULL;
+ rx_ring->free_ids = NULL;
+ return -ENOMEM;
+ }
+
+ rx_ring->num_ids = num;
+ rx_ring->num_free = 0;
+ for (id = num; id-- > 1;)
+ rx_ring->free_ids[rx_ring->num_free++] = id;
+
+ return 0;
+}
+
+static int ath11k_dp_rx_buf_get_id(struct dp_rxdma_ring *rx_ring,
+ struct sk_buff *skb)
+{
+ u32 id;
+
+ if (unlikely(!rx_ring->num_free))
+ return -ENOSPC;
+
+ id = rx_ring->free_ids[--rx_ring->num_free];
+ rx_ring->bufs[id] = skb;
+
+ return id;
+}
+
+static struct sk_buff *ath11k_dp_rx_buf_lookup(struct dp_rxdma_ring *rx_ring,
+ u32 id)
+{
+ if (unlikely(id >= rx_ring->num_ids))
+ return NULL;
+
+ return rx_ring->bufs[id];
+}
+
+static void ath11k_dp_rx_buf_put_id(struct dp_rxdma_ring *rx_ring, u32 id)
+{
+ if (unlikely(id >= rx_ring->num_ids || !rx_ring->bufs[id]))
+ return;
+
+ rx_ring->bufs[id] = NULL;
+ rx_ring->free_ids[rx_ring->num_free++] = id;
+}
+
static bool ath11k_dp_rx_buf_is_pp(struct sk_buff *skb)
{
return skb->pp_recycle && skb->head_frag;
@@ -449,10 +511,9 @@ int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id,
goto fail_free_skb;
}
- spin_lock_bh(&rx_ring->idr_lock);
- buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 1,
- (rx_ring->bufs_max * 3) + 1, GFP_ATOMIC);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ buf_id = ath11k_dp_rx_buf_get_id(rx_ring, skb);
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (buf_id <= 0)
goto fail_dma_unmap;
@@ -477,9 +538,9 @@ int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id,
return req_entries - num_remain;
fail_idr_remove:
- spin_lock_bh(&rx_ring->idr_lock);
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
fail_dma_unmap:
if (!rx_ring->page_pool)
dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb),
@@ -500,9 +561,13 @@ static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar,
struct sk_buff *skb;
int buf_id;
- spin_lock_bh(&rx_ring->idr_lock);
- idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) {
- idr_remove(&rx_ring->bufs_idr, buf_id);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ for (buf_id = 0; buf_id < rx_ring->num_ids; buf_id++) {
+ skb = rx_ring->bufs[buf_id];
+ if (!skb)
+ continue;
+
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
/* TODO: Understand where internal driver does this dma_unmap
* of rxdma_buffer.
*/
@@ -510,8 +575,13 @@ static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar,
dev_kfree_skb_any(skb);
}
- idr_destroy(&rx_ring->bufs_idr);
- spin_unlock_bh(&rx_ring->idr_lock);
+ kvfree(rx_ring->bufs);
+ kvfree(rx_ring->free_ids);
+ rx_ring->bufs = NULL;
+ rx_ring->free_ids = NULL;
+ rx_ring->num_ids = 0;
+ rx_ring->num_free = 0;
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (rx_ring->page_pool) {
page_pool_destroy(rx_ring->page_pool);
@@ -571,6 +641,14 @@ static int ath11k_dp_rxdma_ring_buf_setup(struct ath11k *ar,
}
rx_ring->bufs_max = num_entries;
+ if (ath11k_dp_rx_bufs_init(rx_ring)) {
+ if (rx_ring->page_pool) {
+ page_pool_destroy(rx_ring->page_pool);
+ rx_ring->page_pool = NULL;
+ }
+ return -ENOMEM;
+ }
+
ath11k_dp_rxbufs_replenish(ar->ab, dp->mac_id, rx_ring, num_entries,
ar->ab->hw_params.hal_params->rx_buf_rbm);
return 0;
@@ -2848,17 +2926,17 @@ int ath11k_dp_process_rx(struct ath11k_base *ab, int ring_id,
ar = ab->pdevs[mac_id].ar;
rx_ring = &ar->dp.rx_refill_buf_ring;
- spin_lock_bh(&rx_ring->idr_lock);
- msdu = idr_find(&rx_ring->bufs_idr, buf_id);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ msdu = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
if (unlikely(!msdu)) {
ath11k_warn(ab, "frame rx with invalid buf_id %d\n",
buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_unlock_bh(&rx_ring->bufs_lock);
continue;
}
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
rxcb = ATH11K_SKB_RXCB(msdu);
ath11k_dp_rx_unmap_buf(ab, msdu, DMA_FROM_DEVICE);
@@ -3039,10 +3117,9 @@ static struct sk_buff *ath11k_dp_rx_alloc_mon_status_buf(struct ath11k_base *ab,
if (unlikely(dma_mapping_error(ab->dev, paddr)))
goto fail_free_skb;
- spin_lock_bh(&rx_ring->idr_lock);
- *buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 0,
- rx_ring->bufs_max, GFP_ATOMIC);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ *buf_id = ath11k_dp_rx_buf_get_id(rx_ring, skb);
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (*buf_id < 0)
goto fail_dma_unmap;
@@ -3111,9 +3188,9 @@ int ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id,
return req_entries - num_remain;
fail_desc_get:
- spin_lock_bh(&rx_ring->idr_lock);
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb),
DMA_FROM_DEVICE);
dev_kfree_skb_any(skb);
@@ -3181,9 +3258,9 @@ ath11k_dp_rx_mon_buf_done(struct ath11k_base *ab, struct hal_srng *srng,
buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie);
- spin_lock_bh(&rx_ring->idr_lock);
- skb = idr_find(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ skb = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (!skb)
return DP_MON_STATUS_NO_DMA;
@@ -3245,9 +3322,9 @@ static int ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base *ab, int mac_id,
if (paddr) {
buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie);
- spin_lock_bh(&rx_ring->idr_lock);
- skb = idr_find(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ skb = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (!skb) {
ath11k_warn(ab, "rx monitor status with invalid buf_id %d\n",
@@ -3289,9 +3366,9 @@ static int ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base *ab, int mac_id,
if (reap_status == DP_MON_STATUS_NO_DMA)
continue;
- spin_lock_bh(&rx_ring->idr_lock);
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
ath11k_dp_rx_unmap_buf(ab, skb, DMA_FROM_DEVICE);
@@ -3300,9 +3377,9 @@ static int ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base *ab, int mac_id,
goto move_next;
}
- spin_lock_bh(&rx_ring->idr_lock);
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (ab->hw_params.full_monitor_mode) {
ath11k_dp_rx_mon_update_status_buf_state(pmon, tlv);
if (paddr == pmon->mon_status_paddr)
@@ -3611,10 +3688,9 @@ static int ath11k_dp_rx_h_defrag_reo_reinject(struct ath11k *ar, struct dp_rx_ti
return -ENOMEM;
}
- spin_lock_bh(&rx_refill_ring->idr_lock);
- buf_id = idr_alloc(&rx_refill_ring->bufs_idr, defrag_skb, 0,
- rx_refill_ring->bufs_max * 3, GFP_ATOMIC);
- spin_unlock_bh(&rx_refill_ring->idr_lock);
+ spin_lock_bh(&rx_refill_ring->bufs_lock);
+ buf_id = ath11k_dp_rx_buf_get_id(rx_refill_ring, defrag_skb);
+ spin_unlock_bh(&rx_refill_ring->bufs_lock);
if (buf_id < 0) {
ret = -ENOMEM;
goto err_unmap_dma;
@@ -3668,9 +3744,9 @@ static int ath11k_dp_rx_h_defrag_reo_reinject(struct ath11k *ar, struct dp_rx_ti
return 0;
err_free_idr:
- spin_lock_bh(&rx_refill_ring->idr_lock);
- idr_remove(&rx_refill_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_refill_ring->idr_lock);
+ spin_lock_bh(&rx_refill_ring->bufs_lock);
+ ath11k_dp_rx_buf_put_id(rx_refill_ring, buf_id);
+ spin_unlock_bh(&rx_refill_ring->bufs_lock);
err_unmap_dma:
if (!ath11k_dp_rx_buf_is_pp(defrag_skb))
dma_unmap_single(ab->dev, paddr,
@@ -3901,17 +3977,17 @@ ath11k_dp_process_rx_err_buf(struct ath11k *ar, u32 *ring_desc, int buf_id, bool
u16 msdu_len;
u32 hal_rx_desc_sz = ar->ab->hw_params.hal_desc_sz;
- spin_lock_bh(&rx_ring->idr_lock);
- msdu = idr_find(&rx_ring->bufs_idr, buf_id);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ msdu = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
if (!msdu) {
ath11k_warn(ar->ab, "rx err buf with invalid buf_id %d\n",
buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_unlock_bh(&rx_ring->bufs_lock);
return -EINVAL;
}
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
ath11k_dp_rx_unmap_buf(ar->ab, msdu, DMA_FROM_DEVICE);
@@ -4332,17 +4408,17 @@ int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab,
ar = ab->pdevs[mac_id].ar;
rx_ring = &ar->dp.rx_refill_buf_ring;
- spin_lock_bh(&rx_ring->idr_lock);
- msdu = idr_find(&rx_ring->bufs_idr, buf_id);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ msdu = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
if (!msdu) {
ath11k_warn(ab, "frame rx with invalid buf_id %d pdev %d\n",
buf_id, mac_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_unlock_bh(&rx_ring->bufs_lock);
continue;
}
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
rxcb = ATH11K_SKB_RXCB(msdu);
ath11k_dp_rx_unmap_buf(ab, msdu, DMA_FROM_DEVICE);
@@ -4455,17 +4531,17 @@ int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget)
buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID,
msdu_cookies[i]);
- spin_lock_bh(&rx_ring->idr_lock);
- skb = idr_find(&rx_ring->bufs_idr, buf_id);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ skb = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
if (!skb) {
ath11k_warn(ab, "rxdma error with invalid buf_id %d\n",
buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_unlock_bh(&rx_ring->bufs_lock);
continue;
}
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
ath11k_dp_rx_unmap_buf(ab, skb, DMA_FROM_DEVICE);
dev_kfree_skb_any(skb);
@@ -4928,9 +5004,9 @@ u32 ath11k_dp_rx_mon_mpdu_pop(struct ath11k *ar, int mac_id,
buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID,
msdu_list.sw_cookie[i]);
- spin_lock_bh(&rx_ring->idr_lock);
- msdu = idr_find(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ msdu = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
if (!msdu) {
ath11k_dbg(ar->ab, ATH11K_DBG_DATA,
"msdu_pop: invalid buf_id %d\n", buf_id);
@@ -4997,9 +5073,9 @@ u32 ath11k_dp_rx_mon_mpdu_pop(struct ath11k *ar, int mac_id,
next_msdu:
pmon->mon_last_buf_cookie = msdu_list.sw_cookie[i];
rx_bufs_used++;
- spin_lock_bh(&rx_ring->idr_lock);
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
}
ath11k_hal_rx_buf_addr_info_set(rx_link_buf_info, paddr, sw_cookie, rbm);
@@ -5553,17 +5629,17 @@ ath11k_dp_rx_full_mon_mpdu_pop(struct ath11k *ar,
buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID,
msdu_list.sw_cookie[i]);
- spin_lock_bh(&rx_ring->idr_lock);
- msdu = idr_find(&rx_ring->bufs_idr, buf_id);
+ spin_lock_bh(&rx_ring->bufs_lock);
+ msdu = ath11k_dp_rx_buf_lookup(rx_ring, buf_id);
if (!msdu) {
ath11k_dbg(ar->ab, ATH11K_DBG_DATA,
"full mon msdu_pop: invalid buf_id %d\n",
buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ spin_unlock_bh(&rx_ring->bufs_lock);
goto next_msdu;
}
- idr_remove(&rx_ring->bufs_idr, buf_id);
- spin_unlock_bh(&rx_ring->idr_lock);
+ ath11k_dp_rx_buf_put_id(rx_ring, buf_id);
+ spin_unlock_bh(&rx_ring->bufs_lock);
rxcb = ATH11K_SKB_RXCB(msdu);
if (!rxcb->unmapped) {
--
2.53.0
next prev parent reply other threads:[~2026-11-23 13:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 13:41 [PATCH ath-next v1 00/10] wifi: ath11k: cut the per-packet cost of the RX path Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 01/10] wifi: ath11k: use page_pool for the RX refill ring Julius Bairaktaris
2026-11-23 13:41 ` Julius Bairaktaris [this message]
2026-11-23 13:41 ` [PATCH ath-next v1 03/10] wifi: ath11k: request only the PPDU stats TLVs it reads Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 04/10] wifi: ath11k: set the skb hash of a received frame from the hardware Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 05/10] wifi: ath11k: sync a cached ring's new entries once per head read Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 06/10] wifi: ath11k: prefetch the buffers of the REO entries ahead of their reap Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 07/10] wifi: ath11k: look the peer of a received MSDU up once Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 08/10] wifi: ath11k: take the refill buffer lock without a second BH disable Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 09/10] wifi: ath11k: hand the CPU only the part of a REO buffer the device wrote Julius Bairaktaris
2026-11-23 13:41 ` [PATCH ath-next v1 10/10] wifi: ath11k: give the refill buffers their ids a chunk at a time 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=20261123134137.718575-3-julius@bairaktaris.de \
--to=julius@bairaktaris.de \
--cc=ath11k@lists.infradead.org \
--cc=baochen.qiang@oss.qualcomm.com \
--cc=jjohnson@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@oss.qualcomm.com \
--cc=praneesh.p@oss.qualcomm.com \
--cc=rameshkumar.sundaram@oss.qualcomm.com \
--cc=rosenp@gmail.com \
--cc=vasanthakumar.thiagarajan@oss.qualcomm.com \
--cc=wabsie@gmail.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®