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 BBFE9A04BB; Tue, 6 Oct 2020 21:05:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CFFB611A4; Tue, 6 Oct 2020 21:05:14 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 38A641023 for ; Tue, 6 Oct 2020 21:05:13 +0200 (CEST) IronPort-SDR: jDzl3QlDckdyFBzyfxxOKJTjskaSORpxitV5Et+FDOjxBtq1XNW22cdIPmrPpQm5ju3TepqQgS 3YasETliEq6A== X-IronPort-AV: E=McAfee;i="6000,8403,9766"; a="163867568" X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="163867568" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 12:05:08 -0700 IronPort-SDR: Ryy9W/a3btgMrx3W1oU23ivV0/staiJUuRp81nFSOiyImIyu7al1J4G111XyJ5DDPDZ2UZzOl5 9kQkk+RQllPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="517382620" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 06 Oct 2020 12:05:08 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.1713.5; Tue, 6 Oct 2020 12:05:07 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) 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 12:05:07 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (134.134.137.103) 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 12:05:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iMwgyZk3t9kIoACVeoioOX7fv7EYBJxXpJS7Cin7ggSpiRxFdNrRLb2nrW1N+7ro+Qzrkycasrojkkxot2Z+7i6udoGV0YE1TX5CLf29BobtlEs0XCQYcDJOz+7h5vnQGNPpwioKeKcGm73PxLGAbFXVHTlk4pdxnESHaXRYpXENRSYTlgPuX79ugJVdl5ze4xZeCg1tWn1ME2Rzh7tPKdPxrlzQ0lHsCl68zfNfwrcAMySekUxvsz9JNvAPS49I70I6F1nGSTd6/Ka/6TD+JnGaIvA3K7l/H1BIAifCjzVzL52wKrHnrcYf2VM7ETN3RS100H9lkOInFuDGneHluQ== 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=O+7iGVV8TDVLYFsYs0Rgb47t6ibg6az1ddo49zdWLIc=; b=CRPHzLrdzycaMU3BFb+tKAJbCMgR4CAWfpxOO5QRhxlF7RHRZ/UBokNfRj0pb/nP9In0Gjgekx9IIFEuuIoDqfI53pqNyxpNxIiNoM3JkU2dseA5CIiNWvKnum3bHSzzJVLfKCDjCj8pGYS2sYTldGpOtxQ1mwBAo/UUJP6kgNPPHoA52gfK7cyERU7WrEfNYEgZz7aDxGtdU9O6gCKwZKpb3PDcrJPfFk61t/DVmrrSC6A9rwuF81jKLS55sJrHiRph8V42s2ikse5NRPbU6uoETMYua/q2OLVmzFx/0THTCnz/ND2jRhOKSeRUmsrQXR0uaZVZ77aj6/1Cihv16Q== 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=O+7iGVV8TDVLYFsYs0Rgb47t6ibg6az1ddo49zdWLIc=; b=e7Bp6NQjDRDyQjffTuQOayaoZDy9tHp4QGMV0/+8EJdw+cspquKfEcMKxJoAqk1LJakgRxs994JVF0jCq5SLRoccjpek7852Y/I/yP6hZ9sQkms0sPaKhdiF+mZTo/p05yfQm1EYd7ilgegZXZghCMahkON+yd0V+13GjHDzMQA= 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 19:05:06 +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 19:05:06 +0000 From: "Dumitrescu, Cristian" To: "Dharmappa, Savinay" , "Singh, Jasvinder" , "dev@dpdk.org" Thread-Topic: [PATCH v7 0/8] Enable dynamic config of subport bandwidth Thread-Index: AQHWnAsD1MFjlrY5S0GW8+k9RfMC2qmK7vAQ Date: Tue, 6 Oct 2020 19:05:05 +0000 Message-ID: References: <20201006152733.52178-1-savinay.dharmappa@intel.com> <20201006180233.15793-1-savinay.dharmappa@intel.com> In-Reply-To: <20201006180233.15793-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: 6dd167d5-f497-4238-01b4-08d86a2abcbf 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: h62qgyvsVYQnBYsxv+CuNgnJcKskufJlCNnDDNBAXjUeceDL4VngeZBUKKUtPaNZhpZ6jRADSuCat00g2Kewz5EQgH4+j04n/KNQwZFrljkjR4Lius8DjFd2dviRAT4m7icdFfpbmUnMn/WydhKLCqldOhPG4s5/wUBO63m18gxMFIk6NL5ZH24hlwkdnwVqLHRQRcS9jdXwDji3PW8XrNZWn+scAtWZ3a1vx9TcPIAsgyPX/xhMP4+pnU7ViPHSTARARnLZbe5Iopn3HA3f8fyJfJsFy4LcLP+tFwX71dNPrzwT5KbcxBhik1vegLZXq4lWeE1U+tfwQwFva/9ZGA== 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)(136003)(346002)(39860400002)(396003)(376002)(366004)(55016002)(8936002)(2906002)(8676002)(478600001)(9686003)(66946007)(64756008)(52536014)(6506007)(66446008)(83380400001)(33656002)(66574015)(76116006)(86362001)(66476007)(110136005)(316002)(26005)(5660300002)(7696005)(186003)(71200400001)(66556008)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Ciy8fJeVyAQRAX85gS31kh8xKL8dzNzUdjR5rGxDWyaqF8yBq1qdJkBtPBhR9zS/NE5cP6EoeCBX/t95x+G66xnasduzBBKYElN5glm4l1ZVUtTHLXMbktlmhiYoJVVdN3Wr0EaSlvwTORhA55UEu/NoLyE1fgXB7U3F1Ri/YFDkYpelzVJ/CkRKLKDVNAfe73+cbpA/l1OCUFa550/ALrkJA5t/BpAsyPY6d/K1nA+sQ62/4sDpF7yEnEoER9BhnF4yjYbA+UcnO0CvBOfdgQf7P4687Tvvm+T1iBiyJFvvtUrNoXxpZNgcomJ9tQYs0iGhLAszCkq3L6pBtPcxsCvvg0wHBmmI+kv7fKFxeKneE3iTx+ALkJZzw/UbEul53Kj/X+QV982/D5v3sMmSGYrVkMtNh/S4Gb6YMhTYOpV7E2dtZIhjbVT8eWcfdaW+a690IiPLx2ZQjPhdvwkqhWFJfDuVtTXd0w3ounmTdsvedIGWewDX5T9xZmI9QJ3WzYm2lGzWkqja3yzT76T9nP+I5+0cwdxnLK0Ow0dzkh5xH08vyW16chBxksmRcGTfFbJlSpITPaouTQzWT5EY+tCW23M+fKctInssAYT3qhXY60QGm6WZMCBRKI6BivA0QIenJa6Ni1t2O2Nx+lqYSA== 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: 6dd167d5-f497-4238-01b4-08d86a2abcbf X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2020 19:05:05.9880 (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: v4Mbdze/kN3vtE8VR+FZqCHuMTGTuHEu8h1hOTBtjhD6GDUgodYhCDD7O7NZ9Kc6zZfSRU9elo5OE/ZjCQJmJsgeI2sWIKRp2PUN6x+Jr2w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2263 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v7 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 7:02 PM > To: Dumitrescu, Cristian ; Singh, Jasvinde= r > ; dev@dpdk.org > Cc: Dharmappa, Savinay > Subject: [PATCH v7 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 > Savinay Dharmappa (8): > sched: add support profile table > sched: introduce subport profile add function > sched: update subport rate dynamically > example/qos_sched: update subport rate dynamically > example/ip_pipeline: update subport rate dynamically > drivers/softnic: update subport rate dynamically > app/test_sched: update subport rate dynamically > sched: remove redundant code >=20 > app/test/test_sched.c | 15 +- > doc/guides/rel_notes/deprecation.rst | 6 - > doc/guides/rel_notes/release_20_11.rst | 1 + > .../net/softnic/rte_eth_softnic_internals.h | 11 +- > drivers/net/softnic/rte_eth_softnic_tm.c | 243 +++++-- > examples/ip_pipeline/cli.c | 68 +- > examples/ip_pipeline/tmgr.c | 121 +++- > examples/ip_pipeline/tmgr.h | 5 +- > examples/qos_sched/cfg_file.c | 151 ++-- > examples/qos_sched/cfg_file.h | 4 + > examples/qos_sched/init.c | 21 +- > examples/qos_sched/main.h | 1 + > examples/qos_sched/profile.cfg | 3 + > lib/librte_sched/rte_sched.c | 678 ++++++++++++------ > lib/librte_sched/rte_sched.h | 73 +- > lib/librte_sched/rte_sched_version.map | 2 + > 16 files changed, 958 insertions(+), 445 deletions(-) >=20 > -- > 2.17.1 Series-acked-by: Cristian Dumitrescu