[dpdk-dev] vhost-net stops sending to virito pmd -- already fixed?

2015-09-17 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Kyle Larose > Sent: Wednesday, September 16, 2015 5:05 AM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] vhost-net stops sending to virito pmd -- already > fixed? > > On Sun, Sep 13,

[dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload

2015-09-10 Thread Ouyang, Changchun
> -Original Message- > From: Liu, Jijiang > Sent: Thursday, September 10, 2015 1:21 AM > To: Ouyang, Changchun; dev at dpdk.org > Subject: RE: [dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload > > > > > -Original Message----- > &

[dpdk-dev] vring_init bug

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huawei > Sent: Wednesday, September 9, 2015 11:00 AM > To: dev at dpdk.org > Subject: [dpdk-dev] vring_init bug > > static inline void > vring_init(struct vring *vr, unsigned int num, uint8_t *p, >

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 4/4] vhost: define callfd and kickfd as int type > &g

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Wednesday, September 9, 2015 9:55 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Xie, Huawei > Subject: Re: [PATCH 4/4] vhost: define callfd and kickfd as int type > > On

[dpdk-dev] virtio-net: bind systematically on all non blacklisted virtio-net devices

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Franck Baudin > Sent: Tuesday, September 8, 2015 4:23 PM > To: dev at dpdk.org > Subject: [dpdk-dev] virtio-net: bind systematically on all non blacklisted > virtio-net devices > > Hi, > > virtio-net driver

[dpdk-dev] [PATCH 1/4] vhost: remove redundant ;

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 1/4] vhost: remove redundant ; > > Signed-off

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 4/4] vhost: define callfd and kickfd as int type > &g

[dpdk-dev] [PATCH 3/4] vhost: get rid of duplicate code

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 3/4] vhost: get rid of duplicate code > > Si

[dpdk-dev] [PATCH 2/4] vhost: fix typo

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 2/4] vhost: fix typo > > _det => _dev >

[dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Liu, Jijiang > Sent: Monday, September 7, 2015 2:11 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: RE: [dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload > > > > > -Original Message----- > > From

[dpdk-dev] [PATCH 3/4] virtio: use indirect ring elements

2015-09-06 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Saturday, September 5, 2015 4:58 AM > To: Xie, Huawei; Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 3/4] virtio: use indirect ring elements &g

[dpdk-dev] [PATCH 3/4] virtio: use indirect ring elements

2015-09-06 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Saturday, September 5, 2015 4:58 AM > To: Xie, Huawei; Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 3/4] virtio: use indirect ring elements &g

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-09-06 Thread Ouyang, Changchun
Hi Tetsuya, > -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, September 3, 2015 10:27 AM > To: dev at dpdk.org; Ouyang, Changchun > Subject: Re: [dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in > virtio dev >

[dpdk-dev] [RFC PATCH 5/8] lib/librte_vhost:dequeue vhost TSO offload

2015-09-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu > Sent: Monday, August 31, 2015 5:42 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [RFC PATCH 5/8] lib/librte_vhost:dequeue vhost TSO > offload > > Dequeue vhost TSO offload > > Signed-off-by:

[dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload

2015-09-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu > Sent: Monday, August 31, 2015 5:42 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload > > Enqueue TSO4/6 offload. > > Signed-off-by: Jijiang Liu >

[dpdk-dev] [PATCH 1/6] ixgbe: Support VMDq RSS in non-SRIOV environment

2015-08-25 Thread Ouyang, Changchun
Hi Michael, Pls review the latest version (v4). Thanks for your effort Changchun > -Original Message- > From: Qiu, Michael > Sent: Monday, August 24, 2015 6:42 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/6] ixgbe: Support VMDq R

[dpdk-dev] [PATCH] vhost: fix qemu shutdown issue

2015-08-20 Thread Ouyang Changchun
This patch originates from the patch: [dpdk-dev] [PATCH 1/2] Patch for Qemu wrapper for US-VHost to ensure Qemu process ends when VM is shutdown http://dpdk.org/ml/archives/dev/2014-June/003606.html Aslo update the vhost sample guide doc. Signed-off-by: Claire Murphy Signed-off-by: Changchun

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-19 Thread Ouyang, Changchun
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Wednesday, August 19, 2015 11:53 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Xie, Huawei > Subject: Re: [dpdk-dev] [PATCH v4 02/12] vhost: support multiple queu

[dpdk-dev] [PATCH] doc: fix for vhost sample parameter

2015-08-18 Thread Ouyang Changchun
This commit removes the dev-index, so update the doc for this change: 17b8320a3e11e146868906d0082b6e402d5f2255 "vhost: remove index parameter" Signed-off-by: Changchun Ouyang --- doc/guides/sample_app_ug/vhost.rst| 18 -- lib/librte_vhost/libvirt/qemu-wrap.py | 10 +-

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-14 Thread Ouyang, Changchun
Hi Flavio, Thanks for your comments, see my response below. > -Original Message- > From: Flavio Leitner [mailto:fbl at sysclose.org] > Sent: Thursday, August 13, 2015 8:52 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 02/12] vhost

