diff options
author | Shay Agroskin <shayagr@amazon.com> | 2020-08-19 20:28:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-27 10:31:48 +0300 |
commit | da995e0a6dacf5ce59c27ea4302f94232ec8b797 (patch) | |
tree | 34b88e81ee3442e6d22627ca9edce31ba32ecbac /lib/mpi/mpi-inline.c | |
parent | 3942262b7499405223dcc219bc58cc540eb7651b (diff) | |
download | linux-da995e0a6dacf5ce59c27ea4302f94232ec8b797.tar.xz |
net: ena: Make missed_tx stat incremental
[ Upstream commit ccd143e5150f24b9ba15145c7221b61dd9e41021 ]
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: 11095fdb712b ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions