HomeFreeBSD

Check for Rx ring state to prevent from stall in the ENA driver

Description

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

Details

Provenance
mwAuthored on Nov 9 2017, 11:48 AM
Parents
rG43fefd1629ab: Add RX OOO completion feature
Branches
Unknown
Tags
Unknown

Event Timeline