[dpdk-dev] [PATCH v4 11/12] vhost: alloc core to virtq

2015-08-12 Thread Ouyang Changchun
This patch allocates the core on the granularity of virtq instead of virtio device. This allows vhost having the capability of polling different virtq with different core, which shows better performance on vhost/virtio ports with more cores. Add 2 API: rte_vhost_core_id_get and

[dpdk-dev] [PATCH v4 10/12] vhost: add per queue stats info

2015-08-12 Thread Ouyang Changchun
Add per queue stats info Signed-off-by: Changchun Ouyang --- Changes in v3 - fix coding style and displaying format - check stats_enable to alloc mem for queue pair Changes in v2 - fix the stats issue in tx_local - dynamically alloc mem for queue pair stats info - fix checkpatch

[dpdk-dev] [PATCH v4 09/12] virtio: resolve for control queue

2015-08-12 Thread Ouyang Changchun
Fix the max virtio queue pair read issue. Control queue can't work for vhost-user mulitple queue mode, so introduce a counter to void the dead loop when polling the control queue(removed in v4). Signed-off-by: Changchun Ouyang --- Changes in v4: - revert the workaround - fix the max virtio

[dpdk-dev] [PATCH v4 08/12] vhost: support multiple queues

2015-08-12 Thread Ouyang Changchun
Sample vhost leverage the VMDq+RSS in HW to receive packets and distribute them into different queue in the pool according to 5 tuples. And enable multiple queues mode in vhost/virtio layer. HW queue numbers in pool exactly same with the queue number in virtio device, e.g. rxq = 4, the queue

[dpdk-dev] [PATCH v4 07/12] vhost: add new command line option: rxq

2015-08-12 Thread Ouyang Changchun
Sample vhost need know the queue number user want to enable for each virtio device, so add the new option '--rxq' into it. Signed-off-by: Changchun Ouyang --- Changes in v3 - fix coding style Changes in v2 - refine help info - check if rxq = 0 - fix checkpatch errors

[dpdk-dev] [PATCH v4 06/12] vhost: support protocol feature

2015-08-12 Thread Ouyang Changchun
Support new protocol feature to communicate with qemu: Add set and get protocol feature bits; Add VRING_FLAG for mq feature to set vring flag, which indicates the vq is enabled or disabled. Reserve values as follows: VHOST_USER_SEND_RARP = 17 (merge from qemu community) VHOST_USER_SET_VRING_FLAG

[dpdk-dev] [PATCH v4 05/12] vhost: check the virtqueue address's validity

2015-08-12 Thread Ouyang Changchun
This is added since v3. Check the virtqueue address's validity. Signed-off-by: Changchun Ouyang --- Changes in v4: - remove unnecessary code lib/librte_vhost/vhost_user/vhost-net-user.c | 4 +++- lib/librte_vhost/virtio-net.c| 10 ++ 2 files changed, 13

[dpdk-dev] [PATCH v4 04/12] vhost: set memory layout for multiple queues mode

2015-08-12 Thread Ouyang Changchun
QEMU sends separate commands orderly to set the memory layout for each queue in one virtio device, accordingly vhost need keep memory layout information for each queue of the virtio device. This also need adjust the interface a bit for function gpa_to_vva by introducing the queue index to specify

[dpdk-dev] [PATCH v4 03/12] vhost: update version map file

