[dpdk-dev] [PATCH 05/12] lib/librte_vhost: copy host_memory_map from virtio-net.c to a new file virtio-net-cdev.c

2015-01-31 Thread Xie, Huawei
> > + * map it to our address space. > > + */ > > +static int > > +host_memory_map(struct virtio_net *dev, struct virtio_memory *mem, > > + pid_t pid, uint64_t addr) > > +{ > > Hi Xie, > > This patch only copy host_memory_map() to a new file. > And actually the original function is removed at

[dpdk-dev] [PATCH 05/12] lib/librte_vhost: copy host_memory_map from virtio-net.c to a new file virtio-net-cdev.c

2015-01-30 Thread Tetsuya Mukawa
On 2015/01/30 15:36, Huawei Xie wrote: > Signed-off-by: Huawei Xie > --- > lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 258 > ++ > 1 file changed, 258 insertions(+) > create mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.c > > diff --git

[dpdk-dev] [PATCH 05/12] lib/librte_vhost: copy host_memory_map from virtio-net.c to a new file virtio-net-cdev.c

2015-01-30 Thread Huawei Xie
Signed-off-by: Huawei Xie --- lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 258 ++ 1 file changed, 258 insertions(+) create mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.c diff --git a/lib/librte_vhost/vhost_cuse/virtio-net-cdev.c