Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1761467pxa; Thu, 20 Aug 2020 21:24:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqG43Lj6zgZl0afy0Z8EftYQL/iKfdyL3TP4BanpOMNGG6mSFbTTlx+72yXiA+TAEelNIt X-Received: by 2002:a17:906:9356:: with SMTP id p22mr1054645ejw.119.1597983864715; Thu, 20 Aug 2020 21:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597983864; cv=none; d=google.com; s=arc-20160816; b=PMP4Q2I4Retjs8ZCl/Bf9u9g1SXVqAG4pfDP4SHqhkg/F5G02GHtyGs4zuUjX/YnVm PTO3gpPSjJXUQet5ybldLLMw2PScj7cljD+mJBdkWmMehwpckrqSkD8cFbJ3+dyytoul rm8A6+K5AJD7343x3pLsCX6WYOcsNnFffMB/+6GKTREpo0qn8IF5Hm/4bKbcsxsogRBV 3oFSY06xkpMse/wlPCPaB7le0hZqyPXOJfQupvnArvbc/qOAOtewUijmdXv0pV9DCliK uj9koAbkmNaChgBlyzUJtnK3fCl52j2dUKWrJ9CyWwOi6ke2Kbvi4R+JMhirzIcbH4UL pLEQ== 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=Ew9QfSw2BrCBhcLK3YDBX8wt7d4WV4JF+CqvyO/PYoASi9iwB5lFkKhguNQ1ZiiDd/ F2buLMxxXcSeloh89uM+NZDiFaD9xSP38x624SuRZngY2cxATzd4lxUQTdwKw9+r/msF YLSAyVjs9e5eixKGVWNQnKrTwkDNMUwnAAJ7p0MtcfpfDhcchN8fd71Wx2P8IuumQsAG iq2mV3I55z6x6jXyCljdSVZo/G3MN75uk1wdYTowT9+eltXQ+mmJcQVlQv2dSckqsCZE LstuNvjeiwVlqHLoZMsQ9jkj9S4RO+HPVMQsUBscP3F4fheqUjU6FHFXBNZ4ELHr6e0j 5Gtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Hxhkm5GA; 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 p6si394329edx.443.2020.08.20.21.24.00; Thu, 20 Aug 2020 21:24:24 -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=Hxhkm5GA; 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 S1726257AbgHUEUZ (ORCPT + 99 others); Fri, 21 Aug 2020 00:20:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbgHUEUH (ORCPT ); Fri, 21 Aug 2020 00:20:07 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87F76C061344 for ; Thu, 20 Aug 2020 21:20:06 -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=Hxhkm5GA5dgzUX8ilI+0R0982V h8JFgln7gU5IhduqALdgZITnj9TnNn66dtqvA75U4Es6AejwbiF/AEiSoyOEOI5qZhgw4JIgcDsKx YL5zvkaTo8VECul+OQdw41CsLrJL0H0mqEXpnXfp9g7th3coFB8vVSe0XmnI6Cqj3GvQ=; Received: from p5b206497.dip0.t-ipconnect.de ([91.32.100.151] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1k8yX7-0005s7-39; Fri, 21 Aug 2020 06:20:05 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH v2 07/13] mac80211: add missing queue/hash initialization to 802.3 xmit Date: Fri, 21 Aug 2020 06:19:55 +0200 Message-Id: <20200821042001.23388-8-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200821042001.23388-1-nbd@nbd.name> References: <20200821042001.23388-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