From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 937E5A06CB; Thu, 20 Oct 2022 11:55:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89D7042D0E; Thu, 20 Oct 2022 11:55:15 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 7DEF742D0D; Thu, 20 Oct 2022 11:55:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666259713; x=1697795713; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=sCzfWYSCS+i/46pqUuijTfLGjp/zssBxjbyjopK8hwE=; b=Wcxi1AirykGClWJ7PH14YLzAZw+dK/NzoTRbM7HHzimCHLHGKUGiFKVX jhlTG4iAfzOLr77yXqbMPnLFbtFkHHYMoWmn0Rdpvbjq3EpXtwXZp0dB8 8MWJxbpvPzfbT1JLLVlUmKIRA0xsz8eFuUcCCzpnuxuil9pB44ZcbtxBU NM8ySD/ACcsDIszhS0LjvtlWV+RotlZqR6c014itD6ahS9CLBH0SCet+p Ad9UnRor9RPLVHQicnxqjbz+N8zlH/SAJapLeFrWP1TIV4B7mHcCIkaEK wPXH5nOY1aIykCpCmZ0H72VPpeDOYncAPokJrDosjybYJvqebaoKcFmrm Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="306658535" X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="306658535" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2022 02:55:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="580814571" X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="580814571" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 20 Oct 2022 02:55:11 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 20 Oct 2022 02:55:10 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 20 Oct 2022 02:55:10 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 20 Oct 2022 02:55:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aJrA/+z7XdyHzh32Vg+lk56jVjOPga6QRo2HkBY1TLB4aw4wL3jui0FUCiAH/Qxkox2qUhui7jd/UnNvRm2xI8IwBqG3cdJHQNIdMNY2q1PBSIew56c9NigrCiLf43tY5eeSd/Rr+2juXh69jczM0A/u/6YExtOXhfTWgOmMFRKAH2aYI7ppvXozoPm3ANAGvqMwurmtiBKvEPhCPoOYbJuQ0X7zc8CZHoeNCm949avh509hU6kagYzm7Jb1zm8FWJmDvfTIbtaHg2iu4uY1zSzJ9c7/5cc8mwEjhI8EfjQFnwcVCj9ObFs+5rYNSIOIdZ7ZtTAtyxMejcSLq0AS6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=U2ptaKdr/lllpq5hLBc58qRvpcOH4uWMrb/CRnH3zFs=; b=hHaZQdAXrMJJa8LAR+Q0s62HTzMl5cMBgzGRrNs1e028cwQCsL7oF22FeGG/3RWUnQxk/g/utUq78u/b/XqKlcG7wbxsSpXkWhQ1msSisv3Ylt6e0hY/A+kbZN32umSqv56GerGdWC8pg+ApxYN9h2IQesWrfn2U+Gy6orfU2Q6USuammr58qW5T+XbCYkV2Q1rdR4NgtW9pVd/W/EWOoTsEoSjcZOEhXrgN0fGv50FQdscmGNgAHHONWxqyBglJnQOVUMNayO/D3worMYStFTFdla+9jq9m0ORqy3W8uaEmq/7zZ4K3dr0MCtn5SJ/mQ0suky4qC0FGr+g4USWEFQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SA0PR11MB4670.namprd11.prod.outlook.com (2603:10b6:806:9a::8) by SN7PR11MB7539.namprd11.prod.outlook.com (2603:10b6:806:343::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Thu, 20 Oct 2022 09:55:09 +0000 Received: from SA0PR11MB4670.namprd11.prod.outlook.com ([fe80::828e:f61a:6342:a12a]) by SA0PR11MB4670.namprd11.prod.outlook.com ([fe80::828e:f61a:6342:a12a%7]) with mapi id 15.20.5723.034; Thu, 20 Oct 2022 09:55:09 +0000 From: "Ajmera, Megha" To: Stephen Hemminger , "Dumitrescu, Cristian" CC: "dev@dpdk.org" , "Singh, Jasvinder" , "stable@dpdk.org" Subject: RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config Thread-Topic: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config Thread-Index: AQHY2bZrVM3UkbCE+kqAnRCai1DYza4JMRwwgAqBTZCAAIAEMIAB7cMAgAEAIQA= Date: Thu, 20 Oct 2022 09:55:08 +0000 Message-ID: References: <20221005172239.254327-1-megha.ajmera@intel.com> <20221006190038.431828-1-megha.ajmera@intel.com> <20221006190038.431828-3-megha.ajmera@intel.com> <20221019113714.1e949cd2@hermes.local> In-Reply-To: <20221019113714.1e949cd2@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA0PR11MB4670:EE_|SN7PR11MB7539:EE_ x-ms-office365-filtering-correlation-id: 8b14f294-e62b-453e-ffb6-08dab2812c4e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QxLAnVrRsgsKvumbUFiyGus4wP5np+g5FjG3PH/UF++LOIwAT58J8Qqsw0ON8zjNhZGml+JYnhupCUbz3sv1k1dOEEWoL3YgiF836MK7cBb5j2q8nLKxu1wCu/gucrNT02bideg1KrdKyg22UJjdbZz9rE8gtaSiHr4J4+EqhwfkGR1UhqyVJumYLTnACvxmL27rDgtWBZICMrxlnJ2RMYnXbpRUvAzWsuZwlsK65XyGuSuWWrdMqLEMqXQFTGeKgSGbpJmEjwOfMX9jFEl0JQRPK4QrsxNHdYHA4KOiQ1JWFyQ5zvgIY2Vv77GJF6gwOOMcnmZd8BDvJIQ+uSdeI6hmlkmDxg8ZswpkcWMUbe+UwDOXS0EIQVcRhHmLhAQKXxeTn+nEq8JphxSf1RneOPzp/bYMWbXyveoU5IKKZzaF5sOpGTUK7UUWNImmiwoKCar5efp6/On4KEdS9u9gI6AOFvz3P/wPMTZfFFtrVcfuAuLfIITZqcONoas0TauisPPqTjkI11wTz4zIJ+27BtT6hR7Mh0TBAvH53+O/vBqV6Ja807rlaVUElwJp1k2HPLSmQStTsaiQSTKA7F1BjrZ+hhdkbNX3nskDyndLhZ3ABPpGen+A7lQVhyzZWmftyx6GSww5iqEkQzl0/eWBjxuSN9vAscnJE1/PGA6UojNkxcfzsWTo2dI1LF/PBjAv/Ik6ywebd8PCn7RZ3QD1gTZY6ZSqrwoH2l93wr3IHWSnwZEChFp+k6/Cb49OARYc85X9+1aJ23Ox6yGxwE0A8g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA0PR11MB4670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(39860400002)(346002)(376002)(396003)(136003)(451199015)(66556008)(86362001)(38100700002)(66446008)(9686003)(64756008)(26005)(82960400001)(41300700001)(122000001)(6636002)(55236004)(54906003)(5660300002)(6506007)(7696005)(316002)(38070700005)(55016003)(4326008)(8936002)(110136005)(76116006)(71200400001)(66946007)(478600001)(52536014)(33656002)(83380400001)(66476007)(8676002)(2906002)(186003)(558084003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?RgPA6KyM7Q2Rypct7oTbz5YwrV4L//QhywAJAyycWJNEqTEDdhmi9h+QPTaw?= =?us-ascii?Q?sXdsCLAZ6ZYvE0HyFSSmWoomyOyfbICWr0s0PeQdk5OElaLaZKPpmTZ+hi88?= =?us-ascii?Q?/ZPZnNbJz+qB5Wdn8NuMv6UW5MqxjtGB+JMfJm6/VgdT9OL2uGwF2NNrkc9S?= =?us-ascii?Q?RUFvfih8pIz0FTlwHEb4FJPoIZdSwax8saZqzUDh4dSdUZOwRoDx01iXYXVC?= =?us-ascii?Q?zgiT3j9YHxZMk4pC/jU59Ugmd531eXofrstHCIRXOUsa45ya0GajySZP1uUy?= =?us-ascii?Q?k9ahq0zeWd0/OBgIPPfet6Oo6EtaoP1kB+NqQ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dc3pICl54jA/T6dX6ENyfrSKX/040ZfKKiv/EFYhQUrjC174En9mbGCD5U7W?= =?us-ascii?Q?5AFdNpTu1JZLAHUT7k4B7xustDUR7H5e8/oxRbvJk9gpqXqW5tjuGd+UuMJa?= =?us-ascii?Q?1Sv6aw5oknPSd5JmHldabFcJJh7mVD3wJsi+RDJ/sEY2Hl/fhCml9MqIph0S?= =?us-ascii?Q?TBpzNCVr5WopK0LyQw+Ls7zwk7C3rtB/76A41Zl27Y1yxeRTA9+l+5iHaHDb?= =?us-ascii?Q?2ndVZhTt8CQT4yd9xTYG1Y2wrjUB10iGGaNkWSCQomp60+NLr+28MHOSMheD?= =?us-ascii?Q?2LotDjrOrkR3uhkVFIEXR3e9qtuYjpv2fCy0m9QsWOD8+Mz57Je9MuUu67co?= =?us-ascii?Q?BUc446N7mOLgIQsCpuxqsQagDflJoyW5ciesWaYH?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA0PR11MB4670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b14f294-e62b-453e-ffb6-08dab2812c4e X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2022 09:55:08.7747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TKl/ZD2iz7hwD3e7gHCynwsbwXLYS1oZg599ZadZfUfcC9Fkr94KGeN+dCS+slYFRWcXHTl1/Co1o9AY/O2esQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7539 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > > > > You need to use 'atoll', not 'atol'. And yes, typecast is still requir= ed. >=20 > The code should be using strtoull() and checking for errors. Thanks Cristian and Stephen. I have sent updated patch-series v4 for review= and commit.