2015-08-12 Thread Ouyang Changchun
From: Changchun Ouyang it is added in v4. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/rte_vhost_version.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/rte_vhost_version.map b/lib/librte_vhost/rte_vhost_version.map

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-12 Thread Ouyang Changchun
Each virtio device could have multiple queues, say 2 or 4, at most 8. Enabling this feature allows virtio device/port on guest has the ability to use different vCPU to receive/transmit packets from/to each queue. In multiple queues mode, virtio device readiness means all queues of this virtio

[dpdk-dev] [PATCH v4 01/12] ixgbe: support VMDq RSS in non-SRIOV environment

2015-08-12 Thread Ouyang Changchun
In non-SRIOV environment, VMDq RSS could be enabled by MRQC register. In theory, the queue number per pool could be 2 or 4, but only 2 queues are available due to HW limitation, the same limit also exist in Linux ixgbe driver. Signed-off-by: Changchun Ouyang --- Changes in v2: - fix checkpatch

[dpdk-dev] [PATCH v4 00/12] Support multiple queues in vhost

2015-08-12 Thread Ouyang Changchun
This patch targets for R2.2, please ignore it in R2.1. Send them out a bit earlier just for seeking more comments. This patch set supports the multiple queues for each virtio device in vhost. Currently the multiple queues feature is supported only for vhost-user, not yet for vhost-cuse. The new

[dpdk-dev] [PATCH] vchost: Notify application of ownership change

2015-08-10 Thread Ouyang, Changchun
> -Original Message- > From: Jan Kiszka [mailto:jan.kiszka at siemens.com] > Sent: Saturday, August 8, 2015 2:43 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vchost: Notify application of ownership > change > > On 2015-08-08

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-10 Thread Ouyang, Changchun
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, August 9, 2015 4:56 PM > To: Jan Kiszka > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: Re: [dpdk-dev] vhost-switch example: huge memory need and CRC > off-loading

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-08 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka > Sent: Saturday, August 8, 2015 1:31 AM > To: dev at dpdk.org > Subject: [dpdk-dev] vhost-switch example: huge memory need and CRC off- > loading issue > > Hi again, > > two findings in the

[dpdk-dev] [PATCH] vchost: Notify application of ownership change

2015-08-08 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka > Sent: Saturday, August 8, 2015 1:21 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] vchost: Notify application of ownership change Vchost should be vhost in the title > > On

[dpdk-dev] [PATCH] testpmd: modify the mac of csum forwarding

2015-08-08 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhang, Helin > Sent: Saturday, August 8, 2015 12:07 AM > To: Qiu, Michael; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] testpmd: modify the mac of csum > forwarding > > > > > -Original Message-

[dpdk-dev] vhost: Problem RESET_OWNER processing

2015-08-08 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka > Sent: Friday, August 7, 2015 10:04 PM > To: dev at dpdk.org; Xie, Huawei > Subject: [dpdk-dev] vhost: Problem RESET_OWNER processing > > Hi, > > I was wondering if I'm alone with this: the

[dpdk-dev] DPDK bond the virtio NIC run error

2015-08-05 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Hu, FangyinX > Sent: Wednesday, August 5, 2015 10:41 AM > To: dev at dpdk.org > Subject: [dpdk-dev] DPDK bond the virtio NIC run error > > HI, I use the qemu-kvm create a virtual machine and give a

[dpdk-dev] [PATCH 2/2] virtio: allow running w/o vlan filtering

2015-08-05 Thread Ouyang, Changchun
Hi Vincent, > -Original Message- > From: Vincent JARDIN [mailto:vincent.jardin at 6wind.com] > Sent: Tuesday, August 4, 2015 8:52 PM > To: Thomas Monjalon; Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH 2/2] virtio: allo

[dpdk-dev] [PATCH 2/2] virtio: allow running w/o vlan filtering

2015-07-30 Thread Ouyang, Changchun
I have comments for that. Pls see below. > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, July 29, 2015 8:57 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH 2/2] vir

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-21 Thread Ouyang, Changchun
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, July 20, 2015 6:42 PM > To: Ouyang, Changchun > Cc: Xu, Qian Q; Stephen Hemminger; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] virtio: fix the vq size issue >

[dpdk-dev] [PATCH v2 1/2] virtio: fix queue size and number of descriptors

2015-07-21 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, July 21, 2015 2:41 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH v2 1/2] virtio: fix queue size and number of descriptors >

[dpdk-dev] [PATCH v2 0/2] virtio: fixes for 2.1-rc1

