]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ena: Disable meta descriptor caching for netmap
authorArtur Rojek <ar@semihalf.com>
Thu, 12 Aug 2021 08:34:28 +0000 (10:34 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Wed, 1 Sep 2021 23:06:31 +0000 (01:06 +0200)
commita831466830de6ab55fc03170290b313157196e81
treede1ad67bf52a08e9dd7c3b1a870eb741a4dd09ef
parent986e7b9227668caf9620f207e3c1d708c87b634d
ena: Disable meta descriptor caching for netmap

If LLQ is being used, `ena_tx_ctx.meta_valid` must stay enabled. This
fixes netmap support on latest generation ENA HW and aligns it with the
core driver behavior.

As netmap doesn't support any csum offloads, the
`adapter->disable_meta_caching` value can be simply passed to the HW.

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