From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DFD6A0471 for ; Tue, 13 Aug 2019 11:09:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A9CFF1B13C; Tue, 13 Aug 2019 11:09:52 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id F297E378B for ; Tue, 13 Aug 2019 11:09:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 02:02:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,380,1559545200"; d="scan'208";a="181126763" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 13 Aug 2019 02:02:29 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 13 Aug 2019 02:02:28 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 13 Aug 2019 02:02:28 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 13 Aug 2019 02:02:28 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 17:02:26 +0800 From: "Liu, Yong" To: Jason Wang CC: "dev@dpdk.org" , "Bie, Tiwei" , "maxime.coquelin@redhat.com" Thread-Topic: [dpdk-dev] [RFC PATCH 02/13] add vhost packed ring fast enqueue function Thread-Index: AQHVNW+ymWTFpibWfEG+i94sRsNonabCvtGAgAC2psCAANbsgIAA4YwA//9+a4CANFEMMA== Date: Tue, 13 Aug 2019 09:02:25 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E63369B33@SHSMSX103.ccr.corp.intel.com> References: <20190708171320.38802-1-yong.liu@intel.com> <20190708171320.38802-3-yong.liu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E63334CE6@SHSMSX103.ccr.corp.intel.com> <435a2d7c-4751-95e7-73d7-9e519a3a893a@redhat.com> <86228AFD5BCD8E4EBFD2B90117B5E81E63335C81@SHSMSX103.ccr.corp.intel.com> <25f7d7e5-899b-ca04-30c0-c84ce1fd4210@redhat.com> In-Reply-To: <25f7d7e5-899b-ca04-30c0-c84ce1fd4210@redhat.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWFlMDI2OWUtNGM2My00Nzk5LTk3ZDQtNDk0MjA0NmFmY2EwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibHJTNVU0bHdxa2pSbzhRbFhXa09rU0JqbEVxdW1nVTlUN1lleU1ZTUZqY2ZZbTBEUTBPVlhGNjZoandqeVJCZiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC PATCH 02/13] add vhost packed ring fast enqueue function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgSmFzb24sDQpVbnJvbGxlZCBvcHRpb24gZWZmZWN0IGlzIGhpZ2hseSBkZXBlbmRlbnQgb24g Y29tcGlsZXJzLiBKdXN0IHRyaWVkIHNvbWUgY29tcGlsZXJzIGFyb3VuZCBteSBzaWRlLg0KVmhv c3QgZW4tcXVldWUvZGUtcXVldWUgcGF0aCBpcyBzZXBhcmF0ZWQgaW50byBzbWFsbCBwYXJ0cyB3 aGljaCBjYW4gYXNzdXJlIGNvbXBpbGVycyBjYW4gZG8gdW5yb2xsIG9wdGltaXphdGlvbi4NClNp bmNlIG9ubHkgR0NDOCBzdXBwb3J0IHVucm9sbCBwcm9ncmFtLCBvbmx5IEdDQzggYWRkZWQgIiNw cmFnbWEgR0NDIHVucm9sbCIuDQoNCkdDQzggYW5kIENsYW5nIHNob3duIG11Y2ggbGVzcyBwZXJm b3JtYW5jZSBnYXAgdGhhbiBJQ0MgYW5kIGVsZGVyIEdDQy4gDQpOb3cgd2UgaGF2ZSBvbmUgYmV0 dGVyIHBlcmZvcm1hbmNlIHdpdGggZml4ZWQgYmF0Y2ggdmVyc2lvbiBjb2RlIGFuZCBhbm90aGVy IGxlc3MgcGVyZm9ybWFuY2Ugd2l0aCBhdXRvIHVucm9sbGVkIHZlcnNpb24uDQpXaGF0J3MgeW91 ciBvcHRpb24gb24gdGhlIGNob2ljZT8gVGh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