]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: when using iTXQ, select the queue in ieee80211_subif_start_xmit
authorFelix Fietkau <nbd@nbd.name>
Mon, 25 Mar 2019 07:59:23 +0000 (08:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:02:11 +0000 (13:02 +0200)
commit7869d5e5b87dc53576fd22f80387f5d3cc477a30
treeeae61a75a51d0cc209c0b42e1ccd458185ef1956
parentae8cf455605c753b137d57efc77ff43a7bc586e3
mac80211: when using iTXQ, select the queue in ieee80211_subif_start_xmit

When using iTXQ, the network stack does not need the real queue number, since
mac80211 is using its internal queues anyway. In that case we can defer
selecting the queue and remove a redundant station lookup in the tx path to save
some CPU cycles.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c
net/mac80211/wme.c
net/mac80211/wme.h