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)
commit1974da8b31e6ea9c96c21505ffcb546fa59add23
treeeae61a75a51d0cc209c0b42e1ccd458185ef1956
parent96fc6efb9ad9d0cd8cbb4462f0eb2a07092649e6
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