[dpdk-dev] [PATCH v5 3/8] virtio: enable use virtual address to fill desc

2016-06-01 Thread Yuanhan Liu
On Mon, May 30, 2016 at 10:55:34AM +, Jianfeng Tan wrote: > This patch is related to how to calculate relative address for vhost > backend. > > The principle is that: based on one or multiple shared memory regions, > vhost maintains a reference system with the frontend start address, >

[dpdk-dev] [PATCH v5 3/8] virtio: enable use virtual address to fill desc

2016-05-30 Thread Jianfeng Tan
This patch is related to how to calculate relative address for vhost backend. The principle is that: based on one or multiple shared memory regions, vhost maintains a reference system with the frontend start address, backend start address, and length for each segment, so that each frontend