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 31CFEA04B1; Thu, 27 Aug 2020 10:40:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A78A1C0CA; Thu, 27 Aug 2020 10:40:14 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 12CCD1C0B9 for ; Thu, 27 Aug 2020 10:40:13 +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 10:40:11 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C61257@smartserver.smartshare.dk> In-Reply-To: <20200827075452.1751-1-jia.guo@intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC] ethdev: rte_eth_rx_burst() requirements for nb_pkts Thread-Index: AdZ8R8jkkhHNfYbLRZ6D/FjIjkAeSwAAXXQw References: <20200827075452.1751-1-jia.guo@intel.com> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Jeff Guo" , "Thomas Monjalon" , "Ferruh Yigit" , "Andrew Rybchenko" Cc: , , , , , , , , , Subject: [dpdk-dev] [RFC] ethdev: rte_eth_rx_burst() requirements for nb_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-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SmVmZiBhbmQgRXRoZXJuZXQgQVBJIG1haW50YWluZXJzIFRob21hcywgRmVycnVoIGFuZCBBbmRy ZXcsDQoNCkknbSBoaWphY2tpbmcgdGhpcyBwYXRjaCB0aHJlYWQgdG8g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