Hi Liron,
Is there an external or internal API to retrieve the physical address of a packet. At least for now we haven’t seen a use case for such a function. I would like to use the linux-generic memory management implementation with hugepages. In DPDK there is : /** * A macro that returns the IO address that points to the start of the * data in the mbuf * */ #define rte_pktmbuf_iova(m) rte_pktmbuf_iova() macro returns an address based on predefined iova pointer + offset. The function for doing the actual virt to phy conversion is rte_mem_virt2iova() (or rte_mem_virt2phy()). At a quick glance this function seems quite generic and you could potentially port it to your code. Regards, Matias