diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-03-28 12:15:42 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-04-04 11:39:51 +0200 |
commit | 64ddac2c1cdf068e66a1325eb4c4d6972a6a8b4f (patch) | |
tree | 24c8459a8e0c4e4a0bf2b8702179d38d4c6a5dda /package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch | |
parent | 69794908b632c89d4b99c74424cde76fc6b3f245 (diff) | |
download | upstream-64ddac2c1cdf068e66a1325eb4c4d6972a6a8b4f.tar.gz upstream-64ddac2c1cdf068e66a1325eb4c4d6972a6a8b4f.tar.bz2 upstream-64ddac2c1cdf068e66a1325eb4c4d6972a6a8b4f.zip |
mac80211: merge a few pending tx related fixes
Improve performance and fix potential mgmt tx hangs/warnings
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 571aedbc6cbb7a9bfc96bcad543a39d158925cbc)
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch')
-rw-r--r-- | package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch b/package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch new file mode 100644 index 0000000000..4d8a91a413 --- /dev/null +++ b/package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch @@ -0,0 +1,21 @@ +From: Lorenzo Bianconi <lorenzo@kernel.org> +Date: Mon, 8 Mar 2021 23:01:49 +0100 +Subject: [PATCH] mac80211: set sk_pacing_shift for 802.3 txpath + +Similar to 802.11 txpath, set socket sk_pacing_shift for 802.3 tx path. + +Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> +--- + +--- a/net/mac80211/tx.c ++++ b/net/mac80211/tx.c +@@ -4173,6 +4173,9 @@ static bool ieee80211_tx_8023(struct iee + unsigned long flags; + int q = info->hw_queue; + ++ if (sta) ++ sk_pacing_shift_update(skb->sk, local->hw.tx_sk_pacing_shift); ++ + if (ieee80211_queue_skb(local, sdata, sta, skb)) + return true; + |