Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp969222pxb; Fri, 13 Aug 2021 10:17:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjuAg1eUnzK0t/XuUrAqid3PCOa2KSbTgGNy31EQAWe87KG6GOPX3JZAjBxULkKW4uKR05 X-Received: by 2002:a02:9696:: with SMTP id w22mr3289252jai.119.1628875045009; Fri, 13 Aug 2021 10:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628875045; cv=none; d=google.com; s=arc-20160816; b=VEmVQK2QmtmlmulNK4bgysqojprtxsA9tRBOYAC4pK6NKdok10Zwh8LAt9b5GSn0W0 zevKiLuSgONiQJhPntqtfzaWSLAtU19yD+BXzKrzD3dslRubE+VVnRBMC2bzENdnqZko D0w11wDW65xlvCYH3hjcikBE6DTOADPB/YrFye8hyfwAARWgI0sKzgevieQxz9XoCGcl RYcKRwnuktmAciV7ji+xNQy5WcXz7qe7C+D9nN93Vmj7YZhvGG+4AqZ5gq2FimCtEbJs QxVeLNrVNpGO7XUoHKfhiMYT9mfzIY6Zg1ZWFfa5OY+P+L8KnajLUch6ImRUMkUJaQIh Qyxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=BUINg8Hpu6n9zV7Lxgu3Uh6X75DxFjgbgF9AjtIXSHU=; b=qVoUzbgeXiLoOxTktMoA2dfe4s5ahmceu6Ffk5ARuw2SVVi2rzUZOeJhHQ8sPuqq+B YCFNEwGSN8uW8zWVcY9W2yTmuLg4Wlp8A5LcFo4o8WQ0PxdVfZrL8tMifF1H/mA0ZVjy L3saROVr5av6eG9uIVoFzOfRFPsufwfvr2lR0HilKkRRZOHmY68j92+5KcQmjmW3K2C+ c6HM61KYOAR1/FxmeThBZiketHp1dROv4ArRLZ1kWiisQU+y8d7+8OxD/RsMJkbGysUk d7nHE+ikf58gqD4DEGwTuXf1jftT/7Ny5APEyaihGO9zOS3Z2juRFf5tNJl3WjtccQKm Je0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Yq3vSPbb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m16si2300258jat.17.2021.08.13.10.17.11; Fri, 13 Aug 2021 10:17:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Yq3vSPbb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbhHMRQe (ORCPT + 99 others); Fri, 13 Aug 2021 13:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbhHMRQe (ORCPT ); Fri, 13 Aug 2021 13:16:34 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C97ABC061756 for ; Fri, 13 Aug 2021 10:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BUINg8Hpu6n9zV7Lxgu3Uh6X75DxFjgbgF9AjtIXSHU=; b=Yq3vSPbbuM4vjrCkRUccCugDhA dhpDkzqgjxIzLtdSxVotEALEY5hIsB9pTeikY4e0CD5rbV9wEnfW1Dgb4juuO6zCkn3s9UbFk8dh4 C91vZZaHL2dpD4EM47f9EuFvY8QszTpYwNkRZ+D4EK57tzz+oQsx5mddcw/auJyfAJPU=; Received: from p4ff13206.dip0.t-ipconnect.de ([79.241.50.6] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mEamr-0001vN-9P; Fri, 13 Aug 2021 19:16:05 +0200 Subject: Re: [PATCH v5 05/11] mt76: mt7915: debugfs hook to enable TXS for NO_SKB pkt-ids To: greearb@candelatech.com, linux-wireless@vger.kernel.org References: <20210804134505.3208-1-greearb@candelatech.com> <20210804134505.3208-5-greearb@candelatech.com> From: Felix Fietkau Message-ID: <02b63c52-9b34-b374-fa43-6e2148f3616d@nbd.name> Date: Fri, 13 Aug 2021 19:16:04 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210804134505.3208-5-greearb@candelatech.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-08-04 15:44, greearb@candelatech.com wrote: > From: Ben Greear > > This lets user turn on/off this feature. Enabling gives better > tx-rate related stats, but will cause extra driver and (maybe) > firmware work. Not sure if it actually affects performance or > not. > > Signed-off-by: Ben Greear > --- > .../wireless/mediatek/mt76/mt7915/debugfs.c | 24 +++++++++++++++++++ > .../net/wireless/mediatek/mt76/mt7915/mac.c | 3 ++- > .../wireless/mediatek/mt76/mt7915/mt7915.h | 5 ++++ > 3 files changed, 31 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c > index 91664ac63a8d..6be194f16548 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c > +++ b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c > @@ -344,6 +367,7 @@ int mt7915_init_debugfs(struct mt7915_dev *dev) > mt7915_queues_acq); > debugfs_create_file("tx_stats", 0400, dir, dev, &mt7915_tx_stats_fops); > debugfs_create_file("fw_debug", 0600, dir, dev, &fops_fw_debug); > + debugfs_create_file("txs_for_no_skb", 0600, dir, dev, &fops_txs_for_no_skb); I think this is a rather confusing name. Maybe "force_txs"? - Felix -