[dpdk-dev] vhost user examples

2015-01-27 Thread Xie, Huawei
> -Original Message- > From: Beno?t Canet [mailto:benoit.canet at irqsave.net] > Sent: Tuesday, January 27, 2015 10:11 PM > To: Xie, Huawei; dev at dpdk.org > Subject: vhost user examples > > > Hi Xie, > > I would be interested in alpha testing the vhost u

[dpdk-dev] [PATCH v2 02/24] virtio: Use weaker barriers

2015-01-27 Thread Xie, Huawei
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, January 27, 2015 5:59 PM > To: Xie, Huawei > Cc: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 02/24] virtio: Use weaker barriers >

[dpdk-dev] [PATCH v2 04/24] virtio: Add support for Link State interrupt

2015-01-27 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Tuesday, January 27, 2015 10:36 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 04/24] virtio: Add support for Link State > interrupt > > Virtio has link state interrupt whic

[dpdk-dev] [PATCH v2 02/24] virtio: Use weaker barriers

2015-01-27 Thread Xie, Huawei
>---if (likely(nb_enqueued)) { >--->---virtio_wmb(); >--->---if (unlikely(virtqueue_kick_prepare(rxvq))) { >--->--->---virtqueue_notify(rxvq); >--->--->---PMD_RX_LOG(DEBUG, "Notified\n"); >--->---} >---} >---vq_update_avail_idx(rxvq); Tw

[dpdk-dev] [PATCH v2 02/24] virtio: Use weaker barriers

2015-01-27 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Tuesday, January 27, 2015 10:36 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 02/24] virtio: Use weaker barriers > > The DPDK driver only has to deal with the case of runnin

