summaryrefslogtreecommitdiffstats
path: root/share/man/man4/utopia.4
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-14 15:08:11 +0000
committerharti <harti@FreeBSD.org>2003-07-14 15:08:11 +0000
commitb1f12e4ff117adb08af18da02e131947b1c43e2e (patch)
tree4336c4eeee02613de3387d4e004c692b62a0a46e /share/man/man4/utopia.4
parent0bfe551a79aad7e1b7edd92af15b87ee2b00fd13 (diff)
downloadFreeBSD-src-b1f12e4ff117adb08af18da02e131947b1c43e2e.zip
FreeBSD-src-b1f12e4ff117adb08af18da02e131947b1c43e2e.tar.gz
Document the PHY chip statistics.
Diffstat (limited to 'share/man/man4/utopia.4')
-rw-r--r--share/man/man4/utopia.424
1 files changed, 24 insertions, 0 deletions
diff --git a/share/man/man4/utopia.4 b/share/man/man4/utopia.4
index 1ee8294..42bde3f 100644
--- a/share/man/man4/utopia.4
+++ b/share/man/man4/utopia.4
@@ -107,6 +107,30 @@ IDT77155 (155MBit interface)
.El
.It Cm phy_name
This is a string describing the type of the PHY chip.
+.It Cm phy_stats
+Physical and some ATM layer statistics. These are the statistics usually
+provided by the chip. The data is a returned in the following structure:
+.Bd -literal
+struct utopia_stats1 {
+ uint32_t version; /* version of this struct */
+ uint32_t fill;
+ uint64_t rx_sbip; /* rx section BIP errors */
+ uint64_t rx_lbip; /* rx line BIP errors */
+ uint64_t rx_lfebe; /* rx line far end block errors */
+ uint64_t rx_pbip; /* rx path BIP errors */
+ uint64_t rx_pfebe; /* rx path far end block errors */
+ uint64_t rx_cells; /* received cells */
+ uint64_t rx_corr; /* correctable cell errors */
+ uint64_t rx_uncorr; /* uncorrectable cell errors */
+ uint64_t rx_symerr; /* symbol errors */
+ uint64_t tx_cells; /* transmitted cells */
+};
+.Ed
+.Pp
+The current version is 1. The statistics are updated from the chip once
+a second. On overflow the counters wrap to zero. Note that not all counters
+are meaningful for all PHY chips. The statistics are cleared by writing an
+arbitrary new value (the value is ignored).
.El
.Pp
The
OpenPOWER on IntegriCloud