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 399D0A0542; Fri, 28 Oct 2022 12:57:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5723140146; Fri, 28 Oct 2022 12:57:48 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id D641B400D5; Fri, 28 Oct 2022 12:57:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666954667; x=1698490667; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=YZJtO95eRvU93dyvEtx84rXJQqOiZw1ointUsWpntbQ=; b=awas1qBEQvfVAUJVmQjpvm0YB0TfI7kkhDpGsWmLQY/nUT+0yxVwhYPi ZwF7fcBuGpyW088lv70AvrFanb76UF1h6eLePN5bq/AYbuDRLeXLetJBf P3qBuZza/kHsEIcj8DIJorqVjMk1T24kfbuFagwIYFUQwYkQUDr0/U2lW copgD1nbmTMpoDihslu9ioLh0RldH1IC51l1GsvmB2dZpKTdbKfSnt9Ml hPciQqsSgFz1ZdhnRSM7xncNFikRhPGDlSwcykVwpb76Rqny0ynvHTroY aiAk+CfNAhlFunPf0WCn8cek/TwPefqkcDiLF1hkkr/tQe+XrmomOgQpX Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="310163429" X-IronPort-AV: E=Sophos;i="5.95,220,1661842800"; d="scan'208";a="310163429" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2022 03:57:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="701696509" X-IronPort-AV: E=Sophos;i="5.95,220,1661842800"; d="scan'208";a="701696509" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 28 Oct 2022 03:57:37 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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; Fri, 28 Oct 2022 03:57:37 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 28 Oct 2022 03:57:36 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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; Fri, 28 Oct 2022 03:57:36 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Fri, 28 Oct 2022 03:57:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JM1vVkTniYKFEs0pWv6dpWZXifHbxsEVwws2L16jOimq4IobOX7r2DybnLE/lRBpLsBX543eZtDga6VGnoaGgRniDdxqtVUyePm0DPUUfIQq2zpk0Lxqjpel89Iht/bSA4SievHtFW9X/IcOZAwo4PM1o0+WgVT+RjX6cJvjWU7GYpJjGGi8z+dRpTVHysiXAWJ43NteqTMfZSXH4ogVFPwt4MrTvDV5FwMwwIt9fEMsf9QD+ZzqSsHuIPqIufyKc9nanhhUCLEMrIo2mwfaFizkQxr9JCRQgSnp9aX7yUowKo0RPXy48rp1xWP36e16XPmUg2UCffbIq4/TgRMS3g== 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=eHV/nzVdywf+oaoVJ39jbkW8bTDeFTA0AMYyLeJU1kc=; b=Nf08P2vYv8I7pqO0xQcWP0h1+dGylhRobzaMOdnVCzoNaHbXCdF79TbdXCQzzCby8DGjI9zokV9VJpP8k0SSoPO18u46m9XTs36Ej1NRXvWnzW0rInFRfen4tBaAjXFxlH3aqBKim/28zAqhW6BECF5PaenZtEwj7OhnABRZsrQ5TLR6a5xLNhZrdyo6DpME4ttsW81X3ZLElNRYKx3oZuusZzisRkbPhUm2/mbfjTYru9eAuTRiwwVpNk8IgKBPkTBUhfh5h/C1In8dIgsPGWdRPgyhoaJb+Xj2DIJmmOsAy7UI6jpBxogn8uxORxGZhWOycvOWqA1eBu3Y6rfWUw== 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 CH0PR11MB5724.namprd11.prod.outlook.com (2603:10b6:610:101::22) by CY8PR11MB7364.namprd11.prod.outlook.com (2603:10b6:930:87::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Fri, 28 Oct 2022 10:57:35 +0000 Received: from CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::b0b3:c55:745e:9e88]) by CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::b0b3:c55:745e:9e88%6]) with mapi id 15.20.5723.041; Fri, 28 Oct 2022 10:57:35 +0000 From: "Dumitrescu, Cristian" To: "Ajmera, Megha" , "dev@dpdk.org" , "Singh, Jasvinder" , "stephen@networkplumber.org" CC: "stable@dpdk.org" Subject: RE: [PATCH v6 3/3] sched: support for 100G+ rates in subport/pipe config Thread-Topic: [PATCH v6 3/3] sched: support for 100G+ rates in subport/pipe config Thread-Index: AQHY6rPl6enUqCi4e0Cis94NRQ5Ev64joobw Date: Fri, 28 Oct 2022 10:57:35 +0000 Message-ID: References: <20221006190038.431828-1-megha.ajmera@intel.com> <20221028095531.678682-1-megha.ajmera@intel.com> <20221028095531.678682-3-megha.ajmera@intel.com> In-Reply-To: <20221028095531.678682-3-megha.ajmera@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows 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: CH0PR11MB5724:EE_|CY8PR11MB7364:EE_ x-ms-office365-filtering-correlation-id: 4ee08dba-c57f-4f56-f070-08dab8d33884 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QxGuihNqrOodI8rjbB22IdTbKzs2AHFB7PnPaeCd4smAbj6UrpVTs98RpZxdNUR99PF8ZFsnDkLrGTpzvuLJq5QaBqiaM1KP0Td+3xZy9WhOIxtzLWpZeFfooacf8xjMRSoeQZ7rNBy6VKYfKvOhZvDvXkDPy9cYcaf0ZteUB7XVne6ATvZemrtuBZ952MjyLIZF01KyEhjAxSrlj3j/UnNgJao9W30afP0TioZn6imEc5ijTYepMeRLmyplM3EZBt1ob16zCz+Zo3ANhJpadHJmnlNxLDiO9ir+6/5tdIL209zMMSfwn3MhtrpDIwnZYBf9JdSPL9V8Ta562tFpGImOjkFe5zhHHb0f6So7VGY8SbubcvyQiceaI8aQ0fSkHEloWOSnPvWFDkQkUE1SRJL41AxRURaqw3p9Y2WtckjPOJJDaRcUjCt4aO4Ui87M47NgH9g08ZqKyTYsGre0wjArUsMzeqt0xERN7Q7rOZnqChPW/LDZQ6fu43eQ+pR8r9JCLKKZI6ode+Tfp5ckqC+1EK9YxwjlI1V6d8JejS+T0bwvCgJKVHZJe7OoVaIXcj40NkfyKEee1WO/A2QynjKAvUwnyJuYAD+k/4WHUyfpJc0506WFVJ16gtmWdvVezNiKdoNMVRO7NB+eigSbxMu+UkJrlgvNSgx735YjyqgS/jov5KH1V7NQ4u3BjHXzTmKLRU8BuVWh8+1hKoide1SFqf2lYX5eenR24V5EeFh61WMl2eENyuWab5F8NFRrrdsuFyQLbhKemZprHDrTyQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5724.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(366004)(376002)(136003)(346002)(39860400002)(451199015)(66476007)(66946007)(8676002)(76116006)(64756008)(6506007)(66446008)(4326008)(66556008)(82960400001)(7696005)(186003)(2906002)(55016003)(33656002)(83380400001)(8936002)(52536014)(26005)(9686003)(4744005)(53546011)(41300700001)(86362001)(5660300002)(478600001)(71200400001)(38070700005)(110136005)(122000001)(38100700002)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?y39PRTZdmsvWM0H/+ULjn/tVu2mCc6fW6pYygkh3S4zlIp1oeHN2KIVFaBRH?= =?us-ascii?Q?CK3+MuhEA2NfvrEslJ9jQxmQ4YY1BewJkQ2Og9ltjOXPodwvkIhd6jnVUvuY?= =?us-ascii?Q?FPnjCE04im/gz+UAkoIxgyb9byHMJQh8YdPzlWQ2ndJfWON1Rt2zZzHI+bK7?= =?us-ascii?Q?GYOIdTz5FAOVi/RN41GJ/n+XAGZlqQ83P3zoKCSb2WEfDsTVNVopvPiBUgXW?= =?us-ascii?Q?FIlt/UF3M9kSGhIfQEZ+xo5+ZkgS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q?r54GSAurGY7TADYnnAA7dC7MGyJcnBRzZo6MCqgU3Dv2xStIl9F8aYrViCKQ?= =?us-ascii?Q?5z6U+3oU9LqiEDZWlWabOOEkd56ULhdKPrn1tilHzqlobLQ1IHW4pPN69uEw?= =?us-ascii?Q?4k8/8bp6hivLguNIai4ezNo7ApFcNkp8KxEbW4HP1YuVlTwr64+goYhPqpdU?= =?us-ascii?Q?4hyv2G1BFpz7sZQeP2rNoZDUinFbtqr8KPZQ1FCoOjOyFbXjXrD8V9+U9S2A?= =?us-ascii?Q?iGL35D2z1oHgr5WIYevrrSacLzdlXhGOTUZl7loHjmM5zFUOuAlez/LFIO1Y?= =?us-ascii?Q?wdddrNL+NFcUafyCa6DQbzTWYZi4nhIFQ+cfIbEr6SNta/hPdVxf8dhbIWHI?= =?us-ascii?Q?moH7kTv1BnmhfHfIPvEcvmaWSEUx/zaUqgAYKlGO2TS2PsUvzgF2eYaJ+r7W?= =?us-ascii?Q?I81F0N1uTC1CTfGloZC0RrSFXneHd4htU3Vplm5MRPUHauys3eBwWbUW49ZN?= =?us-ascii?Q?RQ=3D=3D?= 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: CH0PR11MB5724.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ee08dba-c57f-4f56-f070-08dab8d33884 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2022 10:57:35.1711 (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: nEKXB8ZZC7KxTld8inf/7U76Bwax2QdDu2OS7OGS8jZ4R1Pmt/XXAppWUcz8IFAzVCF7xLYvU9/JuqTXiKkBn/oBCICIpCiE4i4QY+Yg6n0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7364 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 > -----Original Message----- > From: Ajmera, Megha > Sent: Friday, October 28, 2022 10:56 AM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian ; > stephen@networkplumber.org > Cc: stable@dpdk.org > Subject: [PATCH v6 3/3] sched: support for 100G+ rates in subport/pipe > config >=20 > - Config load functions updated to support 100G rates > for subport and pipes. > - Added new parse function to convert string to unsigned > long long. > - Added error checks. > - Fixed format warnings. >=20 > Signed-off-by: Megha Ajmera > --- > examples/qos_sched/cfg_file.c | 179 +++++++++++++++++++++------------- > examples/qos_sched/cfg_file.h | 2 + > examples/qos_sched/init.c | 23 ++++- > 3 files changed, 133 insertions(+), 71 deletions(-) >=20 Acked-by: Cristian Dumitrescu