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 407CEA0547; Tue, 26 Oct 2021 23:07:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 135CF40E0F; Tue, 26 Oct 2021 23:07:54 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 040EA410EE for ; Tue, 26 Oct 2021 23:07:52 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="229873035" X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="229873035" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 14:07:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="529373291" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 26 Oct 2021 14:07:43 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 26 Oct 2021 14:07:42 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2242.12; Tue, 26 Oct 2021 14:07:42 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 26 Oct 2021 14:07:42 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 26 Oct 2021 14:07:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NDxaNExzPSpxSuR0fdeF+8bbYGX0AKMIr9vwYQm7+GYzwOOlyBx3c/jhQxOqgGOyDx7payAFp6PX74kA9R9L8W3dAnFHPexRl6SpvZFBLWSihQLX4ZTrE6dgt6/r9Bbdqr2D+Me0XjFQqRRwz5c41mTUhDTyrd/jJP6eniXdzK6nY10OhPRQSV4phJfYLbFVKcYEmq93fzh9B7UM275KMnd38YrYDPQ7Eb+yTeRSI8k7JqtHF0JdBn3ppMT50vaXOmuNN0cF0yFnSLgZuucgTN9Fn0PNgc2HwcVFohwXPOn+YyYlW8nEjmVdRTSWhT+QRFREzPyuOn1b1mc5lpLRKw== 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=dpyLPEyOrWgVgTBgxGOb9dPjaEDuf+iLrv1nvAin3uU=; b=luwXfStFECIkW5DSGwKwbLZ1Y6MQZsMbkMFOiyDsW26SUdOMR2bOBu0j2AKC8mMWaXuyDICTp3khPE+3QAdhTOwTFt1UXGUOk5+ppTgaBav7kMm96kAX5UInjj1a4OsdujmJg3NCQmLoesS3TTxRBjYIfrBnefis1EAee8JNqnXSmnqMByEpj8JRpI9vIJK7Mt3Y6fpNMvUKYb2d/Rzt89r5q4GaaSSLfCWNjN9NhyY31sLW1tDhVyJ4K6+2/eEvH1ogctVyK7tAoVqn1WY9dfjQk7qJIW5XkCu18+Lnd6qwwzpmGMjzzZHfu/rCKeAvcMi0J9BjoLOn5bGTZnGvAg== 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=dpyLPEyOrWgVgTBgxGOb9dPjaEDuf+iLrv1nvAin3uU=; b=o2MmVR4yAVIywmQWcHiEuDfUggqtymbP04NWXhQovPaObk7Mry5FPEuJ4cxVZv4EsKzbj2PXXJacy3w5ynlTdE7EDrPxVHjjyzuAuDLtvIFLg4icIbXaOIwNf3YyQiV2BEqaMqsiK3K+lnIQUS5a1mGmtAct6iVRj9bZd+ZFupk= Received: from BN9PR11MB5258.namprd11.prod.outlook.com (2603:10b6:408:133::13) by BN6PR11MB1234.namprd11.prod.outlook.com (2603:10b6:404:47::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 21:07:13 +0000 Received: from BN9PR11MB5258.namprd11.prod.outlook.com ([fe80::1c1e:ff1e:971f:be65]) by BN9PR11MB5258.namprd11.prod.outlook.com ([fe80::1c1e:ff1e:971f:be65%7]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 21:07:13 +0000 From: "Singh, Jasvinder" To: "Liguzinski, WojciechX" , "dev@dpdk.org" , "Dumitrescu, Cristian" CC: "Ajmera, Megha" Thread-Topic: [PATCH v18 1/5] sched: add PIE based congestion management Thread-Index: AQHXyZQKQIOlgecmKEmGnj/HrTC0lKvlx2gw Date: Tue, 26 Oct 2021 21:07:13 +0000 Message-ID: References: <20211020075002.3871469-1-wojciechx.liguzinski@intel.com> <20211025113208.3910951-1-wojciechx.liguzinski@intel.com> <20211025113208.3910951-2-wojciechx.liguzinski@intel.com> In-Reply-To: <20211025113208.3910951-2-wojciechx.liguzinski@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91e80f4a-8b29-4e16-f7b6-08d998c49539 x-ms-traffictypediagnostic: BN6PR11MB1234: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9n7yT0wOx6X7UpBVz0WMz87B6I7Yj5BmXfDF4liW6WOMmp3V/BlNt88U5tun94lQ2LyilAMZUI4CnWs8nnK8Gv4EtjeD/J1gvGronDZwDLsxhhGuQd/Jd0OwXO75n+RGhGiBlv5jGr+RJz7XBaro/MPGMImV2Y1w57VGk8yynDA7TxUqKKFwqJ7Hm3Fi7dc825hx+6EldustwXnIe6YxJh4E5dMfWzfSnjCB2dd3S4S+nBpHg7Ot/eoHFdgWAXxwczoDzbpBteFzUD4xR5wcMwr2ULhw0cvggSF2yiNJKm+5rrofFDA0G9XXe5nyniJPAPZrcD12A/wydQBU87crq28d9AQOAZaMinJ1SwGF0l0A4SJKdtNK9Gp2Wlt8GQzV+kbwYNPFlo5QKE9TaS4DJKXXx2vz8ZzLAKTdSxck6fnFslnvWVkonvalG8RwKUwqFv7GhRmoIW747f/O5gUCab/C+apl9oyMUWmdq/yPFd32fE8I5ZddvxwaQ58aOrYPY/krJj2D/4NrXUrfNEJfjYIhnnteGDs1i7e1JWO/955JY78FLmcB8MwAle86/cwu0pDbYknW1wq+VFOoK7/01Xzd7GLMhI0HDRzj9klTfXcQHgou6sWE9IsTi+ysm0ltW37TsWGVatVsbPocRF6pvFqCZf3ixXNDcAyjvnOQrYOwnaBVhrtQ4fXa17E82X52YcilCikdloQgD0Fp6oCpaw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR11MB5258.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(5660300002)(2906002)(316002)(38070700005)(107886003)(38100700002)(76116006)(7696005)(83380400001)(86362001)(122000001)(66476007)(66556008)(6506007)(26005)(53546011)(52536014)(66446008)(71200400001)(8676002)(66946007)(82960400001)(4326008)(9686003)(186003)(64756008)(508600001)(55016002)(8936002)(33656002)(110136005)(6636002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?AwpfsKKByD9VqL6SzSqHp6/Hnf7j0GRzgPxWzSB3OArkRMSCdF5Ic11kaBmo?= =?us-ascii?Q?SfcsKOe7Qx9a7VujpdQLTVlIx/GOhfOVk+dnVrcTZ+cA2YqLV1cJBt1G0ByH?= =?us-ascii?Q?zmfK37F+kEj5JboTffUD9+ulg0cYKHC9WChH47joX9JIQQSGDEZ35T+5ftsP?= =?us-ascii?Q?Pao6IC/tMnVVU++R82YuM9Du7G+d52y+P4JuM3Ig/3UrJUB4uKq8caGv2yoe?= =?us-ascii?Q?MtuPtSTqP1FZdfjZjWavvWIJ+R9DAWyQp73CQ1rEIUV4NdsLQTSbMAoor87H?= =?us-ascii?Q?CMf1I7Qf0CuaocuamHnwkhZ0eUAH2fvMsRp6++BKpOKfIV5e0jlZ0hcfz/Oa?= =?us-ascii?Q?b4fgVAtM8m4vtpuX04clWro8zldj72aiKA8BtrWV5UN25K5YQZHzLN+EW2mH?= =?us-ascii?Q?wJLhwzvF6ASC6L1QK8n/DxpE4QpZx5WL3yfd4p8MV2keCtd7pfMTOdTt6Fsf?= =?us-ascii?Q?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umoDbBNlLUfOExCblDmMtX?= =?us-ascii?Q?1cqR8w4dXZjUr9WJeIKhpoNAPyuWLI8W8O4jRQNocdwMEAaSb4vV6v023aQa?= =?us-ascii?Q?96zTgoGcviEXRCnfpwoV2TKNsz+iCTKMqBUIKSEHx+8F+INUPfjd3EGj2zBj?= =?us-ascii?Q?mmztmQQO5SoRq4KvtiULJEMkgA2Lsr85ZGA/ErBvFe06HHACVi3bZWRUJhSR?= =?us-ascii?Q?WTQ50beqbquCUTNjR3fPXNDCbcaWwNudKKICMH3oUKq4vw1GksZ6fd9wXJC4?= =?us-ascii?Q?WNWh903Vq+Fbfi0l0ilj/Gn+RsWD/AaJ8XoHKXTH1FI+sqIsXmBQUbOJEgkN?= =?us-ascii?Q?s4R5CQ=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: BN9PR11MB5258.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91e80f4a-8b29-4e16-f7b6-08d998c49539 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2021 21:07:13.2439 (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: hqCHO3EvsyAmsd2RAyjpD5XYFelqzLAM3meu+1YynjRuZBIX5Zgv7FOqNRAKhJtuyFJxBOjZUMp/hpF1iUaTw0YsJMKhiQp0EPMWyK5/4Fw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1234 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v18 1/5] sched: add PIE based congestion management 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 Sender: "dev" > -----Original Message----- > From: Liguzinski, WojciechX > Sent: Monday, October 25, 2021 12:32 PM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Ajmera, Megha > Subject: [PATCH v18 1/5] sched: add PIE based congestion management >=20 > Implement PIE based congestion management based on rfc8033 >=20 > Signed-off-by: Liguzinski, WojciechX > -- > Changes in V18: > - Resolved merge conflict in lib/sched/meson.build after rebasing ontop o= f > main > - Reverted whitespace change in app_thread.c - comment from Stephen > Hemminger >=20 > Changes in V17: > - Corrected paragraph link naming in qos_framework.rst to fix CI builds >=20 > Changes in V16: > - Fixed 'title underline too short' error in qos_framework.rst > - Applied __rte_unused macro to parameters in > rte_sched_port_pie_dequeue() >=20 > --- > drivers/net/softnic/rte_eth_softnic_tm.c | 6 +- > lib/sched/meson.build | 3 +- > lib/sched/rte_pie.c | 82 +++++ > lib/sched/rte_pie.h | 393 +++++++++++++++++++++++ > lib/sched/rte_sched.c | 241 +++++++++----- > lib/sched/rte_sched.h | 63 +++- > lib/sched/version.map | 4 + > 7 files changed, 702 insertions(+), 90 deletions(-) create mode 100644 > lib/sched/rte_pie.c create mode 100644 lib/sched/rte_pie.h >=20 Acked-by: Jasvinder Singh