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 A3AF1A2EDB for ; Fri, 6 Sep 2019 11:00:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA6CF1F220; Fri, 6 Sep 2019 11:00:37 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A21301F21F for ; Fri, 6 Sep 2019 11:00:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2019 02:00:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,472,1559545200"; d="scan'208";a="185730684" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 06 Sep 2019 02:00:34 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 6 Sep 2019 02:00:34 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 6 Sep 2019 02:00:33 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.140]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.53]) with mapi id 14.03.0439.000; Fri, 6 Sep 2019 17:00:31 +0800 From: "Liu, Yong" To: 'Ilya Maximets' , "Bie, Tiwei" , "'maxime.coquelin@redhat.com'" CC: "'dev@dpdk.org'" Thread-Topic: [dpdk-dev] [PATCH v1 02/14] vhost: add burst enqueue function for packed ring Thread-Index: AQHVY8TLwxJ6oPf880Krx+ELrrCn7KccXGWAgAGAl7CAAHMSEA== Date: Fri, 6 Sep 2019 09:00:31 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E6339C5EF@SHSMSX103.ccr.corp.intel.com> References: <20190905161421.55981-3-yong.liu@intel.com> <9674491d-4ce0-ea60-e92c-4be2e3d540b8@samsung.com> <86228AFD5BCD8E4EBFD2B90117B5E81E6339BAE9@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E6339BAE9@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTVmNjI2OTctMmNmMi00Zjk3LTg1YjktOGJjMGUwZDg5MjNhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT0xDSE9tZWt0cm5ZNWlmY1lCV0ZVWG9YaUZYRklrcFAzRlJVU0lTVDVCeXU1b1wvclEzdVVCbmp0cG82ZEdHdlEifQ== 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] [PATCH v1 02/14] vhost: add burst enqueue function for packed ring 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-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