HomeFreeBSD

Refactor ena_tx_map_mbuf() function

Description

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.

Details

Provenance
mwAuthored on May 26 2020, 4:05 PM
Parents
rG9bf7da951718: Fix double-free bug within ena_detach()
Branches
Unknown
Tags
Unknown

Event Timeline