Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4116065pxk; Tue, 8 Sep 2020 11:06:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8+ktI8yKEWJzWPacFbdcqWU6fCBNiiaFfQbJFCf88QMGJWaaPYfYPxKfjMiD0aEKsiLMt X-Received: by 2002:a17:907:2506:: with SMTP id y6mr7524742ejl.265.1599588368414; Tue, 08 Sep 2020 11:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599588368; cv=none; d=google.com; s=arc-20160816; b=v4w0Vk3d5EN/1WUxm9ZPdhPOocH6KnAOQBXYRCZeD07+myQKK4cj4VyRXYMwpbHEhn JYf4qUoOo2Bppkf99u5PZhOWDH81jlQCUVSf72HOh84rz+PkBbjfdQrPUaMTp40X8+qC 4jm2Q8253H+JZW3JCbhts0jBOnLvWp6R+aFaSGMfb6QkH+C8apXWu6fFMt/COHdMnGto mB9J/557v7nF4lWu9gbo59DD/NuaoBkoTQDKoGnnp5ArjgOXI2N8kARvejlawmCQBHEO rxVyz75+ykPGiIjWIPvAMLCoyYZSCI5LpENMqQu8vhWtVZl0lIn3I9V/Hqm0pWER7DW8 0C9g== 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=bmw2xoKPGbQI0D8yI49ROdm9it8RGSMSPf2EPtMd0t4=; b=yta1YlUhJC4P0nMi/UG6aRSUYU3vJd02sK+SyvDRzJA241yDi5cDE7OSzb9aZTAC5f DSegcR7XQc1t2gwfxoOy8JXmJCybeqZYnToebSi9nx3vzYXp3WCiEx8ypFKa5njkIPDC xxo7RFz1sj2nusKLGEbND44oF5AR5WoUsEtQ5FLcGXV/R5r/jZOxne+xbhXgHWVIvvWZ pxwEiMdz1VQdvP2H1xCk5y6L68XFMllr/DTUC2rcLo7v4m2UCDeB8gRplNXUqBcH9Vjk ePxRFI9bLg99r/esHdwVd3SEii4AB/mYH1AX7pKCdAMdvjKDqkBeqXyrm4PshfRq1Hs3 Co9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=sPXEex8U; 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 k4si11667562edx.303.2020.09.08.11.05.43; Tue, 08 Sep 2020 11:06:08 -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=sPXEex8U; 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 S1732243AbgIHR6q (ORCPT + 99 others); Tue, 8 Sep 2020 13:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731390AbgIHQMq (ORCPT ); Tue, 8 Sep 2020 12:12:46 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E43ABC06136A for ; Tue, 8 Sep 2020 05:37:12 -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=bmw2xoKPGbQI0D8yI49ROdm9it8RGSMSPf2EPtMd0t4=; b=sPXEex8UPkTjswKriP3rlFGG6H iLBpmeoJEo+pEmROU3j5w4L4Lmi7dIZoEq6TLUYOTNbF0jIdAosEizvn7r1qgu2W3iwttYk5R6CUu kEDxzTTvROR3JuVcafHjhD3gJiY5DSMisJXPECcteqowPhJxgMEZX8rP5OoNMp17/4N0=; Received: from p4ff13fcb.dip0.t-ipconnect.de ([79.241.63.203] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1kFcrw-00050i-KS; Tue, 08 Sep 2020 14:37:04 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH v4 01/14] mac80211: add missing queue/hash initialization to 802.3 xmit Date: Tue, 8 Sep 2020 14:36:49 +0200 Message-Id: <20200908123702.88454-2-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908123702.88454-1-nbd@nbd.name> References: <20200908123702.88454-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 d2136007e2eb..bee9b01c5a6b 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