From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] doc: add preferred burst size support Date: Wed, 14 Feb 2018 00:55:55 +0100 Message-ID: <5282475.QW617zM3In@xps> References: <20180201124823.22621-1-shreyansh.jain@nxp.com> <20180205062222.27522-1-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Yang, Zhiyong" , "Yigit, Ferruh" , "Richardson, Bruce" , "Ananyev, Konstantin" , "hemant.agrawal@nxp.com" , "matan@mellanox.com" To: Shreyansh Jain Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 6289E1B2DA for ; Wed, 14 Feb 2018 00:56:06 +0100 (CET) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/02/2018 07:17, Yang, Zhiyong: > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Shreyansh Jain > > Sent: Monday, February 5, 2018 2:22 PM > > To: dev@dpdk.org > > Cc: Yigit, Ferruh ; thomas@monjalon.net; > > Richardson, Bruce ; Ananyev, Konstantin > > ; hemant.agrawal@nxp.com; > > matan@mellanox.com; Shreyansh Jain > > Subject: [dpdk-dev] [PATCH v3] doc: add preferred burst size support > > > > rte_eth_rx_burst(..,nb_pkts) function has semantic that if return value is > > smaller than requested, application can consider it end of packet stream. > > Some hardware can only support smaller burst sizes which need to be > > advertised. Similar is the case for Tx burst. > > > > This patch adds deprecation notice for rte_eth_dev_info structure as new > > members, for preferred Rx and Tx burst and ring size would be added - > > impacting the size of the structure. > > > > Signed-off-by: Shreyansh Jain > > Acked-by: Hemant Agrawal > > Acked-by: Andrew Rybchenko > > Acked-by: Bruce Richardson > > --- > > Acked-by: Zhiyong Yang Maybe that we want to re-use the same struct to define min, max and preferred sizes. For the global idea, Acked-by: Thomas Monjalon