[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-28 Thread Tetsuya Mukawa
On 2015/10/27 22:44, Traynor, Kevin wrote: >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > [snip] > >> Hi, >> >> I have submitted latest patches. >> I will keep vhost library until we will have agreement to merge it to >> vhost PMD. > Longer

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-27 Thread Traynor, Kevin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa [snip] > > Hi, > > I have submitted latest patches. > I will keep vhost library until we will have agreement to merge it to > vhost PMD. Longer term there are pros and cons to keeping the vho

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-22 Thread Tetsuya Mukawa
t;> From: Panu Matilainen [mailto:pmatilai at redhat.com] >>>>> Sent: Monday, October 19, 2015 2:26 PM >>>>> To: Tetsuya Mukawa ; Richardson, Bruce >>>>> ; Loftus, Ciara >>>>> Cc: dev at dpdk.org; ann.zhuangyanying at huawei.com >>>&g

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-21 Thread Tetsuya Mukawa
org; ann.zhuangyanying at huawei.com >> Subject: Re: [dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD >> >> On 10/19/2015 01:50 PM, Tetsuya Mukawa wrote: >>> On 2015/10/19 18:45, Bruce Richardson wrote: >>>> On Mon, Oct 19, 2015 at 10:32:50AM +0100, Loftus, Ciara wro

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-21 Thread Tetsuya Mukawa
On 2015/10/20 23:13, Loftus, Ciara wrote: > + +static uint16_t +eth_vhost_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs) +{ + struct vhost_queue *r = q; + uint16_t i, nb_tx = 0; + + if (unlikely(r->internal == NULL)) + return 0; +

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-21 Thread Bruce Richardson
gt;>Sent: Monday, October 19, 2015 2:26 PM > >>>To: Tetsuya Mukawa ; Richardson, Bruce > >>>; Loftus, Ciara > >>>Cc: dev at dpdk.org; ann.zhuangyanying at huawei.com > >>>Subject: Re: [dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD > >>

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2015 at 01:30:54PM +0900, Tetsuya Mukawa wrote: > On 2015/10/20 23:13, Loftus, Ciara wrote: > > > > I see that af_packet also frees the mbuf. I've checked the ixgbe and ring > > pmds though and they don't seem to free the buffers, although I may have > > missed something, the code

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-21 Thread Panu Matilainen
dson, Bruce >>> ; Loftus, Ciara >>> Cc: dev at dpdk.org; ann.zhuangyanying at huawei.com >>> Subject: Re: [dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD >>> >>> On 10/19/2015 01:50 PM, Tetsuya Mukawa wrote: >>>> On 2015/10/19 18:45, Bruce R

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-20 Thread Loftus, Ciara
> > On 2015/09/24 2:47, Loftus, Ciara wrote: > >> The patch introduces a new PMD. This PMD is implemented as thin > wrapper > >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. > >> The PMD can have 'iface' parameter like below to specify a path to > connect > >> to a vir

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-19 Thread Tetsuya Mukawa
On 2015/10/19 18:45, Bruce Richardson wrote: > On Mon, Oct 19, 2015 at 10:32:50AM +0100, Loftus, Ciara wrote: >>> On 2015/10/16 21:52, Bruce Richardson wrote: On Mon, Aug 31, 2015 at 12:55:26PM +0900, Tetsuya Mukawa wrote: > The patch introduces a new PMD. This PMD is implemented as thin >

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-19 Thread Panu Matilainen
On 10/19/2015 01:50 PM, Tetsuya Mukawa wrote: > On 2015/10/19 18:45, Bruce Richardson wrote: >> On Mon, Oct 19, 2015 at 10:32:50AM +0100, Loftus, Ciara wrote: On 2015/10/16 21:52, Bruce Richardson wrote: > On Mon, Aug 31, 2015 at 12:55:26PM +0900, Tetsuya Mukawa wrote: >> The patch int

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-19 Thread Richardson, Bruce
> -Original Message- > From: Panu Matilainen [mailto:pmatilai at redhat.com] > Sent: Monday, October 19, 2015 2:26 PM > To: Tetsuya Mukawa ; Richardson, Bruce > ; Loftus, Ciara > Cc: dev at dpdk.org; ann.zhuangyanying at huawei.com > Subject: Re: [dpdk-dev] [RFC

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-19 Thread Tetsuya Mukawa
On 2015/10/16 21:52, Bruce Richardson wrote: > On Mon, Aug 31, 2015 at 12:55:26PM +0900, Tetsuya Mukawa wrote: >> The patch introduces a new PMD. This PMD is implemented as thin wrapper >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. >> The PMD can have 'iface' paramete

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-19 Thread Bruce Richardson
On Mon, Oct 19, 2015 at 10:32:50AM +0100, Loftus, Ciara wrote: > > On 2015/10/16 21:52, Bruce Richardson wrote: > > > On Mon, Aug 31, 2015 at 12:55:26PM +0900, Tetsuya Mukawa wrote: > > >> The patch introduces a new PMD. This PMD is implemented as thin > > wrapper > > >> of librte_vhost. It means l

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-19 Thread Loftus, Ciara
> On 2015/10/16 21:52, Bruce Richardson wrote: > > On Mon, Aug 31, 2015 at 12:55:26PM +0900, Tetsuya Mukawa wrote: > >> The patch introduces a new PMD. This PMD is implemented as thin > wrapper > >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. > >> The PMD can have 'ifa

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-16 Thread Tetsuya Mukawa
On 2015/09/24 2:47, Loftus, Ciara wrote: >> The patch introduces a new PMD. This PMD is implemented as thin wrapper >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. >> The PMD can have 'iface' parameter like below to specify a path to connect >> to a virtio-net device. >

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-16 Thread Bruce Richardson
On Mon, Aug 31, 2015 at 12:55:26PM +0900, Tetsuya Mukawa wrote: > The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. It means librte_vhost is also needed to compile the PMD. > The PMD can have 'iface' parameter like below to specify a path to connect > to a v

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-09-23 Thread Loftus, Ciara
> The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. It means librte_vhost is also needed to compile the PMD. > The PMD can have 'iface' parameter like below to specify a path to connect > to a virtio-net device. > > $ ./testpmd -c f -n 4 --vdev 'eth_vhost0,

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-08-31 Thread Tetsuya Mukawa
The patch introduces a new PMD. This PMD is implemented as thin wrapper of librte_vhost. It means librte_vhost is also needed to compile the PMD. The PMD can have 'iface' parameter like below to specify a path to connect to a virtio-net device. $ ./testpmd -c f -n 4 --vdev 'eth_vhost0,iface=/tmp/s