Commit ccd143e
net: ena: Make missed_tx stat incremental
Most statistics in ena driver are incremented, meaning that a stat's
value is a sum of all increases done to it since driver/queue
initialization.
This patch makes all statistics this way, effectively making missed_tx
statistic incremental.
Also added a comment regarding rx_drops and tx_drops to make it
clearer how these counters are calculated.
Fixes: 11095fd ("net: ena: add statistics for missed tx packets")
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 8b147f6 commit ccd143e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3687 | 3687 | | |
3688 | 3688 | | |
3689 | 3689 | | |
3690 | | - | |
| 3690 | + | |
3691 | 3691 | | |
3692 | 3692 | | |
3693 | 3693 | | |
| |||
4556 | 4556 | | |
4557 | 4557 | | |
4558 | 4558 | | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
4559 | 4562 | | |
4560 | 4563 | | |
4561 | 4564 | | |
| |||
0 commit comments