2020-02-17 12:59:52

by Manikanta Pubbisetty

[permalink] [raw]
Subject: [RFC 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.

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(-)

--
2.7.4


2020-02-17 13:39:01

by John Crispin

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

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(-)
>

2020-02-17 14:26:24

by Johannes Berg

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

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