Skip to content

RFC ath10k: add encapsulation offloading support

Sergey Ryazanov ath10k linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ath10k: improve tx status reportingdrivers/net/wireless/ath/ath10k/txrx.c+11 -10 replies
2/3ath10k: turn rawmode into frame_modedrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/core.h+8 -40 replies
3/3ath10k: add encapsulation offloading supportdrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/mac.c+55 -140 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/3] ath10k: add encapsulation offloading support

Hello,

this series introduces driver support for hardware encapsulation offloading feature.

The main goal of the series is an overall improvement of system performance. On a QCA9563+QCA9888-based access point in bridged mode, encapsulation offloading increases TCP 16-streams DL throughput from 365 to 396 mbps (+8%) and UDP DL throughput from 436 to 483 mbps (+11%).

The series consist of three patches, the first two prepare the code, and the last one introduces the offloading support itself. The first patch reworks transmission status reporting to make it flexible enough to support 802.11 and Ethernet encapsulated frames reporting. The second patch reworks the module parameter that configures the main encapsulation format of frames that are passed from the driver to the hardware. It makes it possible to configure more encapsulation methods than just raw or not-raw. And, as stated before, the third patch actually introduces offloading support. It changes a couple of frame analysis places along the xmit path and starts reporting offloading support to mac80211 via the corresponding hw attribute.

The new feature has been extensively tested with QCA9888 and works well, but it may introduces some regression for other untested chips. So the series is just an RFC for now.

Sergey Ryazanov (3):
ath10k: improve tx status reporting
ath10k: turn rawmode into frame_mode
ath10k: add encapsulation offloading support

 drivers/net/wireless/ath/ath10k/core.c | 11 +++--
 drivers/net/wireless/ath/ath10k/core.h |  1 +
 drivers/net/wireless/ath/ath10k/mac.c  | 67 +++++++++++++++++++++-----
 drivers/net/wireless/ath/ath10k/txrx.c | 12 ++++-
 4 files changed, 73 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1