]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ena: Avoid unnecessary mbuf collapses for LLQ condition
authorArtur Rojek <ar@semihalf.com>
Thu, 12 Aug 2021 08:34:17 +0000 (10:34 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Wed, 1 Sep 2021 23:05:38 +0000 (01:05 +0200)
commitc81f8c26115a64b9a97ecdb2a64e824dd839ee73
treede77c65d22b91a487124fa80db4849c5d42b2e0e
parent6bc90e8acf884f659415a919bc9cd9cfea701e0a
ena: Avoid unnecessary mbuf collapses for LLQ condition

In case of Low-latency Queue, one small enough descriptor can be pushed
directly to the ENA hw, thus saving one fragment. Check for this
condition before performing collapse.

Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
sys/dev/ena/ena_datapath.c