All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] i40e and igb ethtool counters
@ 2021-04-13 19:19 Damilola Bello
  0 siblings, 0 replies; only message in thread
From: Damilola Bello @ 2021-04-13 19:19 UTC (permalink / raw)
  To: intel-wired-lan

I'd like to get a rough estimate of the follwoing: Total packets, Dropped
packets, Error packets and Successful packets (transmitted/received) all
from the ethtool.

My assumptions:

igb:
Total RX packets received from the network: "rx_packets" + "rx_errors" +
"rx_missed_errors" + ("rx_fifo_errors" - "rx_missed_errors")
Total TX packets sent by the host: "tx_packets" + "tx_errors"
Dropped RX packets: "rx_missed_errors" +  ("rx_fifo_errors" -
"rx_missed_errors")
Dropped TX packets: "tx_dropped"
RX error packets: "rx_errors"
TX error packets; "tx_errors"
Successful RX packets: "rx_packets" - ("rx_fifo_errors" -
"rx_missed_errors")
Successful TX packets: "tx_packets"

Note: igb adds the MPC ("rx_missed_errors") to "rx_fifo_errors".

i40e:
Total RX packets received from the network:
"port.rx_dropped" +"rx_packets" + "rx_dropped"  + "rx_errors"
Total TX packets sent by the host: "port.tx_dropped" + "tx_packets" +
"tx_dropped"  + "tx_errors"
Dropped RX packets: "rx_dropped"
Dropped TX packets: "tx_dropped"
RX error packets: "rx_errors"
TX error packets; "tx_errors"
Successful RX packets: "rx_packets"
Successful TX packets: "tx_packets"

I would like to know if the assumptions above are correct.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20210413/29133f5c/attachment.html>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-13 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 19:19 [Intel-wired-lan] i40e and igb ethtool counters Damilola Bello

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.