linux/drivers/net/ethernet/amazon/ena
Netanel Belgazal 800c55cb76 net: ena: bug fix in lost tx packets detection mechanism
check_for_missing_tx_completions() is called from a timer
task and looking for lost tx packets.
The old implementation accumulate all the lost tx packets
and did not check if those packets were retrieved on a later stage.
This cause to a situation where the driver reset
the device for no reason.

Fixes: 1738cd3ed3 ("Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-11 16:36:47 -04:00
..
ena_admin_defs.h net/ena: refactor ena_get_stats64 to be atomic context safe 2017-02-09 22:27:06 -05:00
ena_com.c net: ena: disable admin msix while working in polling mode 2017-06-11 16:36:47 -04:00
ena_com.h net/ena: use READ_ONCE to access completion descriptors 2017-02-09 22:27:06 -05:00
ena_common_defs.h
ena_eth_com.c net/ena: use READ_ONCE to access completion descriptors 2017-02-09 22:27:06 -05:00
ena_eth_com.h
ena_eth_io_defs.h
ena_ethtool.c net: ena: bug fix in lost tx packets detection mechanism 2017-06-11 16:36:47 -04:00
ena_netdev.c net: ena: bug fix in lost tx packets detection mechanism 2017-06-11 16:36:47 -04:00
ena_netdev.h net: ena: bug fix in lost tx packets detection mechanism 2017-06-11 16:36:47 -04:00
ena_pci_id_tbl.h
ena_regs_defs.h
Makefile