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 7FB1CA04FD; Mon, 30 May 2022 12:59:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 236C942B75; Mon, 30 May 2022 12:59:25 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 9F613400D6 for ; Mon, 30 May 2022 12:59:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653908363; x=1685444363; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BU8aBsTXysW9XMPdH1fnJUXHDfKy9/NiUV8q/zPhH5Y=; b=kJnjXIMYQRv0b/QH+hjVQBF6ZrJA9sbFGrmh8gIZYVnspZsn4Uzed9s2 XTpjN8sijutOb4r+xFuDQOss25eAeT+Zt5f69f10lrlNcAkjD6TQzF8Wk WQXWy/aMCUAHt9FOg9TEe6mWYryqQRWofDvII+8+YoCvoGHJe15br81cG DRkJdVz/wDe589fzQcU30OP/8kaqTcH7xRLfMh33vY3C7nqsnwdtIHD9q BoKkSL12IyCWq+aE4Zehqo/hnaVoFsMGSK+l+Ho/uJeaDHQguTcQY4jY6 u6aTeJSIwahE/JcYVu4ooM5olkqFZwZLUv2qpfVQbyJEoNaPry75LsU6c A==; X-IronPort-AV: E=McAfee;i="6400,9594,10362"; a="274970476" X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="274970476" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 03:59:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="580632254" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga007.fm.intel.com with ESMTP; 30 May 2022 03:58:50 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 30 May 2022 03:58:47 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 30 May 2022 03:58:47 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 30 May 2022 03:58:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KOwqo7qXTeVHMT44AXUqPSFu6NxGATy8MIwlgH5Uj90yjs1igSWaUrehrQU727iHcWqkxmYQKjwVbLYJVtFDsW6drKeLXZ5vTUbwIgHj3Og2fTpudxUAbF+Sy7CorUjANAXudrJhrOGjxynLBFA0Y2Axtfo/hSbVew2N4F5wnuH3XNigWdBYXnPFyBL+xca8mNZ78BDMq4xxB3hMGfAWsySUihck1gA8rKVXF9wS4jvK40zR2DMLfv/xymCdgx426n6UuuBsYTp2IIkkbpRyjW/NbhmqZKMcxcnUu2QMyE2zXRRTTieyKyh99op/o753KX/78e5qt+atN8//ppxFnA== 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=Mlja2E6vKf6nETla6pZx3mJ8cLLvydQslhzcuAM0uxg=; b=eTHAeXPDNbqkfg/KdNUMNn+LcfDgDo6bXS58wl64WXdeGbZ/O8zI3HTNtRp3Lebz3Qn7cGO0ia8lJ0jY5t8xYYoGr+HpfPWwER6JFEN6FulxA93CvlljTUAvFG3L2p9DrHpwKtKvSnryuQY4FFsc0P6NJgXop3NIsWLNQapnQzqG3KodlneMatdxGIs7LylqFnHpKgecFMcHzlEHhQEmbEy06zJxWibFepBPW9gZ2J+skHArZwuShOBMHve2HMji/gLbhjiI+DkBADXCcHtXCFcJvjGBlHl5y/0Wo+1MScdcNl3cTdX7gwysOZp9auYc+1S/N2hx5fAuyS7BcNquoA== 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 DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by SN6PR11MB3503.namprd11.prod.outlook.com (2603:10b6:805:ce::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Mon, 30 May 2022 10:58:45 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::89de:bffb:b66b:516b]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::89de:bffb:b66b:516b%7]) with mapi id 15.20.5293.019; Mon, 30 May 2022 10:58:45 +0000 From: "Dumitrescu, Cristian" To: "Danilewicz, MarcinX" , "dev@dpdk.org" , "Singh, Jasvinder" CC: "Ajmera, Megha" , "Liu, Yu Y" Subject: RE: [PATCH v6] sched: enable traffic class oversubscription conditionally Thread-Topic: [PATCH v6] sched: enable traffic class oversubscription conditionally Thread-Index: AQHYdAGgMporU/PU1ESxr15HtPRuLq03QAGw Date: Mon, 30 May 2022 10:58:45 +0000 Message-ID: References: <20220527000900.795357-1-marcinx.danilewicz@intel.com> <20220530084520.827724-1-marcinx.danilewicz@intel.com> In-Reply-To: <20220530084520.827724-1-marcinx.danilewicz@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-office365-filtering-correlation-id: af3fa564-71a6-4461-1062-08da422b5def x-ms-traffictypediagnostic: SN6PR11MB3503:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3Kmgba+cqOvQWotoslnTTnKl0KfF7zjlnl2LoFfWDjIoYCbe9y44+2J4rY7W4AaQoYjh7jZ7NTAkHtRpnut3lgNvowiDA8spN/QHYWy+XWnuVMP4cUQEzV8GJzqfoXrQ0FgazEkOpFeg3Yzoa3HKDrN5d6Sl5Ldgu5Fc2gfaVpohR5Bhf2ty1BF+2mSRH14FvnVgmKPtGo+Rbi5RCVrZwusdWbHRZIzjrDKsqngoNiZoGALndKvW6AtseYKpXCk1q1MU3OkFABqaSIkn9E1yE+5txEJzL8IGDKN6ZoKKCbA6Sdl1kIw+WErTZfATc2pJhlB3l5k3lf25OIdK/AxasvDVHF0h8vA1l+N7L/VgiBdgEaL61FAAhQ/Q8ei7ENY1mZH0j+GuLk62faiQUWycevd524mAFGUsfWTtOApIQJXcTzU/DgKFAb0IDabHQKSHBcczIfe8oHqx83dHMqCZYVIgNidhhNKQOhG0nCumrG4TLk9rTK9C+vj+y5EtbV5eagDfD5D1VVnlXDMDvPOsqeNegw2lMeJKjZOFh67yfYT5KQtPNeJPwHG5Z78e2ibPxgE+0tcAFxhk/NjKSCrAP4sZYigtzTgezdxccJYXvLKpN0O2gyRuoqLY/+m1MIFn+Q+o1n5cS/SHYdWJccXrugSmXwVJhgnLJu9sU7u075LDDKIon1Hcd7MEuntGPYzVUwfZ5y6n4v75dILlznfxIQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(4326008)(64756008)(8936002)(8676002)(83380400001)(33656002)(6636002)(7696005)(54906003)(66446008)(76116006)(66556008)(66476007)(52536014)(66946007)(38070700005)(508600001)(53546011)(110136005)(26005)(9686003)(4744005)(55016003)(2906002)(6506007)(86362001)(186003)(122000001)(107886003)(71200400001)(82960400001)(38100700002)(5660300002)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7+LeTyAJEud0z85GOJBnaQPTnA+9uD9HudsiyyfoSGPgB+uhB9q5cVe75rTs?= =?us-ascii?Q?X528BFmn3o+rakr9HEuIm7jlPWQDOFXeyIDAlKKGNym4NU6+w8N3Ad+xgvDI?= =?us-ascii?Q?Uenu8A9wdxomaC9he0umuyB7G+065ZrYgB8pRvoUp5R2DXUpcn3lzhOsTPEB?= =?us-ascii?Q?szDWLAx3qNg6j/YGvTfweio+94vS6jez6If8EJZCQV9GXcPBdlTPcOp2ns6Y?= =?us-ascii?Q?71zeo4db+6sU7k2qTNW388y3CA3aSRhHGAQr+8NVABwfUOfTskpcYZu64dT/?= =?us-ascii?Q?B6baYhfXFlwU9wVI4FLxDVKEZmisQY7YAb8e8/2H4kED3Uh2d5vyuUtGt0VB?= =?us-ascii?Q?kNCD9mwKAoM1v3FZUmptLXgkONzNaSSIKYl18u5cXz9ZLS0LWXwW9xUBaj8C?= =?us-ascii?Q?ka6MS6VT9aDjyTcXkpiOy6slr4Rt82oE3BH7+201zcglU6sdacKb6v+g6NBN?= =?us-ascii?Q?jMk1mYvvZoZsxgGvkPFsUTMnM8B1DDntNk64RgDamH1uaoPyJX6pmyK+ts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mbigXGpSvKW3dr7olucBdr1L6uYt5?= =?us-ascii?Q?QnUXbRdFP0QQz+BV6cvPUh90T36opLrj+e8K8FyaH7HNlSBbamlvgnb1lwwY?= =?us-ascii?Q?iDESiCPMrC1/YkHrRgcVVXpK0XPYqcrNphzlbTEW2m9SX475ncTrJGaKORoN?= =?us-ascii?Q?jwCWr6hSUVZG4uYR4kyJEqWSgh3fI9aB4ndl+Fr2V5he4lMPAIs//UTgIth8?= =?us-ascii?Q?s2Up/hcvgBRpfSRl/HrFao4FPZ1cm3f/8ANG0lh3db9pc+EKsljGb5vrS4DI?= =?us-ascii?Q?J+DileuZRoOPX1zPTzt8S8BHb4M95Cz/wEF3ZEtVFCMBaCDrsSen18GtgQmr?= =?us-ascii?Q?tcI+JGTei9IvRIMFrUxoXhsXTYKnN0U=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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af3fa564-71a6-4461-1062-08da422b5def X-MS-Exchange-CrossTenant-originalarrivaltime: 30 May 2022 10:58:45.3009 (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: BBwbYk0KYcTlo0AWB0sc0UHdD0ry7gMAFLKcimK2XHDLE/z1rojr6sG7Ea+PqTawatnoGxY4SXPRaASixIleTAUkpDmkaGyEBH1D0VhFTlc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3503 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: Danilewicz, MarcinX > Sent: Monday, May 30, 2022 9:45 AM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Ajmera, Megha > Subject: [PATCH v6] sched: enable traffic class oversubscription conditio= nally >=20 > Added new API to enable or disable TC over subscription for best > effort traffic class at subport level. > Added changes after review and increased throughput. >=20 > By default TC OV is disabled. > History: > - v1 - TC OV disabled by default > - v2 - throughput improvements > - v3, v4, v5 - changes from comments > - v6 - removed rte_sched_subport_tc_ov_config declaration and map The place of the history log is not here. If you put it here, it will be pi= cked up by the commit, which is not what you want. >=20 > Signed-off-by: Marcin Danilewicz > --- This is the place to put the history log. > lib/sched/rte_sched.c | 96 > +++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 93 insertions(+), 3 deletions(-) >=20