Skip to content

ath11k: optimizations in data path

Jouni Malinen ath11k linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ath11k: disable unused CE8 interrupts for ipq8074drivers/net/wireless/ath/ath11k/ce.c+1 -10 replies
2/12ath11k: allocate dst ring descriptors from cacheable memorydrivers/net/wireless/ath/ath11k/dp.c drivers/net/wireless/ath/ath11k/dp.h drivers/net/wireless/ath/ath11k/hal.c +1 more+54 -71 reply
3/12ath11k: modify dp_rx desc access wrapper calls inlinedrivers/net/wireless/ath/ath11k/dp_rx.c+59 -550 replies
4/12ath11k: avoid additional access to ath11k_hal_srng_dst_num_freedrivers/net/wireless/ath/ath11k/dp_rx.c+7 -30 replies
5/12ath11k: avoid active pdev check for each msdudrivers/net/wireless/ath/ath11k/dp_rx.c+32 -340 replies
6/12ath11k: remove usage quota while processing rx packetsdrivers/net/wireless/ath/ath11k/dp_rx.c+3 -60 replies
7/12ath11k: add branch predictors in process_rxdrivers/net/wireless/ath/ath11k/dp_rx.c+8 -80 replies
8/12ath11k: allocate HAL_WBM2SW_RELEASE ring from cacheable memorydrivers/net/wireless/ath/ath11k/dp.c+2 -00 replies
9/12ath11k: remove mod operator in dst ring processingdrivers/net/wireless/ath/ath11k/hal.c+5 -20 replies
10/12ath11k: avoid while loop in ring selection of tx completion interruptdrivers/net/wireless/ath/ath11k/dp.c+4 -50 replies
11/12ath11k: add branch predictors in dp_tx pathdrivers/net/wireless/ath/ath11k/dp_tx.c drivers/net/wireless/ath/ath11k/mac.c+24 -230 replies
12/12ath11k: avoid unnecessary lock contention in tx_completion pathdrivers/net/wireless/ath/ath11k/dp_tx.c+8 -102 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] ath11k: optimizations in data path

This patchset covers optimizations in rx (first 7 patches) and tx (remaining 5 patches) data path.

Running UDP DL/UL traffic on IPQ8074 5G radio showed an average 5-10% improvement on a 4 core platform.

P Praneesh (12):
ath11k: disable unused CE8 interrupts for ipq8074
ath11k: allocate dst ring descriptors from cacheable memory
ath11k: modify dp_rx desc access wrapper calls inline
ath11k: avoid additional access to ath11k_hal_srng_dst_num_free
ath11k: avoid active pdev check for each msdu
ath11k: remove usage quota while processing rx packets
ath11k: add branch predictors in process_rx
ath11k: allocate HAL_WBM2SW_RELEASE ring from cacheable memory
ath11k: remove mod operator in dst ring processing
ath11k: avoid while loop in ring selection of tx completion interrupt
ath11k: add branch predictors in dp_tx path
ath11k: avoid unnecessary lock contention in tx_completion path

 drivers/net/wireless/ath/ath11k/ce.c    |   2 +-
 drivers/net/wireless/ath/ath11k/dp.c    |  45 +++++--
 drivers/net/wireless/ath/ath11k/dp.h    |   1 +
 drivers/net/wireless/ath/ath11k/dp_rx.c | 205 ++++++++++++++++----------------
 drivers/net/wireless/ath/ath11k/dp_tx.c |  63 +++++-----
 drivers/net/wireless/ath/ath11k/hal.c   |  32 ++++-
 drivers/net/wireless/ath/ath11k/hal.h   |   1 +
 drivers/net/wireless/ath/ath11k/mac.c   |   2 +-
 8 files changed, 202 insertions(+), 149 deletions(-)
Signature · 1 line
2.25.1