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 140CCA0350; Mon, 11 May 2020 10:40:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DEBBC1C234; Mon, 11 May 2020 10:40:06 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 0403B1C123 for ; Mon, 11 May 2020 10:40:04 +0200 (CEST) IronPort-SDR: E2QfrJVjbY1y/BSNp0WG7NcvXjIBs6oRjwEeIpANe5bfOhkY7k7ZnkYUDF1a9xmsa7PEe48oMW yaehgjlSb3qg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2020 01:40:04 -0700 IronPort-SDR: FVMFLZ7jPTMbTt2U9zt7oLDIIyD4MiRgo5DNTJkFHwLh0pF0hw3+Qf6vg6IWTn837Um2SZHxTM e3KsY/KDTd1g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,379,1583222400"; d="scan'208";a="296876426" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 11 May 2020 01:40:04 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 11 May 2020 01:40:03 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 11 May 2020 16:40:01 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Mon, 11 May 2020 16:40:01 +0800 From: "Wang, Haiyue" To: Prashant Upadhyaya CC: "dev@dpdk.org" , "Ye, Xiaolong" Thread-Topic: [dpdk-dev] Regarding rte_eth_rx_burst Thread-Index: AQHWJtQ36Jx72n7gME6qMZfFs+JD/KihjsTwgABPwwCAAItJ8P//n56AgACGngA= Date: Mon, 11 May 2020 08:40:01 +0000 Message-ID: <8e091591c1d4428ea8220233f6e72570@intel.com> References: <2b48bda28dc245e0a9841d385c3a717f@intel.com> <3e437bd9f8154c9d972bebcd32860352@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] Regarding rte_eth_rx_burst 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" K1hpYW9sb25nLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFByYXNo YW50IFVwYWRoeWF5YSA8cHJhdXBhZGh5YXlhQGdtYWlsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBN YXkgMTEsIDIwMjAgMTY6MzINCj4gVG86IFdhbmcsIEhhaXl1ZSA8aGFpeXVlLndhbmdAaW50ZWwu Y29tPg0KPiBDYzogZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFJlZ2Fy ZGluZyBydGVfZXRoX3J4X2J1cnN0DQo+IA0KPiBUaGUgcmVhc29uIGZvciAxIG1idWYgaXMgYXBw bGlj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