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 729B9A04B1; Thu, 27 Aug 2020 11:31:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E83EC1C112; Thu, 27 Aug 2020 11:31:18 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 1F0001C0BC for ; Thu, 27 Aug 2020 11:31:17 +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 11:31:15 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C6125A@smartserver.smartshare.dk> In-Reply-To: <20200827090944.GA569@bricha3-MOBL.ger.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC] ethdev: rte_eth_rx_burst() requirements for nb_pkts Thread-Index: AdZ8UdYOl1TmpxRkQQ+DvA3a2QTQ7AAAJDXw References: <20200827075452.1751-1-jia.guo@intel.com> <98CBD80474FA8B44BF855DF32C47DC35C61257@smartserver.smartshare.dk> <20200827090944.GA569@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 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" PiBGcm9tOiBCcnVjZSBSaWNoYXJkc29uIFttY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