Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2346448ybx; Fri, 8 Nov 2019 03:06:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzAPYaZr5cWnskAnAvtcEE/OhviGddCyHbTJ8GREy27ZhuLiLF85XpXVSTUAkeL3mUnHV4C X-Received: by 2002:aa7:cdc6:: with SMTP id h6mr9302892edw.15.1573211212216; Fri, 08 Nov 2019 03:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573211212; cv=none; d=google.com; s=arc-20160816; b=u1dDAQRXwFcisBYYfaI5YFqxW3vOS+vEnK32fDVKeBm/wHf+i4ZrLCKcxYgMUeMi5s mcSAR4UEh4YUlQKZy8h2wWhvc5Mz1CXQEFI9P3LRanZHEZbpxRvrQSM/G4Hn/VGUJ+Ua SdBh/XmOB2c3PlTx2UJW8mayc7aPI3AgbjrOpU5pfgy6wCvFF5JiPs87r+8B9YOKXP8+ mAbVUiNh7r9Q7MmVGJe9tzs5qnan+7mxm8H1G190PsZ/JVqFU54ACJKFQWW1b3ZCplMA 1MH0AJYQHsQQ6t8r1te9faQ7JpyMyQljoK769QKZFd8Qal9O9cmaRkd4GbZxlCm/KwNc wmSA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=w0WTUGtBINWsFSjFahuBrc73rd2Mr2grENEBM+OjWfw=; b=qkEo9Qe+AxTAiuP+MMkwTqZlxV3QNmDiWSgtELWJX9AnbJPFLl41VElQm9hAEA8gnb tUwEXlqJoNm4XHIPJj2+HmQiVEXYbCyBmgHqmatzcMg9Wmes/BvZ62kOX3EJaYkhYZSf 8BCWfror1INyojEXjun0bgCnw0se7dYg2MXe9VWAG/YJR9I4NC79/F7coEiBhsMnnF6Z G92BdQorTvy3U665PqwXDea5J3AwfZiW9880B7SEW5X8zbQ13nO0D5JwuFOurcoiulc2 ngx+hJBHsQbS5eodSEIYLEKDwoPRj06YIPj/95qGuSrnQTYzNqRVwiUK/20euX471PrO ojDQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4si3342547ejb.386.2019.11.08.03.06.27; Fri, 08 Nov 2019 03:06:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731854AbfKHLFQ (ORCPT + 99 others); Fri, 8 Nov 2019 06:05:16 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:55324 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731784AbfKHLFQ (ORCPT ); Fri, 8 Nov 2019 06:05:16 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1iT24o-0000J9-9W; Fri, 08 Nov 2019 12:05:14 +0100 Message-ID: Subject: Re: [PATCH v6 4/4] mac80211: Use Airtime-based Queue Limits (AQL) on packet dequeue From: Johannes Berg To: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= Cc: linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, ath10k@lists.infradead.org, John Crispin , Lorenzo Bianconi , Felix Fietkau , Kan Yan , Rajkumar Manoharan , Kevin Hayes Date: Fri, 08 Nov 2019 12:05:12 +0100 In-Reply-To: <877e4afx83.fsf@toke.dk> References: <157182473951.150713.7978051149956899705.stgit@toke.dk> <157182474399.150713.16380222749144410045.stgit@toke.dk> <0b43c4822ab83ea4d33a5a32d8ff6c7a56eff6c5.camel@sipsolutions.net> <877e4afx83.fsf@toke.dk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) 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 On Fri, 2019-11-08 at 12:01 +0100, Toke Høiland-Jørgensen wrote: > > My reasoning for doing it this way was that we have another set of APIs > dealing with airtime which doesn't do any shifting; so keeping the APIs > in the same unit (straight airtime) seemed less confusing. Fair enough. > We could add (inline) setter and getter functions for the tx_time_est > field instead to avoid sprinkling shifts all over the place? :) It doesn't really bother me that much, but yeah, perhaps that's easier. johannes