diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-03-16 18:06:34 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-04-26 13:02:11 +0200 |
commit | 8dbb000ee73be2c05e34756739ce308885312a29 (patch) | |
tree | 2a50fd826d5a8a5e7a07bd77639d709d7de5f633 /net/mac80211/iface.c | |
parent | ded4698b58cb23c22b0dcbd829ced19ce4e6ce02 (diff) | |
download | linux-stable-8dbb000ee73be2c05e34756739ce308885312a29.tar.gz linux-stable-8dbb000ee73be2c05e34756739ce308885312a29.tar.bz2 linux-stable-8dbb000ee73be2c05e34756739ce308885312a29.zip |
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 <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index f0d97eba250b..6e1b031535d5 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -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; } |