Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5600262rwd; Mon, 5 Jun 2023 06:09:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4anuKfReU8lYp3snv9Z2CA80q23SlMc8wmtLZDTfs+SLtWFjnJ7EDf92lf2EIFrOaCswVi X-Received: by 2002:a17:90a:5410:b0:259:17ba:e89a with SMTP id z16-20020a17090a541000b0025917bae89amr5594151pjh.34.1685970539982; Mon, 05 Jun 2023 06:08:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685970539; cv=pass; d=google.com; s=arc-20160816; b=mgg5HZJunG22+A8PkcG/Ay6HzCQT7uaSk+hNK0tUSSnqztFkBlH3AYFCAQkRPvUTNI aRUGOwYRELmASwPRcUDYCguoN/vSrSf4ww4MZhqDqh3jA8BbWdnJIrDqScvo7ayRewJg oS5vhGZpC/LyApVWDNIuv8X+fyJLLzax1Z2LHRRuM/qWulZaDxnEXpsfB8dCTO9skS2U ZdbYE4hAagFR9lrQN3jIFOsyGL6M5CbP8aqZR/OrznrgpWSTw+pmfnYhGaMWDTweXCCC Anl2xcHwPdIV+7yp8AlbvI8j3dhmxrJti2QHDTHuqsQJAQoIGi2QLxVf5fEt6tQujacP SN8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ACbil9qtNKyxc/52fzyUNJQmp8y7pLktl0plKURPPpQ=; b=OlamC51PCD3S4ecKeb+4TKrVpE6nkfnDUBcXpMte/2mvJOBM1tJrCrVXlo9CwEVY99 S2tW7zkS9AGoliySGTo3m9sZMCs+QaUfm2232MjiHO9+Ij060cQGXxjo84G02AuftSb2 qpeQKXjx+6xcVhoen/t7HBVoEDfM1qQtY+xLEO8bykPzo2X/rximcW/L4KBDRC0jz1PE 8WSL4cB9DV0mj4S2ml6z83WwiHl6z5ybiEr4OU+/62hDUMRfe2FAevMC+fbGvmoaAl3j 1VwtTvTH8Bo8/tfGtyUs2YzDEIzjmncB4Ue3rUrMP0yAtLHS+Le4ktsboWhaIILtkb04 ReMQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Cq0gw0Iu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a17090a2b8900b0024c1ddfa1bfsi7024881pjd.92.2023.06.05.06.08.45; Mon, 05 Jun 2023 06:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Cq0gw0Iu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232304AbjFEMuy (ORCPT + 99 others); Mon, 5 Jun 2023 08:50:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjFEMux (ORCPT ); Mon, 5 Jun 2023 08:50:53 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2066.outbound.protection.outlook.com [40.107.6.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E915D2; Mon, 5 Jun 2023 05:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bO1laLGxFt5G7G59sXlMQxhccr0HPyrpnXc12BujEr33xsb2SCgIopiH+oLugdGrb2nK4szsyCLG8uR+nhh4XX5ggD19EQUkjcPL6gwO6K+zPg1t00AGe8VL3bY3aKeApzq5Np8BQuSP2ASJS24rRYMub2XSyLrB/wxnG6JHkkmX/I9EKWCqrBBC/hPRb5pdfUBKY4d7cvVUNoo+aONCZoBezFDooQlV9CPhlVG5J3d5fNp8jyQGS1ApHYrliwlloOUKhYixrIuSpoOd7buCW6KOhqKOEEiVITukM7NENDaBFlDRyXgMwlxPchO7PgfEvNUqXddTDh/Bjbkfacudow== 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=ACbil9qtNKyxc/52fzyUNJQmp8y7pLktl0plKURPPpQ=; b=ffKIe+0tP7jUwnwgglrcB2fOVxKDRtwvD/n6uMPv7lQiH+3n6i3KVuzyZTwRkUqGOEfCTldI5PmRssdMrKE7gZOeF19dRlAaGn0P51xcech3jul5nPK8CKsTaClHAmWugFlz5hpo4kvnfMZiXgxVQbFMhtZ3JJoNQdCGlweLxP8SEYCnKC1OC/yBkQG0XmkEka+v3T5cmQYUyN5J1AO98Nz6jClXjZuVHwL4C+GaEpfDIcX6Owy9aJTd8CKfE93G+KPtfIWODpj3wLcKIE+RQsP5qNUiWyOTGrB2CjiF4B5sTb5iPIRtpXioPyX4SsgUlj3jz/5hoa13hoHGo6XsEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ACbil9qtNKyxc/52fzyUNJQmp8y7pLktl0plKURPPpQ=; b=Cq0gw0IuQQ5DFFp6bX2pR19YeUeGN78ghLCeqHR0QSqBl3cw4YylDdOsVCP6OGVExR4DOu2jEEomBC8CoVoneB9a3+wWhV1DUc6bN4ubE4yxfB7e2Bi0i1CbZsD/KoKiHO5hN7wY7hSdxbbW8P6/677imeFLicyPFGnUMKUUsbc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) by AS8PR04MB8103.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Mon, 5 Jun 2023 12:50:47 +0000 Received: from AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::47e4:eb1:e83c:fa4a]) by AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::47e4:eb1:e83c:fa4a%4]) with mapi id 15.20.6455.030; Mon, 5 Jun 2023 12:50:46 +0000 Date: Mon, 5 Jun 2023 15:50:42 +0300 From: Vladimir Oltean To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, Jamal Hadi Salim , Cong Wang , Jiri Pirko , Vinicius Costa Gomes , linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, Muhammad Husaini Zulkifli , Peilin Ye , Pedro Tammela Subject: Re: [PATCH RESEND net-next 0/5] Improve the taprio qdisc's relationship with its children Message-ID: <20230605125042.lx6ng5jcsxp625ep@skbuf> References: <20230602103750.2290132-1-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230602103750.2290132-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: VI1PR08CA0189.eurprd08.prod.outlook.com (2603:10a6:800:d2::19) To AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6452:EE_|AS8PR04MB8103:EE_ X-MS-Office365-Filtering-Correlation-Id: 47f283c7-e6aa-4690-65b4-08db65c37b53 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TPP9NV09U2CQgU37NWu7XL+HV2Stf+7lYHsZ3H5E/pj6EXzteozebBjgj8kKjHpg1P5qVDlwGL8n4yP1d92RWGwvkePf23Vwr2eSk48ZQFMhLBAaEMGHHUEhc3n9lRPJrnvgL8Fvqz2B7qADKtO9IgyY8Pz1Ri/N7n0Jv5GRU1DOgtsYrAmTTPzjOoYFKItXe9NjQLIJomv4jCp4sKFYKuldQnO4UgjpeTqUU2aNvjKR8i6Toa0uVTmjU1Cry/kbvzeyUQjb1MZuAYrwi+lQPGIpeFBSlUhqclz5BHqxrP58zPupGhfK2HEFn0BBrxrkUBFLVb++FZlRJaaa5aTYy8bOtK4A/YDbemRPNvyU6PXImaVJ1KoJ3yXoRlLv1ZaSTYZFGSkjktRe7sSpfc8QJQOUCuIoKnUAFihu4lIyOS9XOq9HVOj6uju9tlw2ZSjwgoTH2zY/dME1wgeM8eP01AtBqb+TK/CCBPRGJxPuPLawRAvMQPaDQjTYdmiCqoZgJMOREA+QEzaAGSE6kILSrIj0Ldb8ZJiiHR8uyTn9Yj0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(7916004)(4636009)(366004)(376002)(39860400002)(136003)(396003)(346002)(451199021)(66476007)(66946007)(2906002)(478600001)(316002)(4326008)(8936002)(8676002)(41300700001)(54906003)(110136005)(44832011)(66556008)(6666004)(5660300002)(7416002)(6486002)(6512007)(6506007)(1076003)(26005)(9686003)(966005)(38100700002)(33716001)(186003)(83380400001)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ZyasNJfnddlkqMtmmjQtzSZlK4M4212Prff2/AyeANtyHeGiVR6DaZP60L9d?= =?us-ascii?Q?VzOOd1y/Jl+uNhevSRfz3pyVSIp2u9uUsk4exeUDD4EGnoeiY9z35VgWFPd5?= =?us-ascii?Q?DlMzL4hDj5pIKPZSd/le11/4bpFGol52iT8YlDkwCJGh0ORR/iYcvteS4NDS?= =?us-ascii?Q?xc1V0AbXsaDtBx3i8gMaMj3a/JH6oCVYT79VMS8rce2asZ7rq6tmI+ZhMvC7?= =?us-ascii?Q?Ru3f/MpWRxAaRPmQSvVP9bei5B35/P/QVPiBYmzSnOnYssW3sapQ9ijGE/sX?= =?us-ascii?Q?nl4nnNmloFOpc6SoQD293JN/mt7zagnzquqPBm0azNYwaN+tMA0N69AT1Suv?= =?us-ascii?Q?1CLghYYMKKu5O1oh5Z7KV/04xFVx4zitNxJIkX8KgRhyZkxuN4sJ3eo8WRmL?= =?us-ascii?Q?PlPPah9/EFVOA4XvYz0fGuKS0vmMe41UWAcVvMA6vqkOkNWRs4kOP0a9ikT+?= =?us-ascii?Q?E30vVWmk2ia0Md8R6RaYoWXJW4vAATU7AyDvFAQQu0+lRhj3nH6Lv9FhGdAn?= =?us-ascii?Q?eGzp2/L2vlrI3FnJ8EAisOeBqC6iswwbcN3s60PQDRUZRyG5wG8+o2LYkQEt?= =?us-ascii?Q?tn4yZV8NOOHb2+z0XCS1UXLU26kwCl+tsJMPGH/8glUNeFz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Qndwbi5eXtqm6RJoWjPM08fqBUrurPPd6fT9KYTowIf4D6TEAU+WIIbs?= =?us-ascii?Q?k7dgYpP8aEIKiv+HHLWQwe9jlhtHhQhB4Zk9wL5GcvI+DLK5UjtJ7TBxHbEs?= =?us-ascii?Q?og=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47f283c7-e6aa-4690-65b4-08db65c37b53 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2023 12:50:46.7609 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: X79p2IcbnWppc7uerCQ114IjUTJkWCF0B3PM4EgMRv+NWBKc7PGbzkmjDRG+orsXHpjzvrDX0yUPRoFimTD6Qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8103 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jun 02, 2023 at 01:37:45PM +0300, Vladimir Oltean wrote: > [ Original patch set was lost due to an apparent transient problem with > kernel.org's DNSBL setup. This is an identical resend. ] > > Prompted by Vinicius' request to consolidate some child Qdisc > dereferences in taprio: > https://lore.kernel.org/netdev/87edmxv7x2.fsf@intel.com/ > > I remembered that I had left some unfinished work in this Qdisc, namely > commit af7b29b1deaa ("Revert "net/sched: taprio: make qdisc_leaf() see > the per-netdev-queue pfifo child qdiscs""). > > This patch set represents another stab at, essentially, what's in the > title. Not only does taprio not properly detect when it's grafted as a > non-root qdisc, but it also returns incorrect per-class stats. > Eventually, Vinicius' request is addressed too, although in a different > form than the one he requested (which was purely cosmetic). > > Review from people more experienced with Qdiscs than me would be > appreciated. I tried my best to explain what I consider to be problems. > I am deliberately targeting net-next because the changes are too > invasive for net - they were reverted from stable once already. I noticed that this patch set has "Changes Requested" in patchwork. I can't completely exclude the fact that maybe someone has requested some changes to be made, but there is no email in my inbox to that end, and for that matter, neither did patchwork or the email archive process any responses to this thread.