Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2718956rwb; Thu, 29 Sep 2022 14:09:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4wx84u2oarS+HvobjTBK5ftE9WG1Z18Ok23W3koCNK0nwUrPMGqXVrCoMQWU1qNY227Cuj X-Received: by 2002:a17:907:3f9f:b0:782:a14a:fdf9 with SMTP id hr31-20020a1709073f9f00b00782a14afdf9mr4205391ejc.49.1664485747884; Thu, 29 Sep 2022 14:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664485747; cv=none; d=google.com; s=arc-20160816; b=LxOeMPndsYRcZfddZBbtCbvC0bIzz7Il10HAXNPki7SUw5nC6xVvHrOy4m9Gk55+tA RWxqpSFLVVaMqB0MJbUQBuFKKav/aonrmik7Sfd9LJ7zbyZBvLQgmMqYMfOGf8wYbGOp 50aA/Z820khsGnkdV/8D22DU2gqti0cuMzLoDdelYQGpyO02F8XaTEgYR8n6zW/YX4FP 0dbQGK8xAitlhRGUHrvEhFLKPE66D2S36XuZgm272DnKWk7l/4zsLj65W6VGlESUnZcR /JOZnAB7VQHFjbqMzvOJKH1PO31DcQTU4TIOLw15oefj/7KisFqLD37UkMJi5iZb5mHC +43g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:dkim-signature; bh=r2A2qFAPaVr0x0VEmz7urn30WMwsOGyu18dU5FkOp6E=; b=CbBmADHAY0f9QtOEh0rFDmKBj1JKx4e2YeSKRvPVULg4rTrf2VMuSiMmKG6cF43hoT qpEFM1tc7XWdCQkpWYXDQHiO0t9/qwalzfg2uikr62EPGYFua40ayqdTA3PKKETYAaEL FXlL6ltQ9z1vWMS92RO0Y1p2L5Ru73uHgpKCZj1ontOKwdYUfYUh4uBgmLTj9vB+0B9P eYMipvGC0FmpGlW2Y1qSo64ZRsaKRvHyfWRsrZ2/zniTRO5YyO+6N149Zd/p7vqKFVDj y6mI6ogUOFj5vtBBsKjJQJWQ8zHkzY2luvqqLLYzWl5CYQVXllNkCesTGDiJzhRL+tUh kHgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=x+2tA6xe; 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=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a056402104300b00447d567a77dsi555832edu.207.2022.09.29.14.08.47; Thu, 29 Sep 2022 14:09:07 -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=@sipsolutions.net header.s=mail header.b=x+2tA6xe; 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=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229588AbiI2UlL (ORCPT + 59 others); Thu, 29 Sep 2022 16:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbiI2UlH (ORCPT ); Thu, 29 Sep 2022 16:41:07 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F6C482766 for ; Thu, 29 Sep 2022 13:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=r2A2qFAPaVr0x0VEmz7urn30WMwsOGyu18dU5FkOp6E=; t=1664484060; x=1665693660; b=x+2tA6xeTFGohhc5ZE+qIANw84zk07+d1BMYUieDor7S5tn rFE49mij8Qq6gDZLSku/BzDbyUgzofrWMBNXf17I42eC8zAo2s2QTz1ctXTTu8fXlnzyF53sm67vn xLN7Vp3yOZgiHlK4bQj+eJ/wdp6DxF34LFIBuKPbMFPqe3ZaceKdrR4xl8QJNvDyIzLf12dFb11m2 KJZWpvFgWmtOZMFb987Cp1x0YaIOqgWUKZ7K4iLGWKSwq7hezgKe04bPjroW1y/ktqQrrPnJERH50 UjkLyyS73KWNDRpTLNPGQBvAljEy/9AYUb8iY3LlCnMFMxA+psjO+3oCALg9RS7w==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1oe0L2-00BIKJ-0v; Thu, 29 Sep 2022 22:40:56 +0200 Message-ID: Subject: Re: [PATCH] wifi: mac80211: Use internal TX queues for all drivers From: Johannes Berg To: Alexander Wetzel , linux-wireless@vger.kernel.org Date: Thu, 29 Sep 2022 22:40:55 +0200 In-Reply-To: <20220926161303.13035-1-alexander@wetzel-home.de> References: <20220926161303.13035-1-alexander@wetzel-home.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Thanks for doing this! It's a bit bad timing right now, so I'll only have a chance to look at this in the next couple of weeks, but that also doesn't matter that much since 6.0 release is imminent (will likely be Sunday). Just wanted to comment on this one thing for now: On Mon, 2022-09-26 at 18:13 +0200, Alexander Wetzel wrote: > A short look at the in-tree drivers seems to confirm, that mac80211 > drivers are indeed not directly calling netif_stop_queue(). Which is no > longer undesired but outright wrong after this patch. > So I *think* we should be fine on that front, too. >=20 They really couldn't, they don't have (easy) access to the netdev. There are ways of getting to the netdev, but they're (intentionally) difficult and doing that would've been wrong even previously since mac80211 has its own reasons for stopping netdev queues sometimes. So unless a driver is already broken, this can't be an issue. > I did not try very hard to identify now obsolete code fragments and > kept this as simple as possible. That's nice enough for now, do you want to do follow-ups to clean up more? > I've also have a rough draft to move PS (multicast and unicast) to iTXQ > we should look at later. That seems to be way more invasive than what we > do here. But once PS also has been sorted out moving everything to iTXQ > should be straight forward. Ohhh! I'm excited about this :-) johannes