Received: by 2002:a17:90a:9307:0:0:0:0 with SMTP id p7csp5142370pjo; Tue, 11 Feb 2020 04:48:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwARU5ZgulutP2TRhdZ7DNnJkq2Pco5PKRa0eWVrmqWP5047ZP8kKvKILhYan3dIdt5ov4h X-Received: by 2002:a05:6830:139a:: with SMTP id d26mr5229650otq.75.1581425294821; Tue, 11 Feb 2020 04:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581425294; cv=none; d=google.com; s=arc-20160816; b=0mnbmiRV8p0/oSmeQ2Cvv7yixaQ9mZQrSsm6/0KneUVQlSALK4PGZWEoTTeUA2bK+W vq67yekpGRR7d9fyE4Vv6QthIfFKZjGPL914y3E+xWM18u0s4L5Od8KxWYvqxzX+Oq7w YLZLa6cz69DCZGZZjkI8HPYsv77iFo/yCYUOBr5NIWvawcX9hIoep4Z7CwXpE+Z8NjUC vN6i3PKM/6/lE4fj0tDjhUSbUzvnw+krLXzYnZOyW0FbCQkPgPbRTgB7f4vSEyXZjSvC QW1U+OFHJxeOdJ2YLx23oXJWCJ3IfUCAbeBDsfP6lX4RriSE4h7apCCF1ZMgXcJxgiL0 LXyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=hiPuXTgOHcXJNGa52VHxpCYWhKoBCevG6OXwx0R0HvY=; b=MrQMvF42pJfe2SflOUEsqmCXNXKTs6WYA2XGqmes3PTzgNVIW4v5kOg/oI0xdTgXwf ZrWmqb6nHr1RrS3kMFvJIXB35Uzm1KMn+39D7un1Id/jyOs9tGT8J89KgteNPK3SjtVw 9qt4nO7s3KLxAbDbFjXRwDQymU8MWwScLwfd9YRPPVpNwvJCPr6D86N+jouxKZ+vSW8H Wp/LNxzbIqX5S9gaDB2NiLyrQ7ioS0C55UhQ+jAh2nqk3fj2XaUz7iJdkpG1TvFLDg10 L4+uS8zGIuqOJAjApvOmVpfpDC9MfmgrB1E3/6UwO0syE8CcR6CN+qN+dmWqfjmAMTQC AQAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MF4/dqew"; 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=pass (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 4si1539017oip.107.2020.02.11.04.48.02; Tue, 11 Feb 2020 04:48:14 -0800 (PST) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MF4/dqew"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728378AbgBKM3u (ORCPT + 99 others); Tue, 11 Feb 2020 07:29:50 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:54511 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728352AbgBKM3u (ORCPT ); Tue, 11 Feb 2020 07:29:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581424189; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hiPuXTgOHcXJNGa52VHxpCYWhKoBCevG6OXwx0R0HvY=; b=MF4/dqewO2FlR9u67VHefBi1nL13GkayhkURjI68T3m6et3x5KFQmX1zPG//0UHG+vwDaX IabaL9rmg3vd5LA/9N6MR9RdO2wGrN5KZ/lt+KE5IVnSu7mX5ZECykJyW3kvptAiuvuTd3 0Q6CFF3F3ho58/wIccVXOSQHzgG3FtE= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-349-E6V1fP4OO2ivfyLsfbF-hg-1; Tue, 11 Feb 2020 07:29:47 -0500 X-MC-Unique: E6V1fP4OO2ivfyLsfbF-hg-1 Received: by mail-lj1-f197.google.com with SMTP id j21so3689017lji.12 for ; Tue, 11 Feb 2020 04:29:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=hiPuXTgOHcXJNGa52VHxpCYWhKoBCevG6OXwx0R0HvY=; b=uatR4AOQ5NbwnHmbxRu/ZDoa7URyeZhN9nTdUqCiLHFzEs3AiRrNCCoWDPpQjiuV5G N9/UEqugxGWwRAguk9plGDxH60apMtBK/Te89dGIQScfs6UukCHDFPRIYaVYZKwvRUId PgBdXhPwzYUfKh2PkUap3Lg7hRAr6/lpYPs7nLmNjYEDy5RRjKzlQm4GgCeuD12kU6vw KXEyIpdXPZkUS6ieHTzLdAPiaCvPT3QBReCWr86wqz4P3jk7182x5rv/axyxblI75HwM hGgiVB30S78jZ1b57hoZcV0noMgPRXVQW3ImGqY+acnIuVj84dtZ7NttH/GJk6LLGF9M IErA== X-Gm-Message-State: APjAAAX+yUiTSLA2sP0f/aSllEMbV7rGTITkgMzAsMR7Clw6tQcaoEGu 4tiDHwd7F690SypCqxaAVjvQhM6I8MORGe1efQu8h4uGiDaf1dt8zo2ONbV7T6y1jCNe7W5LgIt QMOpzfQCle7NDpDUGH5jW7T04pVk= X-Received: by 2002:a19:4208:: with SMTP id p8mr3533558lfa.160.1581424185787; Tue, 11 Feb 2020 04:29:45 -0800 (PST) X-Received: by 2002:a19:4208:: with SMTP id p8mr3533548lfa.160.1581424185570; Tue, 11 Feb 2020 04:29:45 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id r2sm2190813lff.63.2020.02.11.04.29.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 04:29:44 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 27CBF180365; Tue, 11 Feb 2020 13:29:44 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: John Crispin , Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Subject: Re: [PATCH 1/2] mac80211: allow setting queue_len for drivers not using wake_tx_queue In-Reply-To: <20200211122605.13002-1-john@phrozen.org> References: <20200211122605.13002-1-john@phrozen.org> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 11 Feb 2020 13:29:44 +0100 Message-ID: <87eev1b93b.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org John Crispin writes: > Currently a mac80211 driver can only set the txq_limit when using > wake_tx_queue. Not all drivers use wake_tx_queue. This patch adds a new > element to wiphy allowing a driver to set a custom tx_queue_len and the > code that will apply it in case it is set. The current default is > 1000 which is too low for ath11k when doing HE rates. Fine, but we should really fix ath11k to do something smarter than a fixed queue len... 4096 packets is 6 seconds of queueing at 8Mbps :/ -Toke