mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
mac80211: set NETIF_F_LLTX when using intermediate tx queues
When using iTXQ, tx sequence number allocation and statistics are run at dequeue time. Because of that, it is safe to enable NETIF_F_LLTX, which allows tx handlers to run on multiple CPUs in parallel. Signed-off-by: Felix Fietkau <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
committed by
Johannes Berg
parent
ded4698b58
commit
8dbb000ee7
@@ -1225,6 +1225,7 @@ static void ieee80211_if_setup(struct net_device *dev)
|
||||
static void ieee80211_if_setup_no_queue(struct net_device *dev)
|
||||
{
|
||||
ieee80211_if_setup(dev);
|
||||
dev->features |= NETIF_F_LLTX;
|
||||
dev->priv_flags |= IFF_NO_QUEUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user