Artur, I don't have the details of what you are trying to achieve, but it sounds like something that is covered by IOMMU, SW or HW. The IOMMU creates an iova (I/O Virtual address) the nic can access the range is controlled with flags passed to the dma_map functions.
So I understand your question this way, How does the DPDK work with IOMMU enabled system and can you influence the mapping? On Sat, Aug 30, 2014 at 4:03 PM, Thomas Monjalon <thomas.monjalon at 6wind.com> wrote: > Hello, > > 2014-08-29 18:40, Saygin, Artur: >> Imagine a PMD for an FPGA-based NIC that is limited to accessing certain >> memory regions <system, PCI, etc>. > > Does it mean Intel is making an FPGA-based NIC? > >> Is there a way to make DPDK use that exact memory? > > Maybe I don't understand the question well, because it doesn't seem really > different of what other PMDs do. > Assuming your NIC is PCI, you can access it via uio (igb_uio) or VFIO. > >> Perhaps this is more of a hugetlbfs question than DPDK but I thought I'd >> start here. > > It's a pleasure to receive new drivers. > Welcome here :) > > -- > Thomas