2015-07-21 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, July 21, 2015 2:41 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH v2 0/2] virtio: fixes for 2.1-rc1 I think v2 here should

[dpdk-dev] [PATCH v2 2/2] virtio: small cleanups

2015-07-21 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, July 21, 2015 2:41 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH v2 2/2] virtio: small cleanups > > Some minor clean

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-20 Thread Ouyang, Changchun
. Hi Qian, Thanks very much for raising this critical issue in virtio! thanks, Changchun > -Original Message- > From: Xu, Qian Q > Sent: Monday, July 20, 2015 11:41 AM > To: Stephen Hemminger; Ouyang, Changchun; 'Thomas Monjalon' > Cc: dev at dpdk.org; Xu, Qian Q > Subj

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-18 Thread Ouyang, Changchun
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Saturday, July 18, 2015 12:28 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] virtio: fix the vq size issue > > On Wed, 1

[dpdk-dev] [ovs-discuss] ovs-dpdk performance is not good

2015-07-17 Thread Ouyang, Changchun
On 7/16/2015 9:45 PM, Traynor, Kevin wrote: > > (re-adding the ovs-discuss list) > > This might be better on the dpdk dev mailing list. For the OVS part, > see this thread > http://openvswitch.org/pipermail/discuss/2015-July/018095.html > > Kevin. > > *From:*Na Zhu [mailto:zhunatuzi at

[dpdk-dev] [dpdk-virtio]: cannot start testpmd after binding virtio devices to gib_uio

2015-07-17 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Clarylin L > Sent: Friday, July 17, 2015 7:10 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [dpdk-virtio]: cannot start testpmd after binding > virtio devices to gib_uio > > > I am running a virtual

[dpdk-dev] [PATCH 4/5] virtio: free queue memory in virtio_dev_close()

2015-07-15 Thread Ouyang, Changchun
> -Original Message- > From: Iremonger, Bernard > Sent: Wednesday, July 15, 2015 4:27 PM > To: Stephen Hemminger > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: RE: [PATCH 4/5] virtio: free queue memory in virtio_dev_close() > > > -Original Mes

[dpdk-dev] [PATCH 4/5] virtio: free queue memory in virtio_dev_close()

2015-07-15 Thread Ouyang, Changchun
Hi, Bernard > -Original Message- > From: Iremonger, Bernard > Sent: Wednesday, July 15, 2015 4:02 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Xu, Qian Q; stephen at networkplumber.org > Subject: RE: [PATCH 4/5] virtio: free queue memory in virtio_dev_close

[dpdk-dev] [PATCH 4/5] virtio: free queue memory in virtio_dev_close()

2015-07-15 Thread Ouyang, Changchun
> -Original Message- > From: Iremonger, Bernard > Sent: Tuesday, July 14, 2015 9:11 PM > To: dev at dpdk.org > Cc: Ouyang, Changchun; stephen at networkplumber.org; Iremonger, Bernard > Subject: [PATCH 4/5] virtio: free queue memory in virtio_dev_close()

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-13 Thread Ouyang, Changchun
o removes an unnecessary assigning inside that function. > > > > On 7/1/2015 11:53 PM, Xie, Huawei wrote: > > > On 7/1/2015 3:49 PM, Ouyang Changchun wrote: > > >> This commit breaks virtio basic packets rx functionality: > > >> d78deadae4dca240

[dpdk-dev] [PATCH] ixgbe: fix the issue that auto negotiation for flow control cannot be disabled

2015-07-09 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Wednesday, July 8, 2015 9:14 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix the issue that auto negotiation for > flow control cannot be disabled > > There's a parameter

[dpdk-dev] [PATCH v4 4/4] test-pmd: remove call to rte_eth_promiscuous_disable() from detach_port()

2015-07-08 Thread Ouyang, Changchun
> -Original Message- > From: Iremonger, Bernard > Sent: Tuesday, July 7, 2015 5:18 PM > To: dev at dpdk.org > Cc: Ouyang, Changchun; Iremonger, Bernard > Subject: [PATCH v4 4/4] test-pmd: remove call to > rte_eth_promiscuous_disable() from detach_port() >

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-07 Thread Ouyang, Changchun
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, July 1, 2015 3:49 PM > To: dev at dpdk.org > Cc: Cao, Waterman; Xu, Qian Q; Ouyang, Changchun > Subject: [PATCH] virtio: fix the vq size issue > > This commit breaks virtio basic

