From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75C40C32771 for ; Mon, 26 Sep 2022 20:41:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231153AbiIZUlN (ORCPT ); Mon, 26 Sep 2022 16:41:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiIZUkq (ORCPT ); Mon, 26 Sep 2022 16:40:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58CADAB432; Mon, 26 Sep 2022 13:40:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7EB68B8111B; Mon, 26 Sep 2022 20:40:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1929AC433D6; Mon, 26 Sep 2022 20:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664224827; bh=seglhfOiNMrFtc/ni/J5+ETY9FK/ht2gFC/YZWLxHZU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PbSei11B61mV/PgvFyJSKsXf4YV/P1/Ost3I4y+1GWEKuzFebR8BJVL65E6y+kDoh pgaU/naJjvS8En8kklC0OYzxOjvYj4T7epxxXb1w3hHaON2Y3HEYrmFOHwsHRCZOJ1 LPUwr2sJal9u+EPfd9CeSTlLGP8C7y4ZrQRqp3lmIm3PWFSphtjm6VhBH9zZz/4Yk2 tB7GhijyTGl04kkxICmK+9E8aOZZnDdrxb94aJPFt71vStkor2i+K6yI+J8uUXzzhw CAAtBRtaF+XnjTkZWc2GF3PIce1yNkHT+6tf3TYUamasnYdcm1tEMBGDwGWX934eGb IitbYJ6kFPEQQ== Date: Mon, 26 Sep 2022 13:40:25 -0700 From: Jakub Kicinski To: Vladimir Oltean Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Xiaoliang Yang , Rui Sousa , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Horatiu Vultur , Andrew Lunn , Vivien Didelot , Florian Fainelli , Michael Walle , Vinicius Costa Gomes , Maxim Kochetkov , Colin Foster , Richie Pearn , Kurt Kanzenbach , Vladimir Oltean , Jesse Brandeburg , Tony Nguyen , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Jamal Hadi Salim , Cong Wang , Jiri Pirko , Gerhard Engleder , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net-next 02/12] tsnep: deny tc-taprio changes to per-tc max SDU Message-ID: <20220926134025.5c438a76@kernel.org> In-Reply-To: <20220923163310.3192733-3-vladimir.oltean@nxp.com> References: <20220923163310.3192733-1-vladimir.oltean@nxp.com> <20220923163310.3192733-3-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 23 Sep 2022 19:33:00 +0300 Vladimir Oltean wrote: > Since the driver does not act upon the max_sdu argument, deny any other > values except the default all-zeroes, which means that all traffic > classes should use the same MTU as the port itself. Don't all the driver patches make you wanna turn this into an opt-in? What are the chances we'll catch all drivers missing the validation in review?