I see that rte_eal_get_physmem_layout is the one gets physical memory layout.
But not sure where does it get it from and if it depends on say 64bit architecture or just some config !
How do I ask SPDK/DPDK to restrict the iova and phys_addr allocation to first 128 GB of its address space ?
In short I want to restrict
dma_map.vaddr = ms[i].addr_64;
dma_map.iova = ms[i].phys_addr;
iova address which gets programmed in iommu restricted to first 128 GB of space ?
I am using ARM64 port, but it should not have anything to do with architecture anyway.