opnsense-src/sys/dev/ena
Marcin Wojtas efe6ab18da Check for Rx ring state to prevent from stall in the ENA driver
In case when Rx ring is full and driver will fail to allocate Rx mbufs,
the ring could be stalled.

Keep alive is checking every second for Rx ring state, and if it is full
for two cycles, then trigger rx_cleanup routine in another thread.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Reviewed by: byenduri_gmail.com
Obtained from: Semihalf
Sponsored by: Amazon, Inc.
Differential Revision: https://reviews.freebsd.org/D12856
2017-11-09 11:48:22 +00:00
..
ena.c Check for Rx ring state to prevent from stall in the ENA driver 2017-11-09 11:48:22 +00:00
ena.h Check for Rx ring state to prevent from stall in the ENA driver 2017-11-09 11:48:22 +00:00
ena_sysctl.c Check for Rx ring state to prevent from stall in the ENA driver 2017-11-09 11:48:22 +00:00
ena_sysctl.h