Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp89109pxa; Fri, 21 Aug 2020 01:51:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1O4PGgegowumpriFNud30YQzZjeSVeTibjArvpZwY9IKzYEa1STa4L0Mqk8AdDUW6SaWS X-Received: by 2002:aa7:d8d7:: with SMTP id k23mr1885032eds.54.1597999867434; Fri, 21 Aug 2020 01:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597999867; cv=none; d=google.com; s=arc-20160816; b=Qhn+v5V4T9NEiw587XO1LcyiamVZFBJ3/1ew9hxwNuDZ9Tw8e9OsSHle8VqngMC2HU x9BiTKml8F8MsDmNWrjPG8aVlK2M4KwNdB0AMCDX9pg8lqjpOw50yn4WYW5rkZIBa9VX NY5+5sB5QdXBEN35DagzGx0tw5iNOigMIAkKD3ST9d20YfxivzXrOW52XHiaUyMHhyst XMwVrdUzaw8xjvdsJr4p8StGwMl8h6m5I9fXip1eQ6uevOomoHmTXGGDNDBOPPPj7eYs I/5gAtP/reZuDrmAaxxX5m9CXCwaUC2zeWdBrb68KZv00faZN0xA2SDv0Mvnwo0exU9v Ck4w== 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=ZOtxZqMFTF77zBTBHHFS3qH0yLBXtU7wjHHgz1lNyl/KTKdnw8FLdHEw/TOzC8ap56 /wsquWUJGC4s33P/GrDsiCyTVJlIN5WG1KOG9E0iG1FCr9D1tMCTK+k3SEKkExtAzAdy L5qK4gC6fpIo6DSYF9/EwpKN6bF0mEWQvBvBOuXSoAOzYQZgejjlOab73P7dqBAnEjhr F713ra/QHZPem7SKOR4EZ9qRff/TR2BKYq7Tv5UeM3spU8HBLKpHUsZWc+zug1Ut5BMu 0cu6fEo4XYSu6quaOJIMd0WfOJifQ7V76pCyg8ZSoZ11Gq+l7AwKzDOi28dWz/OnIrBi B2fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=cQlS21fw; 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 y23si683380ejm.712.2020.08.21.01.50.42; Fri, 21 Aug 2020 01:51:07 -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=cQlS21fw; 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 S1728176AbgHUIto (ORCPT + 99 others); Fri, 21 Aug 2020 04:49:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728072AbgHUIte (ORCPT ); Fri, 21 Aug 2020 04:49:34 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8A82C061344 for ; Fri, 21 Aug 2020 01:49:32 -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=cQlS21fwCrMUXEx+DFQ7iJG8oZ G85eMo7sy4X/lXyBZFZnBZ4URUlqgJycncNMdGozh78qtyKuSn1pZRNkBWMN968PthVi0MMWweqzN 3Wy3F5CFQTjyIDY2VG+yWxB8rCC1q7ULwSXqRTR8ETiuebtOrAQc2lXBjhlSTDct9XMc=; 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 1k92jq-0005lO-C6; Fri, 21 Aug 2020 10:49:30 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH v3 07/13] mac80211: add missing queue/hash initialization to 802.3 xmit Date: Fri, 21 Aug 2020 10:49:20 +0200 Message-Id: <20200821084926.10650-8-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200821084926.10650-1-nbd@nbd.name> References: <20200821084926.10650-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