From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cmailsend29.nm.naver.com (cmailsend29.nm.naver.com [125.209.239.206]) by dpdk.org (Postfix) with ESMTP id 8977D8E8C for ; Wed, 21 Oct 2015 04:04:14 +0200 (CEST) Received: (qmail 1130 invoked by uid 100); 21 Oct 2015 02:04:12 -0000 Received: from 10.114.49.78 (HELO cweb11.nm.nhnsystem.com) (10.114.49.78) by cmailsend29.nm.naver.com with SMTP;21 Oct 2015 02:04:12 -0000 Date: Wed, 21 Oct 2015 11:04:12 +0900 (KST) From: =?UTF-8?B?7LWc7J217ISx?= To: Kyle Larose Message-ID: In-Reply-To: References: MIME-Version: 1.0 Importance: normal X-Priority: 3 (Normal) X-Naver-CIP: 129.254.191.249 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] =?utf-8?q?When_I_run_test-pmd=2C_most_of_received_pack?= =?utf-8?q?ets=28loop-backed_packet=29_have_RX-error=2E?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: =?UTF-8?B?7LWc7J217ISx?= List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 02:04:16 -0000 IERlYXIgS3lsZSBMYXJvc2UuIAogClRoYW5rIHlvdSB2ZXJ5IG11Y2ggZm9yIHlvdXIgcHJlY2lv dXMgYWR2aWNlIGFuZCBhbnN3ZXIuCiAKSSB3aWxsIHRyeSB5b3VyIHN1Z2dlc3Rpb25zLgogCiAK SSBoYXZlIGEgcXVlc3Rpb24uIENhbiBJIHVzZSBpZ2JfdWlvIGRyaXZlciBpbiBEUERLPwogCldo ZW4gSSBzdGFsbGVkIHRoZSBuZXR3b3JrIGRldmljZSBkcml2ZXIgaW4gRFBESy4KIApJIHVzZWQg dGhlIGZvbGxvd2luZyBjb21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Tk5L2V0 YywgdGhlIGRyaXZlciBpcyB0aGUgaXhnYmUuIFNlYXJjaGluZyBpbiB0aGUKZGlyZWN0b3J5IGZv ciBpdCwgeW91IGZpbmQgdGhpczoKCiAgICBodHRwOi8vZHBkay5vcmcvYnJvd3NlL2RwZGsvdHJl ZS9kcml2ZXJzL25ldC9peGdiZS9peGdiZV9ldGhkZXYuYyNuMzg5CgpBbm90aGVyIGFsdGVybmF0 aXZlIGlzIHRvIGF0dGFjaCB0byB5b3VyIHJ1bm5pbmcgcHJvY2VzcyB3aXRoIGdkYiwgYW5kCnBy aW50IHRoZSBkZXYgc3RydWN0LiBnZGIgd2lsbCB0eXBpY2FsbHkgbWFwIHRoZSBwb2ludGVycyBj b250YWluZWQKdGhlcmVpbiB0byB0aGVpciBzeW1ib2xpYyBuYW1lcy4KCg== >From yuanhan.liu@linux.intel.com Wed Oct 21 04:05:40 2015 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8519D8E9E for ; Wed, 21 Oct 2015 04:05:40 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 20 Oct 2015 19:05:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,709,1437462000"; d="scan'208";a="584980443" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by FMSMGA003.fm.intel.com with ESMTP; 20 Oct 2015 19:05:38 -0700 Date: Wed, 21 Oct 2015 10:05:52 +0800 From: Yuanhan Liu To: Marcel Apfelbaum Message-ID: <20151021020552.GZ3115@yliu-dev.sh.intel.com> References: <1444369572-1157-1-git-send-email-yuanhan.liu@linux.intel.com> <562619DF.1000800@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <562619DF.1000800@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: dev@dpdk.org, "Michael S. Tsirkin" Subject: Re: [dpdk-dev] [PATCH v6 00/13] vhost-user multiple queues enabling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 02:05:40 -0000 > >Test with OVS > >============= > > > >Marcel also created a simple yet quite clear test guide with OVS at: > > > > http://wiki.qemu.org/Features/vhost-user-ovs-dpdk > > > >BTW, Marcel, would you please complete the page on mq testing? > > Done. > > http://wiki.qemu.org/Features/vhost-user-ovs-dpdk#Enable_multi-queue > > Please let me know if I missed anything, Nope, that's perfect. Thanks for the effort. --yliu > > > > > > > >--- > >Changchun Ouyang (7): > > vhost: rxtx: prepare work for multiple queue support > > virtio: read virtio_net_config correctly > > vhost: add VHOST_USER_SET_VRING_ENABLE message > > vhost: add API bind a virtq to a specific core > > ixgbe: support VMDq RSS in non-SRIOV environment > > examples/vhost: demonstrate the usage of vhost mq feature > > examples/vhost: add per queue stats > > > >Yuanhan Liu (6): > > vhost-user: add protocol features support > > vhost-user: add VHOST_USER_GET_QUEUE_NUM message > > vhost: vring queue setup for multiple queue support > > vhost-user: handle VHOST_USER_RESET_OWNER correctly > > vhost-user: enable vhost-user multiple queue > > doc: update release note for vhost-user mq support > > > > doc/guides/rel_notes/release_2_2.rst | 5 + > > drivers/net/ixgbe/ixgbe_rxtx.c | 86 +++++- > > drivers/net/virtio/virtio_ethdev.c | 16 +- > > examples/vhost/main.c | 420 +++++++++++++++++--------- > > examples/vhost/main.h | 3 +- > > lib/librte_ether/rte_ethdev.c | 11 + > > lib/librte_vhost/rte_vhost_version.map | 7 + > > lib/librte_vhost/rte_virtio_net.h | 38 ++- > > lib/librte_vhost/vhost_rxtx.c | 56 +++- > > lib/librte_vhost/vhost_user/vhost-net-user.c | 27 +- > > lib/librte_vhost/vhost_user/vhost-net-user.h | 4 + > > lib/librte_vhost/vhost_user/virtio-net-user.c | 83 +++-- > > lib/librte_vhost/vhost_user/virtio-net-user.h | 10 + > > lib/librte_vhost/virtio-net.c | 181 +++++++---- > > 14 files changed, 692 insertions(+), 255 deletions(-) > >