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 BE936A04B1; Thu, 27 Aug 2020 12:14:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5FE331C1B2; Thu, 27 Aug 2020 12:13:53 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 553FF1C19C for ; Thu, 27 Aug 2020 12:13:52 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 27 Aug 2020 12:13:51 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C6125B@smartserver.smartshare.dk> In-Reply-To: <20200827094333.GC569@bricha3-MOBL.ger.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [RFC] ethdev: rte_eth_rx_burst() requirements fornb_pkts Thread-Index: AdZ8Vo5l3XVQ3yCTTqaETUie25YPYQAAYw0w References: <20200827075452.1751-1-jia.guo@intel.com> <98CBD80474FA8B44BF855DF32C47DC35C61257@smartserver.smartshare.dk> <20200827090944.GA569@bricha3-MOBL.ger.corp.intel.com> <98CBD80474FA8B44BF855DF32C47DC35C6125A@smartserver.smartshare.dk> <20200827094333.GC569@bricha3-MOBL.ger.corp.intel.com> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Bruce Richardson" Cc: "Jeff Guo" , "Thomas Monjalon" , "Ferruh Yigit" , "Andrew Rybchenko" , , , , , , , , Subject: Re: [dpdk-dev] [RFC] ethdev: rte_eth_rx_burst() requirements fornb_pkts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-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