2020-02-27 12:03:06

by Manikanta Pubbisetty

[permalink] [raw]
Subject: [RFCv2 0/2] add 802.11 decapsulation offload support

Adding support for offloading 802.11 decapsulation to the HW.
This reduces the CPU cycles spent on host CPU for doing the
conversion from 802.11 format to ethernet format and thereby
improving the performance of the device.

This change was tested on IPQ8074 platform (ath11k driver).
In tests where CPUs are fully loaded, this change has improved
average CPU usage by nearly 8-10%.

Note:
Ath11k patch in this patchset depends on PN offload series and
the multi reo patchset with the following name.
"Support hash based reo destination ring selection"

v2:
- Cover letter is updated with performance improvement numbers
- Disabled tid stats update for decap offload case

Manikanta Pubbisetty (1):
ath11k: add 802.11 decapsulation offloading support

Vasanthakumar Thiagarajan (1):
mac80211: add receive path for ethernet frame format

drivers/net/wireless/ath/ath11k/core.c | 4 +
drivers/net/wireless/ath/ath11k/core.h | 3 +
drivers/net/wireless/ath/ath11k/dp_rx.c | 184 ++++++++++++++----------
drivers/net/wireless/ath/ath11k/hal_desc.h | 2 +
drivers/net/wireless/ath/ath11k/mac.c | 21 +++
include/net/mac80211.h | 20 +++
net/mac80211/rx.c | 217 ++++++++++++++++++++++++++++-
7 files changed, 371 insertions(+), 80 deletions(-)

--
2.7.4