Cycle every payload pattern per packet and always run both directions
This commit is contained in:
+3
-4
@@ -6,10 +6,9 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Everything the driver counts against a frame the link failed to carry, split
|
||||
// by direction of travel so each counter belongs to exactly one direction: the
|
||||
// transmitting interface owns the tx fields and the receiving interface the rx
|
||||
// ones. Reading both sets off both interfaces would report every drop twice.
|
||||
// Split by direction of travel so each counter belongs to exactly one
|
||||
// direction: the transmitting interface owns the tx fields and the receiving one
|
||||
// the rx fields. Reading both sets off both interfaces double counts every drop.
|
||||
var (
|
||||
nicTxFields = []string{
|
||||
"tx_errors", "tx_dropped", "tx_fifo_errors",
|
||||
|
||||
Reference in New Issue
Block a user