[dpdk-dev] [PATCH v2 2/7] vhost: get guest/host physical address mappings

2016-09-26 Thread Maxime Coquelin
On 09/23/2016 06:13 AM, Yuanhan Liu wrote: > So that we can convert a guest physical address to host physical > address, which will be used in later Tx zero copy implementation. > > MAP_POPULATE is set while mmaping guest memory regions, to make > sure the page tables are setup and then rte_mem_v

[dpdk-dev] [PATCH v2 2/7] vhost: get guest/host physical address mappings

2016-09-23 Thread Yuanhan Liu
So that we can convert a guest physical address to host physical address, which will be used in later Tx zero copy implementation. MAP_POPULATE is set while mmaping guest memory regions, to make sure the page tables are setup and then rte_mem_virt2phy() could yield proper physical address. Signed