Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp155080lqo; Thu, 9 May 2024 16:06:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlK6Pyh4h/bZ2uYrrj7Z17I6M+zdBLc2uaG8F5tvKN/Qsn61TOvWljPwcKkZJEUzZWY2vwiPGgJ0NdcThpg+G8BC8cWiXG9dw2TUWytg== X-Google-Smtp-Source: AGHT+IE8tKMhia0qfldoKuJoDF5zMBOHcSJEVszWzT1eE5VmASzKUzWOqyRhL9299hR+7oS/1yGF X-Received: by 2002:a05:6a20:4305:b0:1af:cb73:c8f5 with SMTP id adf61e73a8af0-1afde0cabbcmr1370132637.14.1715296013382; Thu, 09 May 2024 16:06:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715296013; cv=pass; d=google.com; s=arc-20160816; b=pY2GjobBugH6ZcI0ctGvVY2/jpuh+kHArs4jMcWQ+Y0UUKHKVpK4UYNrHnQgkTl5eV fXBArZBDyohIDNKOwDsNOVOHQh2UpKFlVQyaLfZ26nlT/kt3J9yR4OQPV8sJhFAoB80M E2oyikoGtcoNpldog/S6V1BE13mQWoYL4uY7UbGYjqGQUksf+u3/lN8bpJzkzhGXND7r XdyJjYQebzYIbekpEGzCTd1/KprVqxWSACCM6CagvWNIcB963oP88iNYkKWBhJtbGglY e1KfVY2MSUFXAJxBV77+MaPO1iPKPJSk2Ff1aorVZ0LfmwKxL0b4/bm2JQSja6YQqoEZ kU6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FrQui9B6BoEIY/rh+mexhaF7aELyfYWuHXoeSmqlVL0=; fh=DpUGYHQ0Kg7qDo+hT2JcxxjZQSt7Ef3sLVvWsN9S+IA=; b=OKO6fB21eMM8RNK02RcTcAe2dCzrNeHJ/b92GeiM5fQw6pv5iF39n2gGh+M4Yb6XP9 SQOuE1MiX1zY3f2IAoDKR2CXbNAxJJfhH58PvpYpRVO+BOQ4XkgOgugUfuq08pXiz+XI jQ33j6liVHLPEmmaLYEcWDihdELYAZ4I7yy8S7R02vpYievGwdZ47Fl/Bl3IyqERKDr0 rOWHA0WT8P22gMkma3SlOEiY8KYwp6EudSVSGenC2RR5TIPY0YRNc5LoDrcmVi4J5fKm FXLkyfLXdfJsLobfrrrd0Ql0AHU1BzfT96uZFGNWEsrxxBgWK27LCG8U9CRspUW3SX7a iz1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=rtGMrxWN; arc=pass (i=1 spf=pass spfdomain=fastly.com dkim=pass dkdomain=fastly.com dmarc=pass fromdomain=fastly.com); spf=pass (google.com: domain of linux-kernel+bounces-175064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a96d5csi2287057b3a.118.2024.05.09.16.06.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 16:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=rtGMrxWN; arc=pass (i=1 spf=pass spfdomain=fastly.com dkim=pass dkdomain=fastly.com dmarc=pass fromdomain=fastly.com); spf=pass (google.com: domain of linux-kernel+bounces-175064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F155128440A for ; Thu, 9 May 2024 23:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFC3112DD9E; Thu, 9 May 2024 23:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="rtGMrxWN" Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C853B12838D for ; Thu, 9 May 2024 23:06:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715296002; cv=none; b=B0tGtfNyMf+ASY5bljnqeswmF8XGYAnLcBUXy8fs/MQqr193YA4nbjw2wamfaq/vWHNqOqjIwXEFxqPGr2sQEqbTimGjw4VnfdJbUWdZdHHIzSp7T5LprUynFzCqXVZ7WR6hmxtq3V5sEUkCE3YkcsyhoAGgZVPwiagnm6tAq9A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715296002; c=relaxed/simple; bh=Ng18fVP8U39tP/Yi0NGN1v5+V+jbpidoZX+xxyxIFck=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Po7Haq5Xc88b4zf9aIEJCTeq9DEIUGnWLuO41bdbfaMf+TBAukSOnFw4QgW49B4DNLsE1rhf8brzRhBDmoT1NxshBL5YwoSxCIMy2mIORMgdkJiDlH2N+Yt4WTWZMtNF8wPFUpgZ3jzsQb8X3mT5iNFjt4CeWbU2oIE6v43alOY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com; spf=pass smtp.mailfrom=fastly.com; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b=rtGMrxWN; arc=none smtp.client-ip=209.85.215.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastly.com Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-620e30d8f37so1190642a12.2 for ; Thu, 09 May 2024 16:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1715296000; x=1715900800; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FrQui9B6BoEIY/rh+mexhaF7aELyfYWuHXoeSmqlVL0=; b=rtGMrxWNHvsrkMZKxcoyo6lwbgezQ83jdWTAEPN9zbjUSXotTl9RE2f6Fs3xdTVffl 4uAWy+bwDKNqRWpz/eMnxUU3Bf7dopkdxgMffIbQzOWLqRfdlTk+trm0Qp4r+nNoVist KdaJUO5LS0ctg48P6RS9t3n1y2TEnO1nDikuw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715296000; x=1715900800; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FrQui9B6BoEIY/rh+mexhaF7aELyfYWuHXoeSmqlVL0=; b=aAeO1MnPVqxJ5Iq+iUeNVDe5K14V5yCSykKenHWcp5EF2N8mmtCWioKpR0Ev6oVeGC +Bw18gb6y6o/bIFBkLeJBgrA+hM+c7mmXnnNYe8VDL3hxZre6R9VlC6sbZ0M0mh9m1pB A+bRHjkDjOg6lc/IScypxNgK/w8duuJW06yHe88DjB8aRqNmjXF7fO/nyhx4GB7NRVcS 9T5AlXiIP6Zdek4jxZ9rh5DL+sRT7ciIAIxqqHbHxV1xGt9BTOJ1dcby69h/KVaIizCE VemCla4nb91CGY56mqfsDMIfcC2FAEfK5VIkGFKx+kYfsEuxooB6s9oYK7JXddADF7jx K/IQ== X-Forwarded-Encrypted: i=1; AJvYcCXlkrz9XrLIbKvhpQyuQvgcBHCIhdeRX5ucPRHLHWs79OmI/YQRkEbsg/qQXnIcyxe2wAyze0vh20jaSvE3JFmvmD+/igu1eCAK5c/E X-Gm-Message-State: AOJu0YxTjCOebQpfY+WvOm1SpWtcK5F+d7MkVYEvQkqnPaPN8vTf6QER ygfFu6mYTfZQTZJXlv44K3j3m/TJ6sX48iMzznfKu2fgwALfi6h7flqIripLUro= X-Received: by 2002:a17:90a:8a96:b0:2b2:c6f8:70b0 with SMTP id 98e67ed59e1d1-2b6cc357aefmr1012739a91.11.1715296000115; Thu, 09 May 2024 16:06:40 -0700 (PDT) Received: from LQ3V64L9R2 (c-24-6-151-244.hsd1.ca.comcast.net. [24.6.151.244]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2b695f8d058sm1186647a91.2.2024.05.09.16.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 16:06:39 -0700 (PDT) Date: Thu, 9 May 2024 16:06:36 -0700 From: Joe Damato To: Tariq Toukan Cc: Jakub Kicinski , Zhu Yanjun , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, saeedm@nvidia.com, gal@nvidia.com, nalramli@fastly.com, "David S. Miller" , Eric Dumazet , Leon Romanovsky , "open list:MELLANOX MLX5 core VPI driver" , Paolo Abeni , Tariq Toukan Subject: Re: [PATCH net-next 0/1] mlx5: Add netdev-genl queue stats Message-ID: References: <20240503022549.49852-1-jdamato@fastly.com> <20240503145808.4872fbb2@kernel.org> <20240503173429.10402325@kernel.org> <8678e62c-f33b-469c-ac6c-68a060273754@gmail.com> <05317efb-14e9-433b-b0b6-657a98500efd@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05317efb-14e9-433b-b0b6-657a98500efd@gmail.com> On Thu, May 09, 2024 at 12:42:11PM +0300, Tariq Toukan wrote: > .. > > > > The off-channels queues (like PTP) do not exist in default. So they are out > > > of the game unless you explicitly enables them. > > > > I did not enable them, but if you saw the thread, it sounds like Jakub's > > preference is that in the v2 I include the PTP stats in get_base_stats. > > > > Are you OK with that? > > Sounds good. > > > Are there other queue stats I should include as well? > > > > The QOS/HTB queues. > See mlx5e_stats_grp_sw_update_stats_qos. Sure, thanks, I can take a look. I think maybe an issue might be that if I include QOS/HTB queues then tools/testing/selftests/drivers/net/stats.py will start to fail. I could be mistaken, but it seems that QOS/HTB are not included in the rtnl stats, is that right? If the goal is for queue stats to match rtnl then maybe I should leave QOS/HTB out and they can be added to both RTNL and queue stats together at a later time.