From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Sanman Pradhan <sanman.p211993@gmail.com>, netdev@vger.kernel.org
Cc: alexanderduyck@fb.com, kuba@kernel.org, kernel-team@meta.com,
davem@davemloft.net, edumazet@google.com, pabeni@redhat.com,
horms@kernel.org, corbet@lwn.net, mohsin.bashr@gmail.com,
sanmanpradhan@meta.com, andrew+netdev@lunn.ch,
vadim.fedorenko@linux.dev, jdamato@fastly.com, sdf@fomichev.me,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v3] eth: fbnic: Add PCIe hardware statistics
Date: Sat, 9 Nov 2024 10:30:54 +0700 [thread overview]
Message-ID: <Zy7Xbr3_mAMhzaIh@archie.me> (raw)
In-Reply-To: <20241108204640.3165724-1-sanman.p211993@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1986 bytes --]
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@gmail.com>
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-11-09 3:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-08 20:46 [PATCH net-next v3] eth: fbnic: Add PCIe hardware statistics Sanman Pradhan
2024-11-09 3:30 ` Bagas Sanjaya [this message]
2024-11-09 17:55 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zy7Xbr3_mAMhzaIh@archie.me \
--to=bagasdotme@gmail.com \
--cc=alexanderduyck@fb.com \
--cc=andrew+netdev@lunn.ch \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jdamato@fastly.com \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mohsin.bashr@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sanman.p211993@gmail.com \
--cc=sanmanpradhan@meta.com \
--cc=sdf@fomichev.me \
--cc=vadim.fedorenko@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).