[dpdk-dev] [PATCH v2 0/3] Fix vhost startup issue

2015-07-07 Thread Ouyang, Changchun
> -Original Message- > From: Ouyang, Changchun > Sent: Monday, July 6, 2015 10:27 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Cao, Waterman; Xu, Qian Q; Ouyang, Changchun > Subject: [PATCH v2 0/3] Fix vhost startup issue > > The patch set fix vhost sample fails to

[dpdk-dev] [PATCH v2 3/3] vhost: call api to unregister vhost driver

2015-07-06 Thread Ouyang Changchun
The following commit broke vhost sample when it runs in second time: 292959c71961acde0cda6e77e737bb0a4df1559c It should call api to unregister vhost driver when sample exit/quit, then the socket file will be removed(by calling unlink), and thus make vhost sample work correctly in the second time

[dpdk-dev] [PATCH v2 2/3] vhost: fix the comments and log

2015-07-06 Thread Ouyang Changchun
It fixes the wrong log info when failing to unregister vhost driver. Signed-off-by: Changchun Ouyang --- examples/vhost/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) change in v2: - refine the comment - fix checkpatch issue diff --git a/examples/vhost/main.c

[dpdk-dev] [PATCH v2 1/3] vhost: add log when failing to bind a socket

2015-07-06 Thread Ouyang Changchun
It adds more readable log info if a socket fails to bind to local socket file name. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_user/vhost-net-user.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost_user/vhost-net-user.c

[dpdk-dev] [PATCH v2 0/3] Fix vhost startup issue

2015-07-06 Thread Ouyang Changchun
The patch set fix vhost sample fails to start up in second time: It should call api to unregister vhost driver when sample exit/quit, then the socket file will be removed(by calling unlink), and thus make vhost sample work correctly in second time startup. It also adds/refines some log

[dpdk-dev] [PATCH 3/3] vhost: call api to unregister vhost driver

2015-07-03 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Friday, July 3, 2015 12:04 AM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH 3/3] vhost: call api to unregister vhost driver > > On 7/2/2015 11:33 AM, Ouyang, Changch

[dpdk-dev] [PATCH 3/3] vhost: call api to unregister vhost driver

2015-07-03 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Thursday, July 2, 2015 5:38 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH 3/3] vhost: call api to unregister vhost driver > > On 7/2/2015 11:33 AM,

[dpdk-dev] [PATCH 1/3] vhost: add log if fails to bind a socket

2015-07-03 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Thursday, July 2, 2015 5:29 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH 1/3] vhost: add log if fails to bind a socket > > On 7/2/2015 11:33 AM, Ouyang, Chan

[dpdk-dev] [PATCH 2/3] vhost: fix the comments and log

2015-07-03 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Thursday, July 2, 2015 5:25 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH 2/3] vhost: fix the comments and log > > > On 7/2/2015 11:33 AM, Ouyang, Ch

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-03 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Thursday, July 2, 2015 5:16 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH] virtio: fix the vq size issue > > On 7/2/2015 10:16 AM, Ouyang, Changchun wrote

[dpdk-dev] [PATCH 3/3] vhost: call api to unregister vhost driver

2015-07-02 Thread Ouyang Changchun
The commit will break vhost sample when it runs in second time: 292959c71961acde0cda6e77e737bb0a4df1559c It should call api to unregister vhost driver when sample exit/quit, then the socket file will be removed(by calling unlink), and thus make vhost sample work correctly in second time startup.

[dpdk-dev] [PATCH 2/3] vhost: fix the comments and log

2015-07-02 Thread Ouyang Changchun
It fixes the wrong log info when fails to unregister vhost driver. Signed-off-by: Changchun Ouyang --- examples/vhost/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 7863dcf..72c4773 100644 ---

[dpdk-dev] [PATCH 1/3] vhost: add log if fails to bind a socket

2015-07-02 Thread Ouyang Changchun
It adds more readable log info if a socket fails to bind to local device file name. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_user/vhost-net-user.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost_user/vhost-net-user.c

[dpdk-dev] [PATCH 0/3] Fix vhost startup issue

