[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zy7Xbr3_mAMhzaIh@archie.me>
Date: Sat, 9 Nov 2024 10:30:54 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Sanman Pradhan <sanman.p211993@...il.com>, netdev@...r.kernel.org
Cc: alexanderduyck@...com, kuba@...nel.org, 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 v3] eth: fbnic: Add PCIe hardware statistics
On Fri, Nov 08, 2024 at 12:46:40PM -0800, Sanman Pradhan wrote:
> diff --git a/Documentation/networking/device_drivers/ethernet/meta/fbnic.rst b/Documentation/networking/device_drivers/ethernet/meta/fbnic.rst
> index 32ff114f5c26..13ebcdbb5f22 100644
> --- a/Documentation/networking/device_drivers/ethernet/meta/fbnic.rst
> +++ b/Documentation/networking/device_drivers/ethernet/meta/fbnic.rst
> @@ -27,3 +27,29 @@ driver takes over.
> devlink dev info provides version information for all three components. In
> addition to the version the hg commit hash of the build is included as a
> separate entry.
> +
> +PCIe Statistics
> +---------------
> +
> +The fbnic driver exposes PCIe hardware performance statistics through debugfs
> +(``pcie_stats``). These statistics provide insights into PCIe transaction
> +behavior and potential performance bottlenecks.
> +
> +Statistics Categories
> +
> +1. PCIe Transaction Counters:
> +
> + These counters track PCIe transaction activity:
> + - pcie_ob_rd_tlp: Outbound read Transaction Layer Packets count
> + - pcie_ob_rd_dword: DWORDs transferred in outbound read transactions
> + - pcie_ob_wr_tlp: Outbound write Transaction Layer Packets count
> + - pcie_ob_wr_dword: DWORDs transferred in outbound write transactions
> + - pcie_ob_cpl_tlp: Outbound completion TLP count
> + - pcie_ob_cpl_dword: DWORDs transferred in outbound completion TLPs
> +
> +2. PCIe Resource Monitoring:
> +
> + These counters indicate PCIe resource exhaustion events:
> + - pcie_ob_rd_no_tag: Read requests dropped due to tag unavailability
> + - pcie_ob_rd_no_cpl_cred: Read requests dropped due to completion credit exhaustion
> + - pcie_ob_rd_no_np_cred: Read requests dropped due to non-posted credit exhaustion
The docs LGTM, thanks!
Reviewed-by: Bagas Sanjaya <bagasdotme@...il.com>
--
An old man doll... just what I always wanted! - Clara
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists