]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check for missing MSI-x and Tx completions in ENA
authorMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 May 2019 13:16:56 +0000 (13:16 +0000)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 May 2019 13:16:56 +0000 (13:16 +0000)
commitd12f7bfc1746d03ffa1f24efd5fb95d38cc42bab
treeb3cf3151a0fe1bc907471d378f7efa1665d83221
parent8ece6b25de0937571fe58e131702939befb9278c
Check for missing MSI-x and Tx completions in ENA

If the first MSI-x won't be executed, then the timer service will detect
that and trigger device reset.

The checking for missing Tx completion was reworked, so it will also
check for missing interrupts. Checking number of missing Tx completions
can be performed after loop, instead of checking it every iteration.

Submitted by:  Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Amazon, Inc.
sys/dev/ena/ena.c
sys/dev/ena/ena.h