]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add additional doorbells on ENA Tx path
authormw <mw@FreeBSD.org>
Thu, 30 May 2019 13:33:31 +0000 (13:33 +0000)
committermw <mw@FreeBSD.org>
Thu, 30 May 2019 13:33:31 +0000 (13:33 +0000)
commit51da73fff690ab636748ef0dc941c08f1e62a883
treef5a40c8fcb6c924816fb21216205c91b6a8177c4
parentf67319fb3168530887ba370ba2ab9414e78ca5ae
Add additional doorbells on ENA Tx path

The new ENA HAL is introducing API, which can determine on Tx path if
the doorbell is needed.

That way, it can tell the driver, that it should call an doorbell.
The old threshold value wasn't removed, as not all HW is supporting this
feature - so it was reworked to also work with the new API.

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