mbox series

[RFCv2,0/2] add 802.11 decapsulation offload support

Message ID 1582804899-12814-1-git-send-email-mpubbise@codeaurora.org (mailing list archive)
Headers show
Series add 802.11 decapsulation offload support | expand

Message

Manikanta Pubbisetty Feb. 27, 2020, 12:01 p.m. UTC
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(-)