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 17:31:59 +0100 Message-ID: <10854628.KyNNLvJU2P@xps> References: <20180201124823.22621-1-shreyansh.jain@nxp.com> <5282475.QW617zM3In@xps> 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 889681B1D9 for ; Wed, 14 Feb 2018 17:32:12 +0100 (CET) In-Reply-To: <5282475.QW617zM3In@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > > 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 Applied