Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp87895rdb; Mon, 22 Jan 2024 12:52:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFatKU55N8A/vmgLTHj+HyWo6ISeoASEjZsQyOPhRXXhdgNxz0N+T2aOIUHRy/p34uRDJpf X-Received: by 2002:a05:651c:4cf:b0:2cc:6210:1dce with SMTP id e15-20020a05651c04cf00b002cc62101dcemr2697737lji.4.1705956737995; Mon, 22 Jan 2024 12:52:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705956737; cv=pass; d=google.com; s=arc-20160816; b=PtNXk/rpWyf2qPqbYeDigfmK1xINJGw+Gg2rfhi8/y4zFFA2j1R07WSXYPY7YxT8cH wSZCjQZqmo8OgQkNAJHI1tiMvo79qjOwIR7elJVfJ6hXOI98ocFVPItvG2DqT0OHSz5c xcuCETLgQ0SyByaJm37Z+Yd13otM5kNoh/oJeUf8AEqJmYBOWmmF2Eoz+zTkZ8kJgD9Z Cqlgtd27oYqbfluCTyzfOeY7eSPKePXBwzyAn5xfcU9+JFr9N1Y4iyNIXcxiIMYMsVqq ZqspX8soxMUIzE5jP88gND9iQiYBmPE0kkUTnELVnALP3pl8tI8DeEgSFX3DSmlT106F FRJg== 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=gzGz+E73GyVV6rytZCUQtMogJ1kDCqJPVOFejEwHm/0=; fh=f93r9j6+fToCIcpXm2IeMXZCF3lhVgkw8wEaI6ecZR8=; b=uVwyuQv1iowJTRvFZ/rlw7O5nyjfk2XiTHckZzTMh0eAT2MeJybkni4/DSKTMvNw9z pEfuUAAvVWDmLLmfWX0o581hSC1Yyhenelrtkc34CJMRFX9FKQNna45//og00elzMjoi zzEwZIwh5RyJqjqmmQsJLvY7kgqmfnSY04W7LNH9gl9yPD1jaHGyHswhMO4AnsnQEBBV VdPPS0//Shm5rTGPUofCQkAz0DAAhaaJ0AJ2wOW+FcM8rQTVtGZY16XVg17DNyYXlKyJ J5QjMI6hMQavATPRm2M1IG6BaRK4lmxdYcuCa1woxIGG6aaDah3i+qt5qYh8sI3Zw9ay hlkA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPWsA64Q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-34155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y2-20020a50e602000000b00559454d10dfsi8405401edm.663.2024.01.22.12.52.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 12:52:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPWsA64Q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-34155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0D20A1F2B0D2 for ; Mon, 22 Jan 2024 20:51:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD54247A70; Mon, 22 Jan 2024 20:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EPWsA64Q" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11937405CF; Mon, 22 Jan 2024 20:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705956703; cv=none; b=qbsJFev1DMAtC2gRdEERyZ6blmuk9UdHgDGf0L79IyOPO3nps78NS4VJ31cbcL0w7BXStw8TPjX6W+0jF/kxSXlXtpgLuePucW984qWgYMOsrCvzmoyqC6bZ+KNm+YzezkH9WFuJvtZOVxW2Z+hO4Bk0ivne+1gzq1Yw2WRFQTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705956703; c=relaxed/simple; bh=kBy1Gyk4KwbMYdlczXCSVyblnX5b1/z4nvmDyE4PLA4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JCnVj8IzJgYCDvlH5Pq4arTWNAKCgwCDG8II28dLqsAvxtzWYiDFxK6HSjXEptf9edJ+YK/DFGKavAt+dFGrVIyxoPVbgFq1rFfTqcOtQuiiISY+Y95PWeZuEQuxZyUkkBDBvqj+hDVmlMxjGIyFYPcroohuKEkATzrQRf4Jxyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EPWsA64Q; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6596EC433C7; Mon, 22 Jan 2024 20:51:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705956702; bh=kBy1Gyk4KwbMYdlczXCSVyblnX5b1/z4nvmDyE4PLA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EPWsA64QiIJiR5DEKExhPQM45t/lykkdoZuwLhoV9qa+hsveaxJx69OxBa/F/lttl 8mcarfEKPnDixdfMXPTmx8P8sNxYiNicA2r/9EbkMiGkN6JNadMqgArG0N+L7Dp4LI ZMdOY8bk1HQDwQhlGiV/xjr6XXLZPsz4of0y+bEzh3Pzlr3e/mCmP1cXB7YLHD4hFX 1BLcFb2ODHKE5LBI2OX1zFMzprz3/sdPLD3t5cdDxdxEnbA8LDwoMygQjEOwCbIfdj oLY98/Kr7+ilOZkPyfeLiK9MJEPNyMW1n7Bc1d10tubvdK6pz64h1LY9AnD9sNrkVi G5SPSU89GeJcg== Date: Mon, 22 Jan 2024 20:51:37 +0000 From: Simon Horman To: Suresh Kumar Cc: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH iwl v2] i40e: print correct hw max rss count in kernel ring buffer Message-ID: <20240122205137.GH126470@kernel.org> References: <20240120072806.8554-1-suresh2514@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: <20240120072806.8554-1-suresh2514@gmail.com> On Sat, Jan 20, 2024 at 12:58:06PM +0530, Suresh Kumar wrote: > pf->rss_size_max is hardcoded and always prints max rss count as 64. > > Eg: > kernel: i40e 0000:af:00.1: User requested queue count/HW max RSS count: 104/64 > > whereas ethtool reports the correct value from "vsi->num_queue_pairs" > > Channel parameters for eno33: > Pre-set maximums: > RX: n/a > TX: n/a > Other: 1 > Combined: 104 > Current hardware settings: > RX: n/a > TX: n/a > Other: 1 > Combined: 104 <------- > > and is misleading. > > Change it to vsi->num_queue_pairs > > Signed-off-by: Suresh Kumar Hi Suresh, following-up on our earlier emails. I do think that if this it is a fix it should have a fixes tag. Which should be for the commit where the bug was first visible to users.