Skip to content

Commit d980c86

Browse files
nbd168gregkh
authored andcommitted
mac80211: add missing queue/hash initialization to 802.3 xmit
[ Upstream commit 5f8d69e ] Fixes AQL for encap-offloaded tx Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20200908123702.88454-2-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b0cd0b4 commit d980c86

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

net/mac80211/tx.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4209,6 +4209,12 @@ static void ieee80211_8023_xmit(struct ieee80211_sub_if_data *sdata,
42094209
if (is_zero_ether_addr(ra))
42104210
goto out_free;
42114211

4212+
if (local->ops->wake_tx_queue) {
4213+
u16 queue = __ieee80211_select_queue(sdata, sta, skb);
4214+
skb_set_queue_mapping(skb, queue);
4215+
skb_get_hash(skb);
4216+
}
4217+
42124218
multicast = is_multicast_ether_addr(ra);
42134219

42144220
if (sta)

0 commit comments

Comments
 (0)