Skip to content

mac80211 encapsulation offload / performance patches

Felix Fietkau linux-wireless 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest14 patches 5 repliesIn review
  2. v313 patches 3 repliesSuperseded
  3. v213 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches0 repliesSuperseded

Changes in v4 from the cover letter

- reorder patches
- instead of disabling offload when tkip or sw crypto is used, fall back in the tx handler
- add patch to remove a forward declaration
- remove unnecessary checks for p2p go/client and add a comment instead

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14mac80211: add missing queue/hash initialization to 802.3 xmitnet/mac80211/tx.c+6 -00 replies
2/14mac80211: check and refresh aggregation session in encap offload txnet/mac80211/tx.c+18 -01 reply
3/14mac80211: skip encap offload for tx multicast/control packetsnet/mac80211/tx.c+19 -551 reply
4/14mac80211: set info->control.hw_key for encap offload packetsnet/mac80211/tx.c+5 -00 replies
5/14mac80211: rework tx encapsulation offload APIdrivers/net/wireless/ath/ath11k/mac.c include/net/mac80211.h net/mac80211/debugfs.c +6 more+217 -1121 reply
6/14mac80211: reduce duplication in tx status functionsnet/mac80211/status.c+35 -660 replies
7/14mac80211: remove tx status call to ieee80211_sta_register_airtimenet/mac80211/status.c+0 -61 reply
8/14mac80211: optimize station connection monitornet/mac80211/ieee80211_i.h net/mac80211/mlme.c net/mac80211/rx.c +2 more+22 -470 replies
9/14mac80211: swap NEED_TXPROCESSING and HW_80211_ENCAP tx flagsdrivers/net/wireless/ath/ath11k/dp_tx.c drivers/net/wireless/ath/ath11k/mac.c include/net/mac80211.h +5 more+25 -250 replies
10/14mac80211: unify 802.3 (offload) and 802.11 tx status codepathnet/mac80211/status.c+28 -650 replies
11/14mac80211: support using ieee80211_tx_status_ext to free skbs without status infonet/mac80211/status.c+19 -131 reply
12/14mac80211: extend ieee80211_tx_status_ext to support bulk freeinclude/net/mac80211.h net/mac80211/status.c+10 -20 replies
13/14mac80211: notify the driver when a sta uses 4-address modeinclude/net/mac80211.h net/mac80211/cfg.c net/mac80211/driver-ops.h +2 more+49 -00 replies
14/14mac80211: reorganize code to remove a forward declarationnet/mac80211/iface.c+812 -8140 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 00/14] mac80211 encapsulation offload / performance patches

v4:
- reorder patches
- instead of disabling offload when tkip or sw crypto is used, fall back in the tx handler
- add patch to remove a forward declaration
- remove unnecessary checks for p2p go/client and add a comment instead

v3:
- fix sta pointer and skb info pointer in ieee80211_tx_status_ext skb free patch

v2:
- add cover letter
- fix netdev ops for vlan interfaces
- make multicast traffic fall back to non-offload path to support sw crypto
- use ieee80211_tx_status_ext as replacements for ieee80211_free_txskb (the latter does not work with encap offload packets)
- add api for bulk free after tx status

Felix Fietkau (14):
mac80211: add missing queue/hash initialization to 802.3 xmit
mac80211: check and refresh aggregation session in encap offload tx
mac80211: skip encap offload for tx multicast/control packets
mac80211: set info->control.hw_key for encap offload packets
mac80211: rework tx encapsulation offload API
mac80211: reduce duplication in tx status functions
mac80211: remove tx status call to ieee80211_sta_register_airtime
mac80211: optimize station connection monitor
mac80211: swap NEED_TXPROCESSING and HW_80211_ENCAP tx flags
mac80211: unify 802.3 (offload) and 802.11 tx status codepath
mac80211: support using ieee80211_tx_status_ext to free skbs without
status info
mac80211: extend ieee80211_tx_status_ext to support bulk free
mac80211: notify the driver when a sta uses 4-address mode
mac80211: reorganize code to remove a forward declaration

 drivers/net/wireless/ath/ath11k/dp_tx.c |    4 +-
 drivers/net/wireless/ath/ath11k/mac.c   |   61 +-
 include/net/mac80211.h                  |   49 +-
 net/mac80211/cfg.c                      |    1 +
 net/mac80211/debugfs.c                  |    1 +
 net/mac80211/driver-ops.h               |   29 +
 net/mac80211/ieee80211_i.h              |    5 +-
 net/mac80211/iface.c                    | 1573 ++++++++++++-----------
 net/mac80211/key.c                      |   15 -
 net/mac80211/mesh_hwmp.c                |    4 +-
 net/mac80211/mesh_ps.c                  |    2 +-
 net/mac80211/mlme.c                     |   56 +-
 net/mac80211/rx.c                       |   11 +-
 net/mac80211/sta_info.h                 |    2 -
 net/mac80211/status.c                   |  219 ++--
 net/mac80211/trace.h                    |   33 +
 net/mac80211/tx.c                       |  113 +-
 17 files changed, 1119 insertions(+), 1059 deletions(-)
Signature · 1 line
2.28.0