]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Refactor ena_tx_map_mbuf() function
authorMarcin Wojtas <mw@FreeBSD.org>
Tue, 26 May 2020 16:05:42 +0000 (16:05 +0000)
committerMarcin Wojtas <mw@FreeBSD.org>
Tue, 26 May 2020 16:05:42 +0000 (16:05 +0000)
commit7381a86f4702fee1272c59c7aa660e6463a1e1f5
treece6584fe69d4fec0a8e2fed8f65a0d8032b562fe
parent9bf7da95171833e01b97f197a737f42a352e0e99
Refactor ena_tx_map_mbuf() function

There is no guarantee from bus_dmamap_load_mbuf_sg() for matching
mbuf chain segments to dma physical segments.

This patch ensure correctly mapping to LLQ header and DMA segments.

Submitted by: Ido Segev <idose@amazon.com>
Obtained from: Amazon, Inc.
sys/dev/ena/ena_datapath.c