Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2507918pxa; Mon, 17 Aug 2020 11:21:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdt65XktKCbAj9v8teMtu1TccOWkK1gnlahm6+bFgmxDuAhAES7otxNTo7NRSY59ja5uBf X-Received: by 2002:aa7:c251:: with SMTP id y17mr16474289edo.13.1597688460478; Mon, 17 Aug 2020 11:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597688460; cv=none; d=google.com; s=arc-20160816; b=fMUeRwuv2LdnR2wn18kfUByGvA8OBPMWGO73+IXhCwpa/YWquEOLvSz1Ema7OsJf89 xyFKlypRF2YJjQr1hOBVD27lHKclqmroBFNUJcn2m8QHhWxKKN8xNxv/FHFRjdZ51a7U +0+zhq4MXIYZKO8PvEsOys+Q09LhZMq3uQnxYDplr1jhmiCuyPp1aouVEWNXmi73rm0C u2zn8J9Ou4hzu8cjUxIh+6kWk9fvPHWyoUez2jIl0iVtR/LHiJi7gh6I4HKNQOU4XS46 QLZMZOxQmnXMDkROsMLyDbKVsS20GeQ7L75JKBVLk/30udmOzre4wEtUeUtufeVZ+jvF a4AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qH6HbVR5l88KQtZQN6tDQwkuMqYledfoH9ECPrkSWq0=; b=RzDkOkqXX1Unh8ncf8SFyWJt6sb3hcgOtzkiN6+t/zk82fE91gHBvs/q9JbfBGs4G5 9u2A5aEmw5zkK3doLSlOmUc2tc1SBjrJpsP+D5OsOlYCWIz/DFbkLgf1hR0LCh4Ush5Y IraduKRWg1yGK2pU7aCG8y3fqF9h/NsM5jdlpMz/lMULiSUZYdHYAZ/KF78K+VHM9HTM 9YHQZ3Sg9Oy1cCrLt+TXHVgbYLpth7nWv3nD6NRRStIyiBYI9dwT8b969Q143P+uYscb g6Ed3Smc8nIYA+xzNGiuF8ECz1q2kf4JTlSWyS7oun4cDZvfaiokC4HTlphlYrz38Prn mRmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=R83DUqqQ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf8si11440919edb.597.2020.08.17.11.20.36; Mon, 17 Aug 2020 11:21:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=R83DUqqQ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390625AbgHQSTP (ORCPT + 99 others); Mon, 17 Aug 2020 14:19:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388362AbgHQQF3 (ORCPT ); Mon, 17 Aug 2020 12:05:29 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E5D1C061343 for ; Mon, 17 Aug 2020 09:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qH6HbVR5l88KQtZQN6tDQwkuMqYledfoH9ECPrkSWq0=; b=R83DUqqQFic7wTLhbHv/GkHWHy Jkq8x8bxqpNaFM6CI/ZaO6Z6m2+2wuZ2WxFturOI4+K52LqMSFxOqj7vjVMz/vLMibDsLwi3IpKLf 0ONjTEuuY3pS/qhn88QoyYqtWwj9rUHbA/sjGbpgHxlOwciUUC9QZ83yqLrHIewn+RAQ=; Received: from p54ae996c.dip0.t-ipconnect.de ([84.174.153.108] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1k7hdQ-0004Gg-8O; Mon, 17 Aug 2020 18:05:20 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH 7/7] mac80211: add missing queue/hash initialization to 802.3 xmit Date: Mon, 17 Aug 2020 18:05:17 +0200 Message-Id: <20200817160517.94564-7-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817160517.94564-1-nbd@nbd.name> References: <20200817160517.94564-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes AQL for encap-offloaded tx Signed-off-by: Felix Fietkau --- net/mac80211/tx.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 518a1ed4f088..04d8e528357b 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -4209,6 +4209,12 @@ static void ieee80211_8023_xmit(struct ieee80211_sub_if_data *sdata, if (is_zero_ether_addr(ra)) goto out_free; + if (local->ops->wake_tx_queue) { + u16 queue = __ieee80211_select_queue(sdata, sta, skb); + skb_set_queue_mapping(skb, queue); + skb_get_hash(skb); + } + multicast = is_multicast_ether_addr(ra); if (sta) -- 2.28.0