Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1292972rwn; Thu, 15 Sep 2022 13:25:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Vi1UBTCVp+yzfMn0dks1uo07f0DleXwcdrE1QE/0ZpmU661YQb+mYVLMEFIfsZJtdvtdA X-Received: by 2002:a05:6402:c8a:b0:44e:81b3:4b7e with SMTP id cm10-20020a0564020c8a00b0044e81b34b7emr1345249edb.181.1663273529186; Thu, 15 Sep 2022 13:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663273529; cv=none; d=google.com; s=arc-20160816; b=ZwikqicNlXuf6n8T+KH8RiSwktTr6cKqwOT0h8hfF/pJpKpwtoStYV9juDiOXT4z44 cLb0KsKwL0DMqdjkAO+Sup9o6mWZJM14JsGRHQJQo7iK1Oiu+yVcjM6/3893mp9Q6Y0+ RSxIIuk1GMQMBfxLXqrzfNYNHb7pcYFJV0gAVA63j3I77FKnPQ68BAvYQE+YvzgmFMXH DKfMZIslLHyJySk14DL5Pl8F4ITgy5Glh2WeDvlhD9nFYNjiROU2ZBkonBw2uhKWapU9 mzBsrUaBq9KpE1UoMD9qkxlE+jpp2KzwNb4oIBZrKZlF1JMUySVaAKGb4pRrxSIF00L7 K+9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :dkim-signature:message-id; bh=VS5kH1wPKsK4z+yXdxGe1FZxoJVtS8RlGMyMA9kMFD4=; b=LO681fgqJA3mPv1Q3HyAy2/F3WXj4MADn4JYy56NeTY974Lf+OgFqyqpo9tCQHw0a8 HmLM1ucccBo+1cajRHzXegWii/T3rEhswzo5hODfO7BKUwY+H1a2tLKdpZshKgqTIkRM kr8kZo2YUWAmFN3pG14myuVLXUrmXV6XMKNziD6NN4BXgGIVLarnvGSyGT3vaRgSpb8Y UBhXagoxe6vJ4lxwwDR4gMvBkTtY+DsQiZChscbGpH0ZaqQc7PU4YJLeNZNk8Kp+VaWD JqylqWQZYUzO8YpB9AULFi9+N2DeZinHr5pgHWxiZgsvVcfcr2sYrCo/5eQMik4YhRfH iEZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wetzel-home.de header.s=wetzel-home header.b=P8LF1CVa; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wetzel-home.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l21-20020a170906795500b0077cecf89064si6492139ejo.512.2022.09.15.13.25.12; Thu, 15 Sep 2022 13:25:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wetzel-home.de header.s=wetzel-home header.b=P8LF1CVa; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wetzel-home.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229572AbiIOUGe (ORCPT + 64 others); Thu, 15 Sep 2022 16:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiIOUGc (ORCPT ); Thu, 15 Sep 2022 16:06:32 -0400 Received: from ns2.wdyn.eu (ns2.wdyn.eu [IPv6:2a03:4000:40:5b2::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 93C2C11445 for ; Thu, 15 Sep 2022 13:06:31 -0700 (PDT) Message-ID: <0b342479-d04a-a45e-d63b-73eec5a1fb40@wetzel-home.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wetzel-home.de; s=wetzel-home; t=1663272390; bh=o7pMeYcMjjffyMsphdFRR/kql+yXELOaqNXTPk8EYKY=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=P8LF1CVad9w/hqnj7qZC38PJpX/i5q0WWsM88UcqbWSvOpG8xMkl9As926CboTRXr x6Uaz/l/7DA5tqPiOm9vacsO9wCdUT9rzlMVgnYGI9X6yz5ZPX697GtaZmyHgWKTnG RLWSmjQxGB1hB+jjJprgpBOzjVYf5fnugG+v+p9c= Date: Thu, 15 Sep 2022 22:06:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH] mac80211: Ensure vif queues are operational after start Content-Language: en-US From: Alexander Wetzel To: Felix Fietkau , linux-wireless@vger.kernel.org Cc: Johannes Berg References: <20220915130946.302803-1-alexander@wetzel-home.de> <26e9ae91-8e13-df45-815c-cb45c1911032@nbd.name> <9e36f219-14a6-8960-a5fd-cb9f708237ed@wetzel-home.de> In-Reply-To: <9e36f219-14a6-8960-a5fd-cb9f708237ed@wetzel-home.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > > I've got some doubts that my fix is correct... > While it fixes the problem in my tests it looks like we'll need another > queue restart to get the queues working again. > > After all IEEE80211_TXQ_STOP_NETIF_TX will not be cleared when it has > been set by __ieee80211_stop_queue(). > > I'll update the patch and skip setting vif.txqs_stopped when > SDATA_STATE_RUNNING is not set. Not having IEEE80211_TXQ_STOP_NETIF_TX > set looks harmless, having it set when it should less problematic... Scratch that: The patch should be ok as it is: IEEE80211_TXQ_STOP_NETIF_TX is not set on stop, the patch should be ok as it is. Sorry for the noise. Alexander