2015-07-02 Thread Ouyang Changchun
The commit breaks vhost sample when it runs in second time: 292959c71961acde0cda6e77e737bb0a4df1559c It should call api to unregister vhost driver when sample exit/quit, then the socket file will be removed(by calling unlink), and thus make vhost sample work correctly in second time startup.

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-02 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Thursday, July 2, 2015 10:02 AM > To: Ouyang, Changchun; dev at dpdk.org; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH] virtio: fix the vq size issue > > On 7/2/2015 8:29 AM, Ouyang, Changchun

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-02 Thread Ouyang, Changchun
Hi huawei, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huawei > Sent: Wednesday, July 1, 2015 11:53 PM > To: dev at dpdk.org; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH] virtio: fix the vq size issue > > On 7/1/2015 3:49

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-01 Thread Ouyang Changchun
This commit breaks virtio basic packets rx functionality: d78deadae4dca240e85054bf2d604a801676becc The QEMU use 256 as default vring size, also use this default value to calculate the virtio avail ring base address and used ring base address, and vhost in the backend use the ring base address

[dpdk-dev] [PATCH v4 4/4] vhost: add comment for potential unwanted callback on listenfds

2015-07-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Tuesday, June 30, 2015 5:21 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 4/4] vhost: add comment for potential > unwanted callback on listenfds > > add comment for potential

[dpdk-dev] [PATCH v4 3/4] vhost: version map file update

2015-07-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Tuesday, June 30, 2015 5:21 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 3/4] vhost: version map file update > > update version map file for rte_vhost_driver_unregister API > >

[dpdk-dev] [PATCH v4 2/4] vhost: vhost unix domain socket cleanup

2015-07-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Tuesday, June 30, 2015 5:21 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 2/4] vhost: vhost unix domain socket cleanup > > rte_vhost_driver_unregister API will remove the

[dpdk-dev] [PATCH v4 1/4] vhost: call fdset_del_slot to remove connection fd

2015-07-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Tuesday, June 30, 2015 5:21 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 1/4] vhost: call fdset_del_slot to remove > connection fd > > In the event handler of connection fd, the

[dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-23 Thread Ouyang, Changchun
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 23, 2015 12:34 AM > To: Ouyang, Changchun; Wei li > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when > rte_a

[dpdk-dev] [PATCH] doc: fix doxygen warnings

2015-06-19 Thread Ouyang Changchun
Fix doxygen warnings in vhost Signed-off-by: Changchun Ouyang --- lib/librte_vhost/rte_virtio_net.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h index 5d38185..420c05e 100644 ---

[dpdk-dev] vhost doxygen

2015-06-19 Thread Ouyang, Changchun
Hi Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, June 19, 2015 5:47 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: vhost doxygen > > Please Changchun, > Could you check and comp

[dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in virtio dev

2015-06-19 Thread Ouyang, Changchun
> -Original Message- > From: Flavio Leitner [mailto:fbl at sysclose.org] > Sent: Thursday, June 18, 2015 9:34 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in > virtio dev > > On

[dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in virtio dev

2015-06-19 Thread Ouyang, Changchun
Hi Flavio, > -Original Message- > From: Flavio Leitner [mailto:fbl at sysclose.org] > Sent: Thursday, June 18, 2015 9:17 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in > virtio dev >

[dpdk-dev] [PATCH v3 2/2] virtio: check vq parameter

2015-06-17 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Tuesday, June 16, 2015 7:30 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 2/2] virtio: check vq parameter > > If vq is NULL, there is a segmentation fault. > >

[dpdk-dev] [PATCH v3 1/2] virtio: add support for PCI Port Hotplug

2015-06-17 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Tuesday, June 16, 2015 7:30 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 1/2] virtio: add support for PCI Port Hotplug > > This patch depends on the Port Hotplug

[dpdk-dev] [PATCH] abi: Announce abi changes plan for vhost-user multiple queues

2015-06-16 Thread Ouyang Changchun
It announces the planned ABI changes for vhost-user multiple queues feature on v2.2. Signed-off-by: Changchun Ouyang --- doc/guides/rel_notes/abi.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides/rel_notes/abi.rst index f00a6ee..dc1b0eb 100644

[dpdk-dev] [RFC PATCH V2 2/2] drivers/net/virtio: check vq parameter

2015-06-16 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Thursday, May 28, 2015 12:01 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [RFC PATCH V2 2/2] drivers/net/virtio: check vq > parameter > > If vq is NULL, there is a segmentation

[dpdk-dev] [PATCH v7 0/4] Fix vhost enqueue/dequeue issue

2015-06-16 Thread Ouyang, Changchun
Hi, Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, June 15, 2015 5:43 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 0/4] Fix vhost enqueue/dequeue issue > >

