linux/drivers/net/ethernet/amazon/ena
Shay Agroskin ccd143e515 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: 11095fdb71 ("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>
2020-08-19 15:32:58 -07:00
..
ena_admin_defs.h net: ena: support new LLQ acceleration mode 2020-07-21 15:59:04 -07:00
ena_com.c net: ena: support new LLQ acceleration mode 2020-07-21 15:59:04 -07:00
ena_com.h net: ena: support new LLQ acceleration mode 2020-07-21 15:59:04 -07:00
ena_common_defs.h net: ena: cosmetic: fix spacing issues 2020-05-22 14:12:48 -07:00
ena_eth_com.c net: ena: support new LLQ acceleration mode 2020-07-21 15:59:04 -07:00
ena_eth_com.h net: ena: support new LLQ acceleration mode 2020-07-21 15:59:04 -07:00
ena_eth_io_defs.h net: ena: cosmetic: fix spacing issues 2020-05-22 14:12:48 -07:00
ena_ethtool.c net: ena: cosmetic: change ena_com_stats_admin stats to u64 2020-07-21 15:59:04 -07:00
ena_netdev.c net: ena: Make missed_tx stat incremental 2020-08-19 15:32:58 -07:00
ena_netdev.h net: ena: support new LLQ acceleration mode 2020-07-21 15:59:04 -07:00
ena_pci_id_tbl.h net: ena: add reserved PCI device ID 2020-07-21 15:59:04 -07:00
ena_regs_defs.h net: ena: cosmetic: fix spacing issues 2020-05-22 14:12:48 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00