[dpdk-dev] [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user support

2015-01-26 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Friday, January 23, 2015 4:17 PM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [dpdk-dev] [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user >

[dpdk-dev] [PATCH v2] vhost: add interface name to virtio-net struct

2015-01-25 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Linhaifeng > Sent: Sunday, January 25, 2015 12:42 PM > To: Loftus, Ciara; dev at dpdk.org > Cc: Anthony Fee > Subject: Re: [dpdk-dev] [PATCH v2] vhost: add interface name to virtio-net > struct > > > > On 20

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2015-01-23 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Thursday, December 11, 2014 1:36 PM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user >

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2015-01-23 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Thursday, December 11, 2014 2:04 PM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user >

[dpdk-dev] [PATCH v2 3/5] vhost: enable promisc mode and config VMDQ offload register for multicast feature

2015-01-23 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, January 15, 2015 12:37 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun > Subject: Re: [dpdk-dev] [PATCH v2 3/5] vhost: enable promisc mode and config >

[dpdk-dev] [PATCH v2 3/5] vhost: enable promisc mode and config VMDQ offload register for multicast feature

2015-01-08 Thread Xie, Huawei
> diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c > index 27ba175..744156c 100644 > --- a/lib/librte_vhost/virtio-net.c > +++ b/lib/librte_vhost/virtio-net.c > @@ -68,7 +68,9 @@ static struct virtio_net_device_ops const *notify_ops; > static struct virtio_net_config_ll

[dpdk-dev] [PATCH RFC v2 03/12] lib/librte_vhost: move event_copy logic from virtio-net.c to vhost-net-cdev.c

2015-01-07 Thread Xie, Huawei
> + file = *(const struct vhost_vring_file *)in_buf; > + LOG_DEBUG(VHOST_CONFIG, > + "idx:%d fd:%d\n", file.index, file.fd); > + fd = eventfd_copy(file.fd, ctx.pid); > + if (fd < 0) { > +

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2015-01-05 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Wednesday, December 10, 2014 10:36 PM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user >

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2015-01-04 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Wednesday, December 24, 2014 12:21 AM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support > > (

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Loftus, Ciara > Sent: Thursday, December 18, 2014 10:02 AM > To: Thomas Monjalon > Cc: dev at dpdk.org; Anthony Fee > Subject: Re: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct > > Hi Thomas,

[dpdk-dev] [PATCH RFC v2 07/12] lib/librte_vhost: async event and callback

2014-12-17 Thread Xie, Huawei
> > I got error from checkpatch.pl like followings. > > ERROR: trailing statements should be on next line > #74: FILE: lib/librte_vhost/vhost_user/fd_man.c:61: > + for (i = 0; i < pfdset->num && pfdset->fd[i].fd != fd; i++); Thanks. This is RFC, so maybe it is far from perfection, :). > > + i

[dpdk-dev] [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user support

2014-12-17 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Sunday, December 14, 2014 10:26 PM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user support > &g

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2014-12-17 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Tuesday, December 16, 2014 9:22 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Linhaifeng (haifeng.lin at huawei.com) > Subject: Re: [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user suppor

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2014-12-17 Thread Xie, Huawei
> > +{ > > + struct virtio_net *dev = get_device(ctx); > > + > > + /* We have to stop the queue (virtio) if it is running. */ > > + if (dev->flags & VIRTIO_DEV_RUNNING) > > + notify_ops->destroy_device(dev); > > I have an one concern about finalization of vrings. > Can vhost-backen

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2014-12-11 Thread Xie, Huawei
> -Original Message- > From: Xie, Huawei > Sent: Thursday, December 11, 2014 10:13 AM > To: 'Linhaifeng'; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: RE: [dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user > support > > &

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2014-12-11 Thread Xie, Huawei
> > Only support one vhost-user port ? Do you mean vhost server by "port"? If that is the case, yes, now only one vhost server is supported for multiple virtio devices. As stated in the cover letter, we have requirement and plan for multiple server support, though I am not sure if it is absolut

[dpdk-dev] [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user support

2014-12-10 Thread Xie, Huawei
This patch set is based on latest vhost. It fixes vhost-user memory map/unmap alignment issue. It uses VHOST_USER_GET_VRING_BASE as the message for vhost device stop in vhost-user. It uses VHOST_SET_VRING_KICK as the message that tells us vhost device is ready in vhost-us

[dpdk-dev] [PATCH v4] VFIO: Avoid to enable vfio while the module not loaded

2014-12-10 Thread Xie, Huawei
Hi Michael: > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Qiu, Michael > Sent: Monday, December 08, 2014 8:28 AM > To: Burakov, Anatoly; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] VFIO: Avoid to enable vfio while the module > not loaded > > On 20

[dpdk-dev] DDPK use of MAP_FIXED in mmap

2014-12-09 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Tuesday, December 09, 2014 2:55 AM > To: Karmarkar Suyash > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] DDPK use of MAP_FIXED in mmap > > On Mon, Dec 08, 2014 at 07:02:38PM +, Ka

[dpdk-dev] [PATCH] i40e: Fix a vlan bug

2014-12-05 Thread Xie, Huawei
Hi Thomas: I will continue work on this fix. Do you have comments to the v4 patch? For Bruce's comment, I add some descriptive commit message for the commit. For the constant number, I define a macro as the wrapper for the VFA array index and value. One question is it isn't based on latest commit

[dpdk-dev] [PATCH v2 1/2] lib/librte_pmd_i40e: set vlan filter fix

2014-11-24 Thread Xie, Huawei
> -Original Message- > From: Qiu, Michael > Sent: Monday, November 24, 2014 1:33 AM > To: Xie, Huawei; Zhang, Helin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/2] lib/librte_pmd_i40e: set vlan filter > fix > > On 11/10/2014 2:42 PM, Xie, Huawei wrote

[dpdk-dev] [PATCH v2 0/2] lib/librte_pmd_i40e: set vlan filter fix

2014-11-21 Thread Xie, Huawei
Hi Thomas: Do you have issues applying this patch and vhost VMDQ patch? Without this fix, the vlan filter set willn't work. -Huawei > -Original Message- > From: Chen, Jing D > Sent: Monday, November 10, 2014 1:26 AM > To: Xie, Huawei; dev at dpdk.org > Subject: RE:

[dpdk-dev] vhost-user technical isssues

2014-11-15 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, November 13, 2014 7:53 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Long, Thomas > Subject: Re: vhost-user technical isssues > > Hi Xie, > > (2014/11/14 9:22), Xie,

[dpdk-dev] vhost-user technical isssues

2014-11-14 Thread Xie, Huawei
- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, November 13, 2014 11:57 PM > To: Linhaifeng; Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] vhost-user technical isssues > > Hi Lin, > (2014/11/14 14:30), Linhaifeng wrote: > > > &g

[dpdk-dev] [PATCH 1/2] examples/vhost: support new VMDQ API and new nic i40e

2014-11-14 Thread Xie, Huawei
> -Original Message- > From: Chen, Jing D > Sent: Wednesday, November 12, 2014 10:58 PM > To: Xie, Huawei; dev at dpdk.org > Subject: RE: [PATCH 1/2] examples/vhost: support new VMDQ API and new nic > i40e > > Hi, > > > -Original Message---

[dpdk-dev] vhost-user technical isssues

2014-11-14 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Thursday, November 13, 2014 7:24 PM > To: Xie, Huawei; 'Tetsuya Mukawa'; dev at dpdk.org; lilijun; zhangkun > Subject: Re: [dpdk-dev] vhost-user technical isssues > > >

[dpdk-dev] [PATCH 2/2] examples/vhost: use factorized default Rx/Tx configuration

2014-11-14 Thread Xie, Huawei
> -Original Message- > From: Chen, Jing D > Sent: Wednesday, November 12, 2014 11:02 PM > To: Xie, Huawei; dev at dpdk.org > Subject: RE: [PATCH 2/2] examples/vhost: use factorized default Rx/Tx > configuration > > Hi, > > > -Original Message---

[dpdk-dev] vhost-user technical isssues

2014-11-14 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Wednesday, November 12, 2014 11:28 PM > To: Xie, Huawei; 'Tetsuya Mukawa'; dev at dpdk.org > Subject: Re: [dpdk-dev] vhost-user technical isssues > > > > On 2014/

[dpdk-dev] vhost-user technical isssues

2014-11-14 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Tuesday, November 11, 2014 9:13 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Long, Thomas > Subject: Re: vhost-user technical isssues > > Hi Xie, > > (2014/11/12 6:37), Xie

[dpdk-dev] [RFC PATCH 7/7] lib/librte_vhost: Add vhost-user implementation

2014-11-14 Thread Xie, Huawei
> +struct vhost_device_user_ctx { > + int *fds; > + int fd_num; > + struct vhost_driver *drv; > +}; > + > /* > * Structure used to identify device context. > */ > @@ -83,6 +89,7 @@ struct vhost_device_ctx { > vhost_driver_type_t

[dpdk-dev] [PATCH 1/2] examples/vhost: support new VMDQ API and new nic i40e

2014-11-13 Thread Xie, Huawei
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, November 12, 2014 5:50 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Ouyang, Changchun > Subject: RE: [dpdk-dev] [PATCH 1/2] examples/vhost: support new VMDQ API > and new nic i40e > > &

[dpdk-dev] [PATCH 0/2] examples/vhost: support new VMDQ api and new nic i40e in vhost example

2014-11-12 Thread Xie, Huawei
This patch depends on the vlan filter set fix. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Wednesday, November 12, 2014 3:34 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/2] examples/vhost: support new VMDQ api and > new nic i

[dpdk-dev] [PATCH] Added Spinlock to l3fwd-vf example to prevent race conditioning

2014-11-11 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, November 11, 2014 3:57 PM > To: Mrzyglod, DanielX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] Added Spinlock to l3fwd-vf example to prevent > race conditioning > >

[dpdk-dev] vhost-user technical isssues

2014-11-11 Thread Xie, Huawei
Hi Tetsuya: There are two major technical issues in my mind for vhost-user implementation. 1) memory region map Vhost-user passes us file fd and offset for each memory region. Unfortunately the mmap offset is "very" wrong. I discovered this issue long time ago, and also found that I couldn't mma

[dpdk-dev] [RFC PATCH 7/7] lib/librte_vhost: Add vhost-user implementation

2014-11-10 Thread Xie, Huawei
Tetsuya: I already did this, :), and will publish the code for review after I do some cleanup next week. > -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Sunday, November 09, 2014 10:11 PM > To: Xie, Huawei; dev at dpdk.org > Cc: nakaji

[dpdk-dev] [RFC PATCH 3/7] lib/librte_vhost: Add an abstraction layer tointerpret messages

2014-11-10 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Sunday, November 09, 2014 10:13 PM > To: Xie, Huawei; dev at dpdk.org > Cc: nakajima.yoshihiro at lab.ntt.co.jp; masutani.hitoshi at lab.ntt.co.jp > Subject: Re: [dpdk-dev] [RFC PATCH 3/7

[dpdk-dev] [PATCH v2 2/2] lib/librte_pmd_i40e: add I40E_VFTA_IDX and I40E_VFTA_BIT macros for VFTA related operation

2014-11-10 Thread Xie, Huawei
> -Original Message- > From: Zhang, Helin > Sent: Sunday, November 09, 2014 10:08 PM > To: Xie, Huawei; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 2/2] lib/librte_pmd_i40e: add I40E_VFTA_IDX > and I40E_VFTA_BIT macros for VFTA related operat

[dpdk-dev] [PATCH v2 1/2] lib/librte_pmd_i40e: set vlan filter fix

2014-11-10 Thread Xie, Huawei
> -Original Message- > From: Zhang, Helin > Sent: Sunday, November 09, 2014 10:09 PM > To: Xie, Huawei; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 1/2] lib/librte_pmd_i40e: set vlan filter > fix > > > > > -Original Message- >

[dpdk-dev] [RFC PATCH 7/7] lib/librte_vhost: Add vhost-user implementation

2014-11-07 Thread Xie, Huawei
How about using client/server model and select/poll event handing mechanism rather than poll? The polling could cause periodic jitter. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > Sent: Thursday, November 06, 2014 4:15 AM > To: dev at dpd

[dpdk-dev] [RFC PATCH 3/7] lib/librte_vhost: Add an abstraction layer tointerpret messages

2014-11-07 Thread Xie, Huawei
> -struct vhost_net_device_ops const *get_virtio_net_callbacks(void); > +struct vhost_net_device_ops const *get_virtio_net_callbacks( > + vhost_driver_type_t type); Tetsuya: I feel currently it is better we still keep the common get_virtio_net_callbacks(). For the message flow from c

[dpdk-dev] [RFC PATCH 0/7] lib/librte_vhost: Add vhost-user extension

2014-11-07 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, November 06, 2014 10:10 PM > To: Xie, Huawei; dev at dpdk.org > Cc: nakajima.yoshihiro at lab.ntt.co.jp; masutani.hitoshi at lab.ntt.co.jp; > Thomas > Monjalon (thomas.

[dpdk-dev] [RFC PATCH 0/7] lib/librte_vhost: Add vhost-user extension

2014-11-07 Thread Xie, Huawei
Tetsuya: Will do careful review. You send all the patches including vhost-user implementation, seems I don't have to send mine, :). When do you plan to send formal patch? > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > Sent: Thursday, Novem

[dpdk-dev] [PATCH] librte_vhost: Fix the path test issue

2014-11-06 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Monday, November 03, 2014 1:12 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] librte_vhost: Fix the path test issue > > Commit aec8283d47d4e4366b6 fixes the compilation issue,

[dpdk-dev] [PATCH] librte_vhost: Fix the path test issue

2014-11-06 Thread Xie, Huawei
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, November 05, 2014 10:20 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Ouyang, Changchun > Subject: RE: [dpdk-dev] [PATCH] librte_vhost: Fix the path test issue > > Hi Huawei, > Thanks for the com

[dpdk-dev] [PATCH] librte_vhost: Fix the path test issue

2014-11-06 Thread Xie, Huawei
> path = realpath(memfile, resolved_path); > - if (path == NULL) { > + if ((path == NULL) && (strlen(resolved_path) == 0)) { > RTE_LOG(ERR, VHOST_CONFIG, > "(%"PRIu64") Failed to resolve fd directory\n", >

[dpdk-dev] [PATCH] lib/librte_pmd_i40e: i40e vlan filter set fix

2014-11-06 Thread Xie, Huawei
Thomas, comments for this patch? > -Original Message- > From: Xie, Huawei > Sent: Saturday, September 27, 2014 10:49 PM > To: dev at dpdk.org > Cc: Xie, Huawei; Chen, Jing D; Zhang, Helin > Subject: [PATCH] lib/librte_pmd_i40e: i40e vlan filter set fix > > the ri

[dpdk-dev] [PATCH] lib/librte_vhost: code style fixes

2014-11-05 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, November 05, 2014 2:25 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/librte_vhost: code style fixes > > 2014-11-05 21:21, Xie, H

[dpdk-dev] [PATCH] lib/librte_vhost: code style fixes

2014-11-05 Thread Xie, Huawei
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, November 05, 2014 1:42 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/librte_vhost: code style fixes > > Hi Huawei, > > checkpatch.pl reports som

[dpdk-dev] [PATCH] lib/librte_vhost: code style fixes

2014-11-05 Thread Xie, Huawei
:(. Resent done. Please drop this patch. > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, November 05, 2014 2:10 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/librte_vhost: code s

[dpdk-dev] [PATCH v4 3/3] vhost: Check offset value

2014-11-05 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, November 05, 2014 10:01 AM > To: Xie, Huawei > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: Re: [dpdk-dev] [PATCH v4 3/3] vhost: Check offset value > &g

[dpdk-dev] [PATCH v4 3/3] vhost: Check offset value

2014-11-05 Thread Xie, Huawei
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, November 05, 2014 12:11 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ananyev, Konstantin; Cao, Waterman; Ouyang, Changchun > Subject: [PATCH v4 3/3] vhost: Check offset value > > This patch checks

[dpdk-dev] [PATCH v4 1/3] vhost: Fix packet length issue

2014-11-05 Thread Xie, Huawei
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, November 05, 2014 12:11 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ananyev, Konstantin; Cao, Waterman; Ouyang, Changchun > Subject: [PATCH v4 1/3] vhost: Fix packet length issue > > As HW vlan stri

[dpdk-dev] [dpdk-announce] DPDK Features for Q1 2015

2014-10-31 Thread Xie, Huawei
Hi Tetsuya: I am implementing vhost-user, and the functionality works now. During this work, I have refactored vhost code a bit for better modularization, basically virtio part, control message part(vhost-user, vhost cuse) and data part. :). Let us see your patch, if its modularization is further

[dpdk-dev] [PATCH] vhost: Remove the check between mergeable and vector pmd

2014-10-30 Thread Xie, Huawei
Acked-by Huawei Xie > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Wednesday, October 29, 2014 7:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] vhost: Remove the check between mergeable and > vector pmd > > Since the com

[dpdk-dev] [PATCH] vhost: Check descriptor number for vector Rx

2014-10-29 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang, Changchun > Sent: Monday, October 27, 2014 6:56 AM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vhost: Check descriptor number for vector Rx > > Hi Thomas, > > > -

[dpdk-dev] [PATCH v2 3/5] vhost: enable promisc mode and config VMDQ offload register for multicast feature

2014-10-29 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Sunday, October 26, 2014 8:46 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 3/5] vhost: enable promisc mode and config > VMDQ offload register for multicast feature > > This

[dpdk-dev] [PATCH 00/14] new vhost example

2014-10-23 Thread Xie, Huawei
Thanks for all the effort! > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, October 23, 2014 4:11 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 00/14] new vhost example > > 2014

[dpdk-dev] Why do we need iommu=pt?

2014-10-20 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shivapriya Hiremath > Sent: Monday, October 20, 2014 2:59 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Why do we need iommu=pt? > > Hi, > > My question is that if the Poll mode driver used the DMA kernel i

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Xie, Huawei
Thomas: Thoughts about this? Could I send example patch with this walk around? > -Original Message- > From: Ouyang, Changchun > Sent: Thursday, October 16, 2014 8:15 PM > To: Xie, Huawei; Thomas Monjalon; dev at dpdk.org > Cc: Cao, Waterman; Richardson, Bruce; Ouyang, Chan

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-15 Thread Xie, Huawei
receiving from vmdq queue, it works. Could you root cause the issue, Changchun? You could work on the most recent example. > -Original Message- > From: Ouyang, Changchun > Sent: Monday, October 13, 2014 12:48 AM > To: Thomas Monjalon; dev at dpdk.org > Cc: Xie, Huaw

[dpdk-dev] [PATCH v4] virtio: Fix vring entry number issue

2014-10-14 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Tuesday, October 14, 2014 9:04 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4] virtio: Fix vring entry number issue > > Fix one issue in virtio TX: it needs one more vring

