Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1239681ybl; Fri, 23 Aug 2019 16:00:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxs2QixYHWdF6af5teQuBS4kPoeMm1qA+x1KtvvRQ/IavvQT81qh8Pc6bxuJ6MHpl55xMYf X-Received: by 2002:a65:68c8:: with SMTP id k8mr5916920pgt.192.1566601235036; Fri, 23 Aug 2019 16:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566601235; cv=none; d=google.com; s=arc-20160816; b=OQ5dKCdtYJGm6e8sagWuvX+I3OgVXnSEXdPNjQSqdsSxLZYX8um+NsqYKm+TMn5aAS nbF0AGjwCrPC14xVl7G0o9nfXvAVGoqYAfwP+23NVyrlRPUgtcqMAzTDJjQnVYUi2CRL 6IwCUcltFLdr0qDHl0/JnVi60jwBuqfAdKOILcqJC/YNEZAn9zlAMvqWWoRqJNz2DLLB aC7YgFveSyEearq74xHNDa3ifrckIk86msq/mp8mDGpy3vkoqt55OHaI5nz0h20bkea3 w+2aPqOXx6pVVM5IniUCvVxflVx8yQPc/X0C1ZkF5E3rLffyK8dBYIEjL/H4FgKpjI9d v2Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QiUjsDLRUFkIVeUxGtukIO1lURZCTY/aw/ik6sdERds=; b=FokklHJtsgFsEOkQVnbSvpwOkiDG87jKEA0Yj39TvOyBlEk8oLOvv+u+rACAfoEic9 5rQUdAQWiU/zrktggehFXCxW6KN2u/wVEivXFuGD9VYCLXbhKu4NGVgr6o1q+DL5xLyE B6RtR++7F//4KTFNyz2JyDqUsQKNDcJqiiVNo7Ehf/UgIpEeR/VLXSs+Pml6BGsxPr2S 2n4VxHks9pFLx6EZrKzldQ82ShLGf+TGaQ42NeYSTJjU96aSSVQZuvNiv6s+l+eWboQ2 RkgDsI1kX4lgzPimC2ubaN0umRLYLyL1w7kzcVLjeBl0e0hoyWMiX4O7+gpaVGXO6TwQ H6Bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v34si3814036plg.232.2019.08.23.16.00.06; Fri, 23 Aug 2019 16:00:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390347AbfHWKUl (ORCPT + 99 others); Fri, 23 Aug 2019 06:20:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33646 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733285AbfHWKUk (ORCPT ); Fri, 23 Aug 2019 06:20:40 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AC49A7F74C; Fri, 23 Aug 2019 10:20:40 +0000 (UTC) Received: from localhost (unknown [10.43.2.236]) by smtp.corp.redhat.com (Postfix) with ESMTP id F2AF461785; Fri, 23 Aug 2019 10:20:37 +0000 (UTC) Date: Fri, 23 Aug 2019 12:20:37 +0200 From: Stanislaw Gruszka To: Felix Fietkau Cc: linux-wireless@vger.kernel.org, Lorenzo Bianconi , Ryder Lee , Roy Luo Subject: Re: [PATCH 1/3] mt76: remove redundant mt76_txq_schedule_all Message-ID: <20190823102036.GA6523@redhat.com> References: <1566550337-6287-1-git-send-email-sgruszka@redhat.com> <1566550337-6287-2-git-send-email-sgruszka@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Fri, 23 Aug 2019 10:20:40 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, Aug 23, 2019 at 11:27:41AM +0200, Felix Fietkau wrote: > On 2019-08-23 10:52, Stanislaw Gruszka wrote: > > Waking tx queues will cause that txq's will be scheduled. Calling > > mt76_txq_schedule_all() while queues are blocked is not necessary. > > We will not get any skb's from ieee80211_tx_dequeue() anyway, but > > patch changes that transmit of mtxq->retry_q skb's will be a bit > > deferred (on the moment after channel switch or other situation > > when we wake up queues). > > > > Signed-off-by: Stanislaw Gruszka > Waking tx queues will not always cause txqs to be scheduled - only if an > attempt to dequeue was blocked because queues were stopped at that time. > Because of that, I don't think this patch is correct. Ok, please drop it. Stanislaw