From patchwork Fri Oct 18 23:14:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chia-Yu Chang (Nokia)" X-Patchwork-Id: 13842475 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2075.outbound.protection.outlook.com [40.107.241.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C5FC1898FB for ; Fri, 18 Oct 2024 23:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729293299; cv=fail; b=VRu4ATka9U/v/wBObziAfcAKpPzSgnE9GLAIxkqH/0vtR9vMA7eETej2w15y18Ks4AxxI9jLUrXyCC08tQ2S3aBu7HKyFWr/1F1zgKyVSZjF9luuNhGLv210hR2FXbnmqgOruHlx1v1CrgVLuivVT3p8pz9OOXCT85npKZvTPQc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729293299; c=relaxed/simple; bh=irLI22um5dGVaMqjsUYY9zydIEgPWI1m46Emtk0IoT8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=YuAta6Ks5pJNEuaFwBjsvQDEkYein6BjRjFlF8BS0Rbe1B8lkt8m2MGoGXF7VuwNXwJVsw7ROW++zS70Rnxo/OnYpilpQpI1wJJv10aVV+zTqXR8T1GkGt98h99/2Pp1xVAo6+pY9PX0D+tJppwtGSFW3BJo6BCG9CbVbsYN7PQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nokia-bell-labs.com; spf=fail smtp.mailfrom=nokia-bell-labs.com; dkim=pass (2048-bit key) header.d=nokia-bell-labs.com header.i=@nokia-bell-labs.com header.b=ZqHRZBLH; arc=fail smtp.client-ip=40.107.241.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nokia-bell-labs.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nokia-bell-labs.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nokia-bell-labs.com header.i=@nokia-bell-labs.com header.b="ZqHRZBLH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TBoCahbJPZQ/w0KrjJqNNLfE0ulGLXFzlmIW/REOK7SsipMNKeN30yrZIywmtGSPEVMG2PxpPknKqRCig+ePK7XPfhgzglGQWMz66j+aIO01cSOrhKFfwWup7FIxkjHov6XUQtQZ6ZrodmAj0xPNVoknQoFqEIM2Czo+QJkrZyK1BszlO7GH68U5vD3HmAOaRBQKy7ddyi/JiUppRDaw0J3xQdquG8WRJBDCjEXH5JbVVsPxkneldbhmrY/fgUWm/jtZNbB+fBJo+oRnZFstidzft400kNfhNj1qSGn0387HHQw81USnf1119rX6yxt2ipJVjYEDvH0hKQ4phrj6sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=LcYWhIL1Cmk7k2troa7kYDrSNPt+tT21KLTOu9yPheA=; b=gKegq/s/d5fp5B8UhRHKzQehxEftGW6L/j8QFtiBdh82jrDGPZei4Kujrddu2Z1mVniFZLiOuM6Ae1aaISQBpXBKzK11g49USToRhthqoKKCT+6+o4E7bsuMxaWWHoAYnziS7Aa6cUkmh1xJq8VldT6uDOO7+S/8qCDeeQUPfVBHLaH5qS4r/g3v/f7lVbbM+2gq+20TPz38iJAYAS5iGXlCbTLCkXJaTRHqAnrErYFTL1sshXrqh0exGj5bqjXjG+7MuDJkrnCZdd/95thIiAGnNGENnY45IPNMYj4sSLDOzhyq7HNFB2f6ihVUbi9Z8dW0+RRelveM4Ewao7ScRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 131.228.6.101) smtp.rcpttodomain=nokia-bell-labs.com smtp.mailfrom=nokia-bell-labs.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nokia-bell-labs.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia-bell-labs.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LcYWhIL1Cmk7k2troa7kYDrSNPt+tT21KLTOu9yPheA=; b=ZqHRZBLHhBuS7VAxqUioJKSbvF6LhBzoui+TZRW2ht4TgBdxAFQTF/5a1UPvR9YY3NLIGJaybFRYQQ9BOKcPKgMel3FIpt+7bE4Ou7cyR4Yh4hgL81qG99dJTErqboJUvAVoldjyFFRbvUMDrMbjqDwlUN+du02tw3fdHWt5D6DAP97fWZZ3mn9kHQldnCas/6phslmWIhoj/0wkHwjHpyw3hcDdOVUbmDgfG4rSaVdiRRuaRNjDpxxdoq8swwDHkFwOS7vmEveTtv0QOGjtXJb6UxPOoywBNckySMzT5uPoHAfE3VG+ObIy6oXfNfr6qN8i9DZcm4ZAW2AAox3M2g== Received: from DU2PR04CA0356.eurprd04.prod.outlook.com (2603:10a6:10:2b4::14) by DU0PR07MB9040.eurprd07.prod.outlook.com (2603:10a6:10:408::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Fri, 18 Oct 2024 23:14:51 +0000 Received: from DU2PEPF00028CFD.eurprd03.prod.outlook.com (2603:10a6:10:2b4:cafe::86) by DU2PR04CA0356.outlook.office365.com (2603:10a6:10:2b4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.26 via Frontend Transport; Fri, 18 Oct 2024 23:14:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 131.228.6.101) smtp.mailfrom=nokia-bell-labs.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nokia-bell-labs.com; Received-SPF: Pass (protection.outlook.com: domain of nokia-bell-labs.com designates 131.228.6.101 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.6.101; helo=fr712usmtp1.zeu.alcatel-lucent.com; pr=C Received: from fr712usmtp1.zeu.alcatel-lucent.com (131.228.6.101) by DU2PEPF00028CFD.mail.protection.outlook.com (10.167.242.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17 via Frontend Transport; Fri, 18 Oct 2024 23:14:51 +0000 Received: from sarah.nbl.nsn-rdnet.net (sarah.nbl.nsn-rdnet.net [10.0.73.150]) by fr712usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id 49INEgfl013303; Fri, 18 Oct 2024 23:14:42 GMT From: chia-yu.chang@nokia-bell-labs.com To: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, dsahern@kernel.org, ij@kernel.org, ncardwell@google.com, koen.de_schepper@nokia-bell-labs.com, g.white@CableLabs.com, ingemar.s.johansson@ericsson.com, mirja.kuehlewind@ericsson.com, cheshire@apple.com, rs.ietf@gmx.at, Jason_Livingood@comcast.com, vidhi_goel@apple.com Cc: Chia-Yu Chang Subject: [PATCH v3 net-next 0/1] DualPI2 patch Date: Sat, 19 Oct 2024 01:14:18 +0200 Message-Id: <20241018231419.46523-1-chia-yu.chang@nokia-bell-labs.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF00028CFD:EE_|DU0PR07MB9040:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b0b6e41-7d83-4cc0-3b2f-08dcefcaab08 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|1800799024|36860700013|82310400026|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?SQ/0g2YYCiskDHNfagrM21U+imqofoe?= =?utf-8?q?KlQLdfkzvjlFYXy6kMsZTlvVBzPc/+2VwCKBkcXxJn1qotlSLLKlzPVObFKwBj/kd?= =?utf-8?q?wIoqz9ZOUKPa5Gfng1hhpHWVnkKKtUocqAxDK+xrReCsFzdXSWpz3L4PI/WlUCPdd?= =?utf-8?q?2RfMuaxHf0YuR3IcnfH+u1VaWHD8+EWTC9LQnNH/a/Q4VEBr1UfUqd+nUQMza3y/N?= =?utf-8?q?puLfTkA6wIwQRfo93YOPN/mDNd22ijUOSHTnK4ohd49BYDq8NyGLn4CVA+pPXwK10?= =?utf-8?q?/GAE5CJ8Fcry1z12w5vvIwuGyBbMwvHngaXvEOsEhxyfHtXGwtkYs/9jO9TwEFeE7?= =?utf-8?q?Z1GPMSm74YLj03PYmhlUlt55HYYDAkAo6mPQj2NrCmo574pQE13FrJ2AAWMbGo0xN?= =?utf-8?q?/V0KGx7Py7otzGUdyMyS9sPQt2qoenlQHpizngJz6Q0PM2CR/zxEFNieZjotBNuXi?= =?utf-8?q?AnyMUmWf1HkauP0ZtpPtFS2fJcQLB2HrMV5Tk26HCukJ3WpLCmdmKYSug05MhUvpQ?= =?utf-8?q?U9sQtjZudbIqYhJXGn9m6DFE2CVddE9kaKxoY2ZL8d2BWnu1VlT5pBgHo/q+xc4eq?= =?utf-8?q?PyTLY2K4h7sJfXdWD3V1ZyPe003cmsqL8nkPot88ax7OcHyEQH/l6MBRaWin0r4H4?= =?utf-8?q?pUUmo6oEWzawAuSbGGiKoCST8PhwwOwXjgE8amhtnxMLwUYZNXd43xepPTKPuIV6J?= =?utf-8?q?CD6LNrokPeQdP0tR8C7lJQMNzb5rSJ4qVbjj/f9el3mNQJZc5lijp1zIjxNvQ6vQG?= =?utf-8?q?FNfa69HAisUn8IesmMFGHEC6RrFwo7kGLE6bvb/R0H4C6SaiwDdOmBfB00DcV8js6?= =?utf-8?q?Hg/59UIpsj3MgLcPOUiwHZe4+T5sqp3VpPIzl9xBCa68D9y1Axv9/BVh2gS9FwYEe?= =?utf-8?q?6ycwuJyiRCOkbB+LzIf3hq2+botx8k0xprKuqZCjei1niuALswUazW3MFc0OTZZMo?= =?utf-8?q?U2aaxubArfPwSZjg6Svvm1JdGxtuMSRaDnTW6Sa1PicBkF6oqfx47NuJ9OdqLzShv?= =?utf-8?q?wL9+p2i78zmWvwuRNo8BGQGz67S/tzsYfDqN4oBU541JKAQEP6TziyuBp6D7mjvnN?= =?utf-8?q?EfcF3Q6GgNIORGZhGZbJ/NBtc+jCnQWw/maXImwHMf/9Jze80SVyUDjgrMl8FJOtu?= =?utf-8?q?q3iOZYg7f6Rox9183udkK1ik+JkAbXD+ErrCcEYx+/wb8WfGMEdVroiZJvS1NoWTn?= =?utf-8?q?gVynHpvIwpo/4Dkrzu7zrIC/bbCLOXbn87Nu7dxvHO5JvznW9ZUv05n68wLI/mVuN?= =?utf-8?q?PuPa8nYbu+zx2xvlayJoMN1jXSrkwU+ggX1z2G91JP4HN3qhIvMl+PwVEa4WU1jpl?= =?utf-8?q?2ePNGc69EE7yM8USnYn8NapFffafFioq0sRqWKThkQM1/9rfSIP8F70=3D?= X-Forefront-Antispam-Report: CIP:131.228.6.101;CTRY:FI;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:fr712usmtp1.zeu.alcatel-lucent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(7416014)(1800799024)(36860700013)(82310400026)(921020);DIR:OUT;SFP:1101; X-OriginatorOrg: nokia-bell-labs.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2024 23:14:51.0081 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b0b6e41-7d83-4cc0-3b2f-08dcefcaab08 X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0;Ip=[131.228.6.101];Helo=[fr712usmtp1.zeu.alcatel-lucent.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028CFD.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB9040 X-Patchwork-Delegate: kuba@kernel.org From: Chia-Yu Chang Hello, Please find the updated patch for DualPI2 (IETF RFC9332 https://datatracker.ietf.org/doc/html/rfc9332). --- Chia-Yu Koen De Schepper (1): sched: Add dualpi2 qdisc Documentation/netlink/specs/tc.yaml | 124 ++++ include/linux/netdevice.h | 1 + include/uapi/linux/pkt_sched.h | 34 + net/sched/Kconfig | 20 + net/sched/Makefile | 1 + net/sched/sch_dualpi2.c | 1045 +++++++++++++++++++++++++++ 6 files changed, 1225 insertions(+) create mode 100644 net/sched/sch_dualpi2.c