[dpdk-dev] [PATCH v2 3/5] virtio/vdev: add embeded device emulation

2016-02-16 Thread Tan, Jianfeng
Hi Tetsuya, On 2/8/2016 2:59 PM, Tetsuya Mukawa wrote: > On 2016/02/05 20:20, Jianfeng Tan wrote: >> To implement virtio vdev, we need way to interract with vhost backend. >> And more importantly, needs way to emulate a device into DPDK. So this >> patch acts as embedded device emulation. >> >> De

[dpdk-dev] [PATCH v2 3/5] virtio/vdev: add embeded device emulation

2016-02-16 Thread Tan, Jianfeng
Hi Michael, Don't know why, I have not received the email you comment on this commit. On 2/5/2016 7:20 PM, Jianfeng Tan wrote: > To implement virtio vdev, we need way to interract with vhost backend. > And more importantly, needs way to emulate a device into DPDK. So this > patch acts as embedde

[dpdk-dev] [PATCH v2 3/5] virtio/vdev: add embeded device emulation

2016-02-08 Thread Tetsuya Mukawa
On 2016/02/05 20:20, Jianfeng Tan wrote: > To implement virtio vdev, we need way to interract with vhost backend. > And more importantly, needs way to emulate a device into DPDK. So this > patch acts as embedded device emulation. > > Depends on the type of vhost file: vhost-user is used if the give

[dpdk-dev] [PATCH v2 3/5] virtio/vdev: add embeded device emulation

2016-02-07 Thread Michael S. Tsirkin
On Fri, Feb 05, 2016 at 07:20:26PM +0800, Jianfeng Tan wrote: > diff --git a/drivers/net/virtio/vhost.h b/drivers/net/virtio/vhost.h > new file mode 100644 > index 000..73d4f5c > --- /dev/null > +++ b/drivers/net/virtio/vhost.h > @@ -0,0 +1,194 @@ > +/*- > + * BSD LICENSE > + * > + * Copyri

[dpdk-dev] [PATCH v2 3/5] virtio/vdev: add embeded device emulation

2016-02-05 Thread Jianfeng Tan
To implement virtio vdev, we need way to interract with vhost backend. And more importantly, needs way to emulate a device into DPDK. So this patch acts as embedded device emulation. Depends on the type of vhost file: vhost-user is used if the given path points to a unix socket; vhost-net is used