[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241107102044.4e5ba38f@kernel.org>
Date: Thu, 7 Nov 2024 10:20:44 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Sanman Pradhan <sanman.p211993@...il.com>
Cc: netdev@...r.kernel.org, alexanderduyck@...com, kernel-team@...a.com,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
horms@...nel.org, corbet@....net, mohsin.bashr@...il.com,
sanmanpradhan@...a.com, andrew+netdev@...n.ch, vadim.fedorenko@...ux.dev,
jdamato@...tly.com, sdf@...ichev.me, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] eth: fbnic: Add PCIe hardware statistics
On Wed, 6 Nov 2024 18:05:55 -0800 Sanman Pradhan wrote:
> + FBNIC_HW_STAT("pcie_ob_rd_tlp", pcie.ob_rd_tlp),
> + FBNIC_HW_STAT("pcie_ob_rd_dword", pcie.ob_rd_dword),
> + FBNIC_HW_STAT("pcie_ob_wr_tlp", pcie.ob_wr_tlp),
> + FBNIC_HW_STAT("pcie_ob_wr_dword", pcie.ob_wr_dword),
> + FBNIC_HW_STAT("pcie_ob_cpl_tlp", pcie.ob_cpl_tlp),
> + FBNIC_HW_STAT("pcie_ob_cpl_dword", pcie.ob_cpl_dword),
> + FBNIC_HW_STAT("pcie_ob_rd_no_tag", pcie.ob_rd_no_tag),
> + FBNIC_HW_STAT("pcie_ob_rd_no_cpl_cred", pcie.ob_rd_no_cpl_cred),
> + FBNIC_HW_STAT("pcie_ob_rd_no_np_cred", pcie.ob_rd_no_np_cred),
Having thought about this a bit longer I think Andrew's point is valid.
Let's move these to a debugfs file. Sorry for the flip flop.
Powered by blists - more mailing lists