From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cmailsend04.nm.naver.com (cmailsend04.nm.naver.com [125.209.208.213]) by dpdk.org (Postfix) with ESMTP id BD6AD8E83 for ; Tue, 20 Oct 2015 08:12:53 +0200 (CEST) Received: (qmail 32082 invoked by uid 100); 20 Oct 2015 06:12:51 -0000 Received: from 10.114.49.163 (HELO cweb01.nm.nhnsystem.com) (10.114.49.163) by cmailsend04.nm.naver.com with SMTP;20 Oct 2015 06:12:51 -0000 Date: Tue, 20 Oct 2015 15:12:51 +0900 (KST) From: =?UTF-8?B?7LWc7J217ISx?= To: dev@dpdk.org Message-ID: 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 Subject: [dpdk-dev] =?utf-8?q?_When_I_run_test-pmd=2C_most_of_received_pac?= =?utf-8?q?kets=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: Tue, 20 Oct 2015 06:12:54 -0000 RGVhciBEUERLIGV4cGVydHMuCiAKVGhhbmsgeW91IHZlcnkgbXVjaCBmb3IgeW91ciBiZXN0IGdy ZWF0IGVmZm9ydHMgYW5kIHByZWNpb3VzIGFuc3dlcnMuCiAKIApXaGVuIEkgcnVuIHRlc3QtcG1k LCBtb3N0IG9mIHJlY2VpdmVkIHBhY2tldHMgYXJlIFJYLWVycm9yLgogClRoZSBjb21wdXRlciBo YXMgdHdvIDEwR2JFIHBvcnRzIEludGVsIE5JQyBhbmQgdGhlIHR3byBwb3J0cyBhcmUgbG9vcC1i YWNrZWQgZWFjaCBvdGhlci4KIApUaGUgcmVzdWx0IHNob3dzIHRoYX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bCByZWFsbHkgYXBw cmVjaWF0ZSBpZiBJIGNhbiBiZSBnaXZlbiBhbnkgYWR2aWNlIGFuZCBhbnN3ZXJzLgogClRoYW5r IHlvdSB2ZXJ5IG11Y2guCiAKU2luY2VyZWx5IFlvdXJzLAogCkljay1TdW5nIENob2kuCgo= >From huawei.xie@intel.com Tue Oct 20 08:16:29 2015 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 798AA8E86 for ; Tue, 20 Oct 2015 08:16:29 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 19 Oct 2015 23:16:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,706,1437462000"; d="scan'208";a="814968361" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 19 Oct 2015 23:16:26 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 19 Oct 2015 23:16:26 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 19 Oct 2015 23:16:26 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.47]) with mapi id 14.03.0248.002; Tue, 20 Oct 2015 14:16:24 +0800 From: "Xie, Huawei" To: Yuanhan Liu , "dev@dpdk.org" Thread-Topic: [PATCH v6 09/13] vhost: add API bind a virtq to a specific core Thread-Index: AdEK/tgBh9C5OonSTnacCoSibjQ7HA== Date: Tue, 20 Oct 2015 06:16:23 +0000 Message-ID: References: <1444369572-1157-1-git-send-email-yuanhan.liu@linux.intel.com> <1444369572-1157-10-git-send-email-yuanhan.liu@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "marcel@redhat.com" , Changchun Ouyang , "Michael S. Tsirkin" Subject: Re: [dpdk-dev] [PATCH v6 09/13] vhost: add API bind a virtq to a specific core 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: Tue, 20 Oct 2015 06:16:30 -0000 On 10/9/2015 1:46 PM, Yuanhan Liu wrote:=0A= > From: Changchun Ouyang =0A= >=0A= > The new API rte_vhost_core_id_set() is to bind a virtq to a specific=0A= > core, while the another API rte_vhost_core_id_get() is for getting=0A= > the bind core for a virtq.=0A= Where is the absolute necessity to put switching/application logic into=0A= vhost virt queue structure?=0A= Besides, suggest seperate vhost example patchset and vhost library=0A= patchset so that if we have issue with one, it doesn't stop another=0A= being merged.=0A= >=0A= > The usage, which will be introduced soon, could be find at examles/vhost/= main.c.=0A= >=0A= > Signed-off-by: Changchun Ouyang =0A= > Signed-off-by: Yuanhan Liu =0A= > ---=0A= =0A=