Use external_buffer by ret_pktmbuf_attach on dpaa2 device

段世博 duanshibo.d at gmail.com
Fri Apr 18 08:19:07 CEST 2025


Hello everyone, we want to use external_buffer on the dpaa2 nic, but when I
use rte_pktmbuf_attach, the network card cannot read the content of
external_buffer correctly. When I map this external_buffer through
rte_fslmc_vfio_mem_dmamap (an internal function), the network card can read
the data normally, but I don’t know if there is a problem with this use
(some restrictions that are not considered?). If this use is legal, I hope
that developers can add dma_map and dma_unmap functions in rte_fslmc_bus,
so that memory mapping can be completed by calling rte_dev_dma_map. Thank
you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250418/345470cc/attachment-0001.htm>


More information about the dev mailing list