From 91cef6d57bcb3bc91754cb9f2605689eb71cecf4 Mon Sep 17 00:00:00 2001 From: Ahmed Karic Date: Fri, 7 Feb 2025 10:10:29 +0100 Subject: [PATCH] doc: Provide remaining mappings for eth-counters [skip ci] Fixes #770 --- doc/eth-counters.md | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/doc/eth-counters.md b/doc/eth-counters.md index 2e9e3fad..a2f96f05 100644 --- a/doc/eth-counters.md +++ b/doc/eth-counters.md @@ -6,13 +6,7 @@ This column contains the mapping between YANG and Linux / Ethtool counters. ┌─────────────────────────────────┬──────────────────────────────────┐ │ YANG │ Linux / Ethtool │ ├─────────────────────────────────┼──────────────────────────────────┤ -│ out-frames │ FramesTransmittedOK │ -├─────────────────────────────────┼──────────────────────────────────┤ -│ out-multicast-frames │ MulticastFramesXmittedOK │ -├─────────────────────────────────┼──────────────────────────────────┤ -│ out-broadcast-frames │ BroadcastFramesXmittedOK │ -├─────────────────────────────────┼──────────────────────────────────┤ -│ in-total-frames │ FramesReceivedOK, │ +│ in-total-octets │ FramesReceivedOK, │ │ │ FrameCheckSequenceErrors │ │ │ FramesLostDueToIntMACRcvError │ │ │ AlignmentErrors │ @@ -25,8 +19,23 @@ This column contains the mapping between YANG and Linux / Ethtool counters. ├─────────────────────────────────┼──────────────────────────────────┤ │ in-broadcast-frames │ BroadcastFramesReceivedOK │ ├─────────────────────────────────┼──────────────────────────────────┤ +│ in-error-fcs-frames │ FrameCheckSequenceErrors │ +├─────────────────────────────────┼──────────────────────────────────┤ │ in-error-undersize-frames │ undersize_pkts │ ├─────────────────────────────────┼──────────────────────────────────┤ -│ in-error-fcs-frames │ FrameCheckSequenceErrors │ +| in-error-oversize-frames | etherStatsJabbers, | +| | etherStatsOversizePkts | +├─────────────────────────────────┼──────────────────────────────────┤ +│ in-error-mac-internal-frames │ FramesLostDueToIntMACRcvError │ +├─────────────────────────────────┼──────────────────────────────────┤ +│ out-frames │ FramesTransmittedOK │ +├─────────────────────────────────┼──────────────────────────────────┤ +│ out-multicast-frames │ MulticastFramesXmittedOK │ +├─────────────────────────────────┼──────────────────────────────────┤ +│ out-broadcast-frames │ BroadcastFramesXmittedOK │ +├─────────────────────────────────┼──────────────────────────────────┤ +│ infix-eth:out-good-octets │ OctetsTransmittedOK │ +├─────────────────────────────────┼──────────────────────────────────┤ +│ infix-eth:in-good-octets │ OctetsReceivedOK │ └─────────────────────────────────┴──────────────────────────────────┘ ```