[dpdk-dev] [PATCH v6 00/25] user space vhost library

2014-10-13 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, October 13, 2014 12:52 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 00/25] user space vhost library > > Hi Huawei, > >

[dpdk-dev] [README]:Running DPDK in a LXC-based Container

2014-10-10 Thread Xie, Huawei
Here is the docker step, it is quite straightforward. Basically they are the same as LXC. UIO: docker run -i -t --device=/dev/uio0:/dev/uio0 --device=/dev/uio1:/dev/uio1 -v /mnt:/mntfedora20-dpdk-2 /bin/bash VFIO: docker run -i -t --privileged --device=/dev/vfio/vfio:/dev/vfio/vfio --de

[dpdk-dev] [PATCH v6 00/25] user space vhost library

2014-10-09 Thread Xie, Huawei
Hi Thomas: Comments to this way of split? > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Wednesday, October 08, 2014 11:55 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v6 00/25] user space vhost library > > This set of patches tr

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-09-30 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Hiroshi Shimamoto > Sent: Tuesday, September 30, 2014 7:15 PM > To: dev at dpdk.org > Cc: Hayato Momma > Subject: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit > > From: Hiroshi Shimamoto

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-09-30 Thread Xie, Huawei
The patch is ok. For the commit message, is it better "to reduce branch mispredication"? > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Hiroshi Shimamoto > Sent: Tuesday, September 30, 2014 7:15 PM > To: dev at dpdk.org > Cc: Hayato Momma > Subject: [dpdk-d

[dpdk-dev] [PATCH v5 05/11] lib/librte_vhost: merge Oliver's mbuf change

2014-09-30 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, September 30, 2014 12:46 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 05/11] lib/librte_vhost: merge Oliver's mbuf > change

