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 D263DA04FD; Mon, 30 May 2022 12:35:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 721F642B75; Mon, 30 May 2022 12:35:57 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id E67C5400D6 for ; Mon, 30 May 2022 12:35:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653906956; x=1685442956; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+97cc3/tYzyU0p0vrXmrSKtlVlo9ahi+0vyZeH0tVbU=; b=VDVEII3DFGOL1/kaqw/0C93idNm6/hFBxZMDGVR3HVeoEIIZCDw2y4b6 wf+hKZaGtlvzSWyj9lmYpVhCl1C7wi7zMDeyut4XK5C4UFLMiNM5CYL2a VOoLd3A202LZqCm05Z2bftoS/IqKCoWHGhb3rqbI/CiBB2H9Ohf3+tzij iS4Ga+B7WfjejRdnotnNVHlIhjAoiy3ZUU8cLicUoHdLHylNLQlcFslVY KLg2637ePA83AUJ+GLWaQw9HDkbOFN2umJ0EMsELkSMmxTV3VXlmZ2O48 clQLcH6ZMBNERqOk+BmcG4UaALjntCwscj5WzPYovNvbL/JGRtviqzBgh g==; X-IronPort-AV: E=McAfee;i="6400,9594,10362"; a="272535136" X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="272535136" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 03:35:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="706106386" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 30 May 2022 03:35:54 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2308.27; Mon, 30 May 2022 03:35:54 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2308.27 via Frontend Transport; Mon, 30 May 2022 03:35:54 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.172) by edgegateway.intel.com (192.55.55.71) 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:35:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JnSZe2u9P/GzDmGdWkcy1imYkljPG4rph1Wrc7AiE5VPWuK621Tu5iYeak/UzkDwDtRpPHZ47PN8lUIVuNw9whlF+fIQa0z/zja7M0dt/LVV2d3DdaK0xqXwfc9vpFZ+SFVTwAsg68oAinisfgfOeNgd/fRwOt/qKyPiskStVf5Xjc7bIgIcCrtwUioLyQgXn4CmBnalD54JDlynOEum2R/k6EBMKvB62S8Gbjcb1W/9BpC48KxnulVCBPWpJ1M3mDxNjhGZk8RUDP5mZdMXq38N3aLwjuBza8trADVtejKJdd6HWc8TYtG6uPgrH332MdsWq2EDwOxin/VKUTsLog== 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=8NwPr18IP7ifFqHTjNCR/4W/daZ8iEHxACepu5TaB1E=; b=Wzho+oM9iRDbpCnkt5ZQD6+fjGC1YoV/nKNRynRBK0enOcLMmFkPxGth5Jmz6AfwbPFlXWfA61n1zcCaNt4wAae/flJxW+8Pxz3JdrXi51g3TYIXXljGQqfyjzqbhvVxTtAkJbZSWv5kpk5Nny++B2z8quajywYE0H42p3fBS9WFYKg0mghv0Q054pQ2MW2NKZaLiPCp0jrwaWBmmrgBk/u0m1eAH9TlRY7mwTA+PZg4kWhag9DAX82tnaHKOwyZjCaE77QTMMwizbrIyynN5u/Md02paJ/wSR0Vf+sXBT9Gp5TTI6CwGFeQAviW/p6S/My2b1xYCJOkI1n3ToWGbg== 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 CY4PR11MB1752.namprd11.prod.outlook.com (2603:10b6:903:11a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.16; Mon, 30 May 2022 10:35:53 +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:35:53 +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/PU1ESxr15HtPRuLq03OUOw Date: Mon, 30 May 2022 10:35:52 +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: e13f5450-05f7-4b9e-cc76-08da42282be8 x-ms-traffictypediagnostic: CY4PR11MB1752: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: U9PDYeL+Ruk8Q3Xk8Uhv3JxWS4Q/QHyGeX4JdLX+W7d++bsaIaE+sngeIxzT1/hu2fQlJqe0xBMl3ofuw2h9uf1TTNeZaOt8ztuwHNQ8STaXEcI9uuwVHdvghEPNV2ppP5SDLbf0xJ5r/NyRYIjTxjsvpZ9HEKKeSO6ICyGr59uWl3snL7AICvRcyW/22UeW0NLyHvb2GDK9Xb1j0FJM5vzGRt8X6DgFSSJRvEdT05PSvaVZhSnOHRL/iFwzvyTyvQGfN7dCXfo9xkoc7M+ZnFLpFe2Ha1BY1in+syzbAjVsKOMrLtaHmzH5EKxJRsmayDFGiKrtnDzjSqJfNtCllPgCdnaeJsyo7V2tCYPwv4k6eRRUrdp0F3Kr1VD313ElBqmDnJkFUOuPz51mRLgo1lUkPFc01TTco7AU4412kzjtHe7OU1bBrWs2e3UmQBmUSeCaralj7EGoQ19x/NXn1Ggl31j/3JsEfBbjYLH+HCAer9UIVoBBx2VOatwvaA9R3kd7IroWaJJh/zzQMBj2hgBZge7bRtutsv5oXL81Q4MsfL+vAYXXE18I0V8DPGB2k7+KpXqWwavkxt9txJhv99H4qHacqT6McQyp8HbmlLXUVZiTC/cY+FGFDdul2IUT1h7gN1+XS3LIURVlLRTwCD0nYqYwKE+d64er28EtwsaJm9/Ca/yfdwU8AL8OZVzqpjwxQlVi0by04XuH4c5RvQ== 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)(83380400001)(7696005)(53546011)(6506007)(508600001)(186003)(26005)(316002)(9686003)(110136005)(6636002)(54906003)(107886003)(71200400001)(52536014)(33656002)(55016003)(86362001)(8936002)(5660300002)(66556008)(38070700005)(66946007)(64756008)(66446008)(66476007)(122000001)(82960400001)(76116006)(2906002)(4326008)(8676002)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?jQGtW2PNmGVzie1f8YngKG+D7kzhTgpTBC1Bb4dJI2r5UeU9qy6Uo0cAyfKI?= =?us-ascii?Q?MicytHCQe17E8cbL9UhuGAVGsQSwr+iSQs/q8HmtN5ZWmYM9VjmfpLhsiU6d?= =?us-ascii?Q?/ygWRDyoHCqkPjAP2ro3Kw7tPH2JdXQaW62P69rhVBVs47pgAymMLWewofcE?= =?us-ascii?Q?puM/ccmhPcseMcqNMzPi6ztpANYsVO9FSnYyLz87VZqjpAe+5BHDWX2tbXP3?= =?us-ascii?Q?rlU8CHFoEEiCqRg0pWNVrFMQDOgbzkJ94qvj+Jup7fMZ8J2yzOhMZ/I19fj7?= =?us-ascii?Q?TxZdPF45bIG6NoQgLgCDkPHBS7VP1D96XziTlXAWnyHhdMROqVHtftMZYLSN?= =?us-ascii?Q?zJDLQXSMiAvwIv6lyYg5FueRIDxEntY+We/u92YdrCtXtjkwId2uav8wU84q?= =?us-ascii?Q?5rcOvU+RnQUiIdcuEima6CBOK9JLhPDzMyPEPOVZp851OKYlcHilDUvX/ny/?= =?us-ascii?Q?ZYfXKcDYB+1rzczdY4B65YkeQhvMiwuyRbDIqTTucUkI5j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XcThtbui0htl3/PB78f+uhL7YzWyCW4/IfMuaK23u14Vrn?= =?us-ascii?Q?S1/CDaG3t5YYQX7to7BxqrUH0WngyI6M1f6IBa2KMqrQ77e7/zcJgbrchNAl?= =?us-ascii?Q?XWpUOS1aJPBcsf5fDFthXw0DUDW9Dc8csxRX21DS/1FGhRbk2pBb3KvDJoCM?= =?us-ascii?Q?m+3F0eiXWuLNQT197f6ieO5pEnJiPwqA4sE6yTRyZv65P2QhP/DVzajX6jPU?= =?us-ascii?Q?g4zter4DQaJsmCUksKzwQhGFQjtov4Z9ffKkX1qqA6D5R6SXFkjGZ3HEW+oi?= =?us-ascii?Q?0zsXP/Nm4Ej8sno5B6xyDP12U35i+ICBM0hil7h7Yno50CwJ6uf/mOQ7xML3?= =?us-ascii?Q?qabMzpCTUpf5DNpE6BeKUoE1XXGF6Pw=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: e13f5450-05f7-4b9e-cc76-08da42282be8 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 May 2022 10:35:52.8679 (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: /3F8Figu3U6K0ko60/S2tYBg8BUmn8FI6VqPtYkJ71mQh8JNicpreir1FApDHNaGbPIUPbJbyfMm0p9GVZKCCgYazyRWUb+CRujk1wvqzaA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1752 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 >=20 > Signed-off-by: Marcin Danilewicz > --- > lib/sched/rte_sched.c | 96 > +++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 93 insertions(+), 3 deletions(-) >=20 Marcin, This latest version of your patch only contains changes in rte_sched.c file= . Since there is no new API in rte_sched.h, how are you going to configure = the traffic class oversubscription feature? Regards, Cristian