From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 51CE9A05DC for ; Sun, 9 Jun 2019 16:34:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3DCA91BD7D; Sun, 9 Jun 2019 16:34:00 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id B1D851BD75 for ; Sun, 9 Jun 2019 16:33:58 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us5.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id D3DC0A4005A; Sun, 9 Jun 2019 14:33:56 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 9 Jun 2019 15:33:49 +0100 To: Sunil Kumar Kori , , , , , CC: References: <1558946129-5816-1-git-send-email-skori@marvell.com> <1558946129-5816-2-git-send-email-skori@marvell.com> From: Andrew Rybchenko Message-ID: Date: Sun, 9 Jun 2019 17:33:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <1558946129-5816-2-git-send-email-skori@marvell.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24664.003 X-TM-AS-Result: No-1.213700-8.000000-10 X-TMASE-MatchedRID: +c13yJDs9004Q7K/HmUF5/ZvT2zYoYOwC/ExpXrHizw26TIMgH4dujpG /1g33tjm//xggD71efgfeR1rUpyUfVNnI/5LcZVgUeavKZUnS5C2InV6AaP6leJiUqjHevI033p XY2CsQeI+EOK1uR0YgpGTpe1iiCJq71zr0FZRMbBcO65jrNll89mzcdRxL+xwKrauXd3MZDX8fV 1p0lVnL2XmU8+Paqw1+iqfT3azD020klI+gP+e7pHoqinMhW7N4ptM43Yt6YX2vc+d7bPnScLL4 hQjLn+dQHKmnoya64TktbyhRJHSSQbEQIfFpkwHBtlgFh29qnpKzBwu5JpklnOUuoTXM7r4Qwym txuJ6y0= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.213700-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24664.003 X-MDID: 1560090837-3URI09lf1azR Subject: Re: [dpdk-dev] [PATCH 1/2] lib/librte_ethdev: add in default value of rte_eth_dev_info 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" On 5/27/19 11:35 AM, Sunil Kumar Kori wrote: > rte_eth_dev_info structure exposes, nb_seg_max & nb_mtu_seg_max > to provide maximum number of supported segments for a given platform. > > Defining UINT16_MAX as default value of above mentioned variables to > expose support of infinite/maximum segments. > > Based on above values, application can decide best size for buffers > while creating mbuf pool. > > Signed-off-by: Sunil Kumar Kori Acked-by: Andrew Rybchenko