[dpdk-dev] [PATCH v3 9/9] doc: Update doc for vhost multiple queues

2015-06-15 Thread Ouyang Changchun
Update the sample guide doc for vhost multiple queues; Update the prog guide doc for vhost lib multiple queues feature; It is added since v3 Signed-off-by: Changchun Ouyang --- doc/guides/prog_guide/vhost_lib.rst | 35 doc/guides/sample_app_ug/vhost.rst | 110

[dpdk-dev] [PATCH v3 8/9] vhost: Add per queue stats info

2015-06-15 Thread Ouyang Changchun
Add per queue stats info Changes in v3 - fix coding style and displaying format - check stats_enable to alloc mem for queue pair Changes in v2 - fix the stats issue in tx_local - dynamically alloc mem for queue pair stats info - fix checkpatch errors Signed-off-by: Changchun Ouyang

[dpdk-dev] [PATCH v3 7/9] virtio: Resolve for control queue

2015-06-15 Thread Ouyang Changchun
Control queue can't work for vhost-user mulitple queue mode, so introduce a counter to void the dead loop when polling the control queue. Changes in v2: - fix checkpatch errors Signed-off-by: Changchun Ouyang --- drivers/net/virtio/virtio_ethdev.c | 15 +-- 1 file changed, 13

[dpdk-dev] [PATCH v3 6/9] vhost: Support multiple queues

2015-06-15 Thread Ouyang Changchun
Sample vhost leverage the VMDq+RSS in HW to receive packets and distribute them into different queue in the pool according to 5 tuples. And enable multiple queues mode in vhost/virtio layer. HW queue numbers in pool exactly same with the queue number in virtio device, e.g. rxq = 4, the queue

[dpdk-dev] [PATCH v3 5/9] vhost: Add new command line option: rxq

2015-06-15 Thread Ouyang Changchun
Sample vhost need know the queue number user want to enable for each virtio device, so add the new option '--rxq' into it. Changes in v3 - fix coding style Changes in v2 - refine help info - check if rxq = 0 - fix checkpatch errors Signed-off-by: Changchun Ouyang ---

[dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in virtio dev

2015-06-15 Thread Ouyang Changchun
Each virtio device could have multiple queues, say 2 or 4, at most 8. Enabling this feature allows virtio device/port on guest has the ability to use different vCPU to receive/transmit packets from/to each queue. In multiple queues mode, virtio device readiness means all queues of this virtio

[dpdk-dev] [PATCH v3 0/9] Support multiple queues in vhost

2015-06-15 Thread Ouyang Changchun
This patch set supports the multiple queues for each virtio device in vhost. The vhost-user is used to enable the multiple queues feature, It's not ready for vhost-cuse. The QEMU patch of enabling vhost-use multiple queues has already merged into upstream sub-tree in QEMU community and it will

[dpdk-dev] Poor Virtio PMD TX Performance

2015-06-12 Thread Ouyang, Changchun
pt=/home/geo/tzhou/kvm- > image/tup.sh,downscript=no,vhost=on > > The qemu version? > [tzhou] > root at dw-2:/home/geo/tzhou/kvm-image# kvm -version QEMU emulator > version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.3), Copyright (c) 2003-2008 Fabrice > Bellard > > -Tianlin >

[dpdk-dev] [PATCH 3/5] virtio: don't set mac table unless negotiated

2015-06-12 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, June 11, 2015 11:53 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH 3/5] virtio: don't set mac table

[dpdk-dev] [PATCH 2/5] virtio: don't enable/disable rx modes unless supported

2015-06-12 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, June 11, 2015 11:53 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH 2/5] virtio: don't enable/disable rx mode

[dpdk-dev] [PATCH 1/5] virtio: remove blank lines

2015-06-12 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, June 11, 2015 11:53 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH 1/5] virtio: remove blank lines

[dpdk-dev] [PATCH 5/5] virtio: clarify feature bit handling

2015-06-11 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Wednesday, June 10, 2015 8:49 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 5/5] virtio: clarify feature bit handling > > On Wed, 15 Apr 2015 08:20:19 -0700 > Stephen

  1   2   3   4   5   6   7   >