From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41E2FA04BB; Tue, 6 Oct 2020 17:58:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A4B7F1BA9E; Tue, 6 Oct 2020 17:58:18 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A0E751BA9A for ; Tue, 6 Oct 2020 17:58:15 +0200 (CEST) IronPort-SDR: nVGPW6F5GhxLQOhrrDwjaqIVwQTda1aYfnMmscSpNWeP8GocDjWvmD9AOS7u0OPZSFGCzGYnoy DYO0PBtZyMdA== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="163778625" X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="163778625" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 08:52:35 -0700 IronPort-SDR: I/DBtXGAeWH5OVIsVeiFvUTcEi/ZuFtg2dtx1zWNthgAezxORkYb9ydXkfuJjdeWdotpw5CFwS vd5lNq9dPeEQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="460855646" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 06 Oct 2020 08:52:34 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 6 Oct 2020 08:52:34 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 6 Oct 2020 08:52:33 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 6 Oct 2020 08:52:33 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 6 Oct 2020 08:52:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M8F7bCZawRkOyTEglZRevvF7jzUVOgkWrsKGFxjAqiZniJm1gYMoUowiCqGeFoXhkZiHtK5DNUWkQrMg7jueBSoKLBRXQEjKbkGKJFYiyMJtsGppDiu1KFigDHI/OjDjRmDVm8Y4NVt/MJo0ODDmwvfCVMeQfg6Qa4iiTIWXgUgfMnNnp38jGWoWzx6VOY05j8kWeZKPuADhp/5e8CJeqUQIXsGSyuDBnF5rJ9VG8LL0qzmV84GG0Iajr7BAjZDG0Cd5r9iIYVCT0xBEclXss8v9Bkir7AHSVA6spHtdm8ZctrWxUT5U4N4UI6w4LAZbshe9JK+KBuiQ16oeWoJixA== 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-SenderADCheck; bh=qbNQkm/YUdYCp4PVdcJv3N7kETcfYSffZsfS8mszMNU=; b=A9w9Q4Hcu2tuBlM0UHJ08DxSfQLgIBfxQ1De/M2wqJ4/pTCAZe4cd0NG3ZJNSFHN6moqb22yBHUgj/CGCCaIFhcnlZ01xqVAlmFQLYZI3SUGiI4J1IgUiS+VjEPUTjsbMyQWutdoqG0aB/G5ewWmeij6xvRt9d+ckVFBYiYlcrj1FppyGjEQk/w8MypsMvlFVezKcf8VWoK+jRVGRk/Y57RunjyyNbRAavtAXuoEX7MKoWbpoafPIk/zPDJEqFohFACVxGFHhFf2ZyMGIeL75f81gnwO3VflXQwthtJSDCyeiqTT4xHnd7d65uaxbUDlslbmdQMT2oF9EUutnNk//A== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qbNQkm/YUdYCp4PVdcJv3N7kETcfYSffZsfS8mszMNU=; b=Fi25JkI/Ln3bVql+DpsbbnDe9EduYxL4IctLIF0lq5p3Oj1pZ85PWZQkz+03GHRp5u/Qr07ReixOLbRhhgo1+rjgMZbKDitrStVRIeLFWZ3YmTZfEvkmojcMcMmp6RJyjcJV8eJ2Sl/uOoM4OKRNHqoG2KBDZcEdCkUM+k/pqZs= Received: from CY4PR11MB1702.namprd11.prod.outlook.com (2603:10b6:903:2e::8) by CY4PR1101MB2263.namprd11.prod.outlook.com (2603:10b6:910:19::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Tue, 6 Oct 2020 15:52:23 +0000 Received: from CY4PR11MB1702.namprd11.prod.outlook.com ([fe80::ddb:33e0:ba2a:e390]) by CY4PR11MB1702.namprd11.prod.outlook.com ([fe80::ddb:33e0:ba2a:e390%4]) with mapi id 15.20.3433.045; Tue, 6 Oct 2020 15:52:20 +0000 From: "Dumitrescu, Cristian" To: "Dharmappa, Savinay" , "Singh, Jasvinder" , "dev@dpdk.org" Thread-Topic: [PATCH v6 0/8] Enable dynamic config of subport bandwidth Thread-Index: AQHWm/VB8qXa4vR6mk+awMGdoXmZA6mKuStQ Date: Tue, 6 Oct 2020 15:52:20 +0000 Message-ID: References: <20200930192434.47793-1-savinay.dharmappa@intel.com> <20201006152733.52178-1-savinay.dharmappa@intel.com> In-Reply-To: <20201006152733.52178-1-savinay.dharmappa@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [109.79.102.18] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7e01d415-0591-4b17-ad71-08d86a0fcf4e x-ms-traffictypediagnostic: CY4PR1101MB2263: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3Ige7YCLwYQXx5Ra6AJcbr9K3yuNeOGPrpKsra01c6mB0RPUUBzTi5BcOajwuobsrlO2EGGvAc7LrsmvIoVecaYjKeW/Lz893mLUQyv/tRzhZy+tZUQd9A9pLUFj1bd5LVzUrVNMchtP/BAnp6nKHsKDTTWzBcLPp9r1uNlrSi8QNgtz9dyffeEyZvnrv8HRA5uVwyg/DL7WIW83rhDKvQ/7WOhr5qExi0pvl/CRonFeTMtlzvv0nkzfSdGb4+U1D+H7SexcmDoYNJpxe5TZuZuKB4Lau5LQVs8vZ3Fryc4nUTvIvtyWLbGcxrmE20A8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1702.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(39860400002)(346002)(396003)(136003)(86362001)(66476007)(6506007)(66446008)(66946007)(64756008)(52536014)(76116006)(83380400001)(33656002)(66574015)(7696005)(186003)(5660300002)(66556008)(53546011)(71200400001)(110136005)(316002)(26005)(8936002)(55016002)(2906002)(9686003)(8676002)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: VH3UMjBNNFSsHQeTuYr+Ha9Mk5RQ9Uqc2opZnv8KQjocM3YQvONO4qOMlnt00PT5xJJAZSr2mxzg4VGLoKy4pQxiHUrmps7oL2QHml0Ar0peSc6FwcljqMgd+lthf/IRkhbuTfQnpeyM6h2sqyB4ZexoceByvrbPhC81WS35uUnTSxyLDp1H/60z+BreNDEBpLFvfNKYO+6OApDTD0X3zhQJX6SJse2q6+tY23N7+b/aHcqA91pHGylLNMkHQqSsPME2PETL0sgdTk9olx28pKCa4Zun0nQ4sZ3l7Hmt/+F/OJg3ic9QLVuHJvqkQP06DHVwdg+PYiL+uSAhNClSMaKipfwi8kE0lSwI2QzA38b+sDoe4o49JATWKXSna1IHD6xxbEviXD9xTsXmgfQ/9Lm+CJCW2FbShex5iXzW2XxEe/YT8RoYHS05QY8+Q+ns9Myedr+C0sImHjL9RZIwXOXKGmsG/Ccs/8AdysKXXfDV7mJlQfuhYgyzhQiv+jy5YnL+7SMlvI0Inm4Guogo1/9YbpDciyfNeohxfab0m7ZgvjOmus7MF8P/WGO7CWvGvPLSU+gxBSug4mLklIPNiwjDaipJ9JXkqjST1Q0diW6Y9PkcXRmIiJgptLrZb/75YZG1ejQbXQFrdsPfhIbZcg== 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: CY4PR11MB1702.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e01d415-0591-4b17-ad71-08d86a0fcf4e X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2020 15:52:20.6779 (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: 9blkOThY/wDBYEnWvpJ4Jwn1wzKUuMSpUT6Ggq2/s09KhGUL7GDcm8Sxo+B37K9eYQnMzfTrBV9Ir417fFaMWiGxEBIP5x3SUFrSOn20QV0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2263 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 0/8] Enable dynamic config of subport bandwidth 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" > -----Original Message----- > From: Dharmappa, Savinay > Sent: Tuesday, October 6, 2020 4:27 PM > To: Dumitrescu, Cristian ; Singh, Jasvinde= r > ; dev@dpdk.org > Cc: Dharmappa, Savinay > Subject: [PATCH v6 0/8] Enable dynamic config of subport bandwidth >=20 > DPDK sched library allows runtime configuration of the pipe profiles to t= he > pipes of the subport once scheduler hierarchy is constructed. However, to > change the subport level bandwidth, existing hierarchy needs to be > dismantled and whole process of building hierarchy under subport nodes > needs to be repeated which might result in router downtime. Furthermore, > due to lack of dynamic configuration of the subport bandwidth profile > configuration (shaper and Traffic class rates), the user application > is unable to dynamically re-distribute the excess-bandwidth of one subpor= t > among other subports in the scheduler hierarchy. Therefore, it is also no= t > possible to adjust the subport bandwidth profile in sync with dynamic > changes in pipe profiles of subscribers who want to consume higher > bandwidth opportunistically. >=20 > This patch series implements dynamic configuration of the subport > bandwidth > profile to overcome the runtime situation when group of subscribers are n= ot > using the allotted bandwidth and dynamic bandwidth re-distribution is > needed the without making any structural changes in the hierarchy. >=20 > The implementation work includes refactoring the existing api and > data structures defined for port and subport level, new APIs for > adding subport level bandwidth profiles that can be used in runtime >=20 Acked-by: Cristian Dumitrescu