From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E2C032122C; Tue, 13 Feb 2018 18:56:05 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 13 Feb 2018 18:56:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=qfkCctnDnJvaknkVglI5HeCI02 0nk1xll1oYQRSb9s4=; b=axs0o3TqQLG41/9p5+5dVRx5NwDFbLnGxppSxe2MkU bCwZqAyXvkUtzq69g+o3rV1NEetHojimuxw2qO9PnQwERg7qvk4HYbKh9oEnuFl3 jWkEBgjkhh6TqMlM0BX2q0rZN0bDtzl548X9mTtwj5vPPtyE4gJK3g6KQ6BwirPz 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=qfkCct nDnJvaknkVglI5HeCI020nk1xll1oYQRSb9s4=; b=bb12n7XzOxAql4gH2cZifQ 2nLeh8tSQgVkEIsI8VVJo9j3L9TogDtFI3Nk0kknKEckmPGjy28Bsx9yKl8qotnR HbOM2hOecKjckfHrCmpfUHd8qzED4M+RSVef4nyzB5BZ9GhVxnd1tzlREPnJb95m iOkG2F04AqpoNEtuU/bbKUQR5G+Um4eGYZfCoDXQAnvhWLXGRQ7BlFcTaFuYQm9P Kj0oey7ZnF7BlFhzZcTj4g1Nu0OiGGim3nhd59miJgPl+ysP/TOisQ0ZEvI596RN fsBSk3sM5KegzFij7AgY8j5EgO234KlTcTzqNhsoe3nQdzY/BVFa9nROzZ5FAiyQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9248624466; Tue, 13 Feb 2018 18:56:05 -0500 (EST) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org, "Yang, Zhiyong" , "Yigit, Ferruh" , "Richardson, Bruce" , "Ananyev, Konstantin" , "hemant.agrawal@nxp.com" , "matan@mellanox.com" Date: Wed, 14 Feb 2018 00:55:55 +0100 Message-ID: <5282475.QW617zM3In@xps> In-Reply-To: References: <20180201124823.22621-1-shreyansh.jain@nxp.com> <20180205062222.27522-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] doc: add preferred burst size support 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: , X-List-Received-Date: Tue, 13 Feb 2018 23:56:06 -0000 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