mbox series

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

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

Message

Manikanta Pubbisetty Feb. 17, 2020, 12:24 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.

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"

Manikanta Pubbisetty (2):
  mac80211: add receive path for ethernet frame format
  ath11k: add rx hw 802.11 decapsulation offloading support

 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                          | 215 ++++++++++++++++++++++++++++-
 7 files changed, 370 insertions(+), 79 deletions(-)

Comments

John Crispin Feb. 17, 2020, 1:31 p.m. UTC | #1
On 17/02/2020 13:24, Manikanta Pubbisetty wrote:
> 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.
> 
> 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"
> 

Hi,
you need to also Cc: this to linux-wireless
	John


> Manikanta Pubbisetty (2):
>    mac80211: add receive path for ethernet frame format
>    ath11k: add rx hw 802.11 decapsulation offloading support
> 
>   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                          | 215 ++++++++++++++++++++++++++++-
>   7 files changed, 370 insertions(+), 79 deletions(-)
>
Johannes Berg Feb. 17, 2020, 2:23 p.m. UTC | #2
On Mon, 2020-02-17 at 17:54 +0530, Manikanta Pubbisetty wrote:
> 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.

Would be nice to quantify that :)

johannes