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
Parents
rS361528: Fix double-free bug within ena_detach()
Branches
Unknown
Tags
Unknown