]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ena: add support for the large LLQ headers in ENA
authorMarcin Wojtas <mw@FreeBSD.org>
Mon, 14 Jun 2021 08:57:47 +0000 (10:57 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 24 Jun 2021 14:02:39 +0000 (16:02 +0200)
commitbeaadec9eaec8e6b266faff3b0880a141728fcef
treefa1d85339d2276a5b8b0f3394cb418837bce653b
parent438c9e3cf89403628ec237cfecdd0538f208087b
ena: add support for the large LLQ headers in ENA

Default LLQ (Low-latency queue) maximum header size is 96 bytes and can
be too small for some types of packets - like IPv6 packets with multiple
extension. This can be fixed, by using large LLQ headers.

If the device supports larger LLQ headers, the user can activate this
feature by setting sysctl tunable 'hw.ena.force_large_llq_header' to '1'
in the /boot/loader.conf file.

In case the device isn't supporting this feature, the default value (96B)
will be used.

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