[dpdk-dev] [PATCH v5 05/11] lib/librte_vhost: merge Oliver's mbuf change

2014-09-30 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, September 30, 2014 3:44 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 05/11] lib/librte_vhost: merge Oliver's mbuf > change >

[dpdk-dev] [PATCH v5 01/11] lib/librte_vhost: move src files in vhost example to vhost lib directory

2014-09-30 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, September 30, 2014 3:42 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 01/11] lib/librte_vhost: move src files in > vhost > exampl

[dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library

2014-09-25 Thread Xie, Huawei
I turned off CONFIG_RTE_IXGBE_INC_VEC, everything works fine. > -Original Message- > From: Xie, Huawei > Sent: Thursday, September 25, 2014 10:27 PM > To: Xie, Huawei; Thomas Monjalon > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: use

[dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library

2014-09-25 Thread Xie, Huawei
comparison of vhost example and lib, the only change is the mbuf change. Debugging the issue. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huawei > Sent: Thursday, September 25, 2014 11:10 AM > To: Thomas Monjalon > Cc: dev at dpdk.org >

[dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library

2014-09-25 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, September 25, 2014 12:22 AM > To: Xie, Huawei > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: Re: [dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cus

[dpdk-dev] [PATCH] examples/vmdq: support i40e in vmdq example

2014-09-24 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huawei > Sent: Wednesday, September 24, 2014 6:58 PM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/vmdq: support i40e in vmdq example > > This patch depends on &

[dpdk-dev] [PATCH] examples/vmdq: support i40e in vmdq example

2014-09-24 Thread Xie, Huawei
This patch depends on "[dpdk-dev] [PATCH 0/6] i40e VMDQ support" > -Original Message----- > From: Xie, Huawei > Sent: Wednesday, September 24, 2014 6:54 PM > To: dev at dpdk.org > Cc: Xie, Huawei > Subject: [PATCH] examples/vmdq: support i40e in vmdq example >

[dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library

2014-09-23 Thread Xie, Huawei
Hi Thomas: Comments to this and the vhost example patch? BR. Huawei > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Friday, September 12, 2014 6:55 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space

[dpdk-dev] [RFC] lib/librte_vhost: qemu vhost-user support into DPDK vhost library

2014-09-16 Thread Xie, Huawei
Hi Haifeng: Might be in the release after 1.8. > -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Saturday, September 13, 2014 1:28 PM > To: Xie, Huawei; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC] lib/librte_vhost: qemu vhost-user supp

[dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library

2014-09-12 Thread Xie, Huawei
Hi all: We had generated fixes for plenty of coding style issues in the old vhost example code, and will re-generate the fixes for coding style issue once this patch is applied. This patch focuses and only focuses on refactoring vhost example to a library. Any existing issue will be fixed in se

[dpdk-dev] Wrong TCP checksum of packets sent by Linux guest (virtIO/vhost)

2014-09-04 Thread Xie, Huawei
> -Original Message- > From: Franck Baudin [mailto:franck.baudin at qosmos.com] > Sent: Thursday, September 04, 2014 5:24 PM > To: Xie, Huawei; Gray, Mark D; Thomas Monjalon > Cc: dev at dpdk.org; dpdk-ovs at lists.01.org > Subject: Re: [dpdk-dev] Wrong TCP checksum

[dpdk-dev] Wrong TCP checksum of packets sent by Linux guest (virtIO/vhost)

2014-09-04 Thread Xie, Huawei
> -Original Message- > From: Franck Baudin [mailto:franck.baudin at qosmos.com] > Sent: Wednesday, September 03, 2014 10:13 PM > To: Xie, Huawei; Gray, Mark D; Thomas Monjalon > Cc: dev at dpdk.org; dpdk-ovs at lists.01.org > Subject: Re: [dpdk-dev] Wrong TCP checksum

[dpdk-dev] Wrong TCP checksum of packets sent by Linux guest (virtIO/vhost)

2014-09-03 Thread Xie, Huawei
> -Original Message- > From: Gray, Mark D > Sent: Wednesday, September 03, 2014 6:01 PM > To: Thomas Monjalon; Franck BAUDIN; Xie, Huawei > Cc: dev at dpdk.org; dpdk-ovs at lists.01.org > Subject: RE: [dpdk-dev] Wrong TCP checksum of packets sent by Linux gue

[dpdk-dev] [PATCH 2/3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch

2014-09-03 Thread Xie, Huawei
Thanks Tetsuya: Some of them are due to 80 character limitation. Is it ok to break the limitation for better indentation? > -Original Message- > From: Tetsuya.Mukawa [mailto:mukawa at igel.co.jp] > Sent: Wednesday, September 03, 2014 11:39 AM > To: Xie, Huawei; dev

[dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch.

2014-08-29 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, August 29, 2014 4:16 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to > facilitate

[dpdk-dev] [PATCH RFC 2/3] eal: don't call rte_eal_iopl_init unconditionnally

2014-08-27 Thread Xie, Huawei
Acked-by: Huawei Xie > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Marchand > Sent: Tuesday, August 26, 2014 10:12 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH RFC 2/3] eal: don't call rte_eal_iopl_init > unconditionnally > > There is no ne

[dpdk-dev] [PATCH RFC 0/3] only call iopl when necessary

2014-08-27 Thread Xie, Huawei
ok, as long as we ensure with virtio PMD, the parent DPDK process has the iopl permission so that all child threads inherits the permission. From: David Marchand [mailto:david.march...@6wind.com] Sent: Wednesday, August 27, 2014 6:05 PM To: Xie, Huawei Cc: dev at dpdk.org Subject: Re: [dpdk

[dpdk-dev] [PATCH RFC 0/3] only call iopl when necessary

2014-08-27 Thread Xie, Huawei
That is ok. If virtio PMD is a dynamic linked library, is it possible that virtio PMD is loaded later? From: David Marchand [mailto:david.march...@6wind.com] Sent: Wednesday, August 27, 2014 5:34 PM To: Xie, Huawei Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH RFC 0/3] only call iopl when

[dpdk-dev] [PATCH RFC 0/3] only call iopl when necessary

2014-08-27 Thread Xie, Huawei
Hi David: The reason iopl is put in rte_eal_init is that we want all later created DPDK processes/threads inherit the iopl permission. If you only call iopl in pmd_init, RX/TX and other threads which needs io permission will segmentation fault. -huawei > -Original Message- > From: dev [

[dpdk-dev] [RFC] lib/librte_vhost: qemu vhost-user support into DPDK vhost library

2014-08-27 Thread Xie, Huawei
> -Original Message- > From: Tetsuya.Mukawa [mailto:mukawa at igel.co.jp] > Sent: Wednesday, August 27, 2014 1:28 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Xie, Huawei; Katsuya MATSUBARA; nakajima.yoshihiro at lab.ntt.co.jp; > Hitoshi Masutani > Subject: Re:

[dpdk-dev] [RFC] lib/librte_vhost: qemu vhost-user support into DPDK vhost library

2014-08-26 Thread Xie, Huawei
Hi all: We are implementing qemu official vhost-user interface into DPDK vhost library, so there would be two coexisting implementations for user space vhost backend. Pro and cons in my mind: Existing solution: Pros: works with qemu version before 2.1; Cons: depends on eventfd proxy kernel modu

[dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch.

2014-08-20 Thread Xie, Huawei
Hi: The support of qemu user space vhost has been planned. Thanks From: loy wolfe [mailto:loywo...@gmail.com] Sent: Wednesday, August 20, 2014 10:19 AM To: dev at dpdk.org; Xie, Huawei Subject: Re: [dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK

[dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

2014-08-19 Thread Xie, Huawei
; From: Tahhan, Maryam > Sent: Tuesday, August 19, 2014 4:51 PM > To: Cao, Waterman; Xie, Huawei; dev at dpdk.org > Cc: Long, Thomas > Subject: RE: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost > library. > > Hi > I see the eventfd module is still included.

[dpdk-dev] [PATCH 1/2] lib/librte_vhost: vhost library support to facilitate integration with vswitch.

2014-08-08 Thread Xie, Huawei
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, August 08, 2014 1:59 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/2] lib/librte_vhost: vhost library support to > facilitate int

[dpdk-dev] One pkt in mbuf chain - virtio pmd driver

2014-08-07 Thread Xie, Huawei
Hi Tomasz: This is a known issue in user space vhost. Will be fixed in subsequent patch once the vhost lib is applied. BR. -Huawei > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Czaus, Tomasz > Sent: Thursday, August 07, 2014 2:20 PM > To: dev at dpdk.org >

[dpdk-dev] [PATCH 3/3] examples/vhost: add new vhost example

2014-08-06 Thread Xie, Huawei
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Wednesday, August 06, 2014 11:33 AM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 3/3] examples/vhost: add new vhost example > > &g

[dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch.

2014-08-05 Thread Xie, Huawei
This v3 patch fixes plenty of checkpatch issues. > -Original Message- > From: Xie, Huawei > Sent: Tuesday, August 05, 2014 11:54 PM > To: dev at dpdk.org > Cc: Xie, Huawei > Subject: [PATCH v3] lib/librte_vhost: vhost library support to facilitate > integration

[dpdk-dev] Question on using SR-IOV with dpdk apps

2014-08-05 Thread Xie, Huawei
Since some version of ixgbe driver, it will not generate mac address for the VFs. You could use ip link set to set mac address for the VFs. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Patrick McGleenon > Sent: Tuesday, August 05, 2014 10:39 PM > To: Anj

<    1   2   3   4   5   6   >