]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for the LLQv2 and WC in ENA
authormw <mw@FreeBSD.org>
Thu, 30 May 2019 13:30:52 +0000 (13:30 +0000)
committermw <mw@FreeBSD.org>
Thu, 30 May 2019 13:30:52 +0000 (13:30 +0000)
commit254fe35120784e540ff514766c317bf57dbde4fa
treeb9245bef2fa2883ac2b9ecf2e689e3d0ec7cc6d2
parent03e389ca191a8936559fb4da94dd5deaaef520a2
Add support for the LLQv2 and WC in ENA

LLQ (Low Latency Queue) is the feature, that allows pushing header
directly to the device through PCI before even DMA is triggered.

It reduces latency, because device can start preparing packet before
payload is sent through DMA.

To speed up sending data through PCI, the Write Combining is enabled,
which allows hardware to buffer data before sending them on the PCI - it
allows to reduce number of PCI IO operations.

ENAv2 is using special descriptor for the negotiation of the LLQ.
Currently, only the default configuration is supported.

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