Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2554652rwb; Mon, 19 Sep 2022 06:49:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4CxNwn7Xeqpm5PoFcPoJsUbBfpSgfLXKcNd3Viy2F0i+CgUz2GJkqMSDJ8QEuJQoxCjPxZ X-Received: by 2002:a05:6a00:1307:b0:53a:9663:1bd6 with SMTP id j7-20020a056a00130700b0053a96631bd6mr18885994pfu.55.1663595392351; Mon, 19 Sep 2022 06:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663595392; cv=none; d=google.com; s=arc-20160816; b=VBzUemf3ryM+GfGp10Q1Nrlx63R5hRwgR1QUhndmpjsP/82OIUYK1X04QSrb/Pm4Nu ZMrjfn9LTl3069dzbsYvFhbJh/89jivfbyVd10b646sLbVWOgnq+PJJwWVPCOf4qoM1T SH8WR0mMmaotQU6KBODlCDypetKa2mbMA0q2eJXhgaOLPohmsSx07nmzi7Eq0JYn1mlv NyjMKpDZtGxlKh3Z+XjoSB6/6/4d6q2PTT5TBHZTQqV7JiG5ytvSJEUy5nB5Glu03KHI ZwKpNtp4v3+VhBe9fUuIWitZvT0czs4JIVNq0C9MG4J3/mMdd81w0kNj5q8WySfIvIaF oLyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=AsQVsvTF/HOpeN38ebD/PN6GbT91o7JcgHzzjww8Q64=; b=Ne5eWJ6CBULozSoV89jCRM9vuAC5/QHuE8UIak0PLr585cectplDpKNeFA+6SYfWUN OeB5ghpkNM8Ijt9XWna8nCWFicqFjtjDvj9sWDSJU8gHdPqDogLJQZKTyuQZhaBclhOF Ir/ROuaJ9WG6lYhONc9fhv12BVAaJDyfm6q1vLE8EYKJ4WGtaKZRLuiBpQOGtH74D7V0 IQpRPFycugJfJTw6/Wf2RGHmpUemG/KjkMHJ3gveWuj15SBAof9wtsQBIYX7QVvZ0BtG QHdad+/q2n/bWBwKQAvs5yrGgAyL//ojO3KZxWpa2AL1H9p5rATABpRkA6zjF9DCe8qa Ubpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=iCs8dt2n; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=FM1sJpHn; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a170902e74800b00172e069021dsi22721506plf.469.2022.09.19.06.49.40; Mon, 19 Sep 2022 06:49:52 -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=@linutronix.de header.s=2020 header.b=iCs8dt2n; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=FM1sJpHn; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230471AbiISNgH (ORCPT + 99 others); Mon, 19 Sep 2022 09:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbiISNgF (ORCPT ); Mon, 19 Sep 2022 09:36:05 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 214CA11455; Mon, 19 Sep 2022 06:36:05 -0700 (PDT) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1663594563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AsQVsvTF/HOpeN38ebD/PN6GbT91o7JcgHzzjww8Q64=; b=iCs8dt2nxzdxfd+BMaLN0I2NfejhA/p8DKUzFS/qfdLXoGBurYOZOa23r6T6Xva08FxEjN gbhJBh1NF0csnmt27rHhFRwhTQexHZcL/3zcw/y5YBe2LyA+Ypwb6Dc+cE9q5NJSt+axFb AUcndXEWL/JBhXtjRRqv02D7PinW7Ltwb3IWgoMRNm1VndOSRuNrAXoagIFTDpt4OE8uVu v/BPCYgNEdidmHuTIc05q0sb3dllb7Z/SUIK9ru9Ypjry2iLinjpxMxVomTjZrbydM10WU FTjdEIZy9OB6zvVmBR35nnNUes+PVCSU1TsQ/GXP0Fs3J6/ncNw2K6torCA0qg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1663594563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AsQVsvTF/HOpeN38ebD/PN6GbT91o7JcgHzzjww8Q64=; b=FM1sJpHnraUmCrIiIOUI/AyC8mXrjNk7sPunFwHAN2lriWY5pOpKHtdjDtfpQ9ZXhnsLFG 4J4SSOYdcBn3/GBg== To: Vladimir Oltean Cc: "netdev@vger.kernel.org" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Xiaoliang Yang , Rui Sousa , Claudiu Manoil , Alexandre Belloni , "UNGLinuxDriver@microchip.com" , Andrew Lunn , Vivien Didelot , Florian Fainelli , Michael Walle , Vinicius Costa Gomes , Maxim Kochetkov , Colin Foster , Richie Pearn , Vladimir Oltean , Jesse Brandeburg , Tony Nguyen , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Jamal Hadi Salim , Cong Wang , Jiri Pirko , Gerhard Engleder , Grygorii Strashko , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next 08/13] net: dsa: hellcreek: deny tc-taprio changes to per-tc max SDU In-Reply-To: <20220915115925.zujsneox4jqzod2g@skbuf> References: <20220914153303.1792444-1-vladimir.oltean@nxp.com> <20220914153303.1792444-9-vladimir.oltean@nxp.com> <87a671bz8e.fsf@kurt> <20220914184051.2awuutgr4vm4tfgf@skbuf> <87r10dxiw5.fsf@kurt> <20220915115925.zujsneox4jqzod2g@skbuf> Date: Mon, 19 Sep 2022 15:36:01 +0200 Message-ID: <87bkrbzdtq.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu Sep 15 2022, Vladimir Oltean wrote: > On Thu, Sep 15, 2022 at 08:15:54AM +0200, Kurt Kanzenbach wrote: >> > So the maxSDU hardware register tracks exactly the L2 payload size, li= ke >> > the software variable does, or does it include the Ethernet header size >> > and/or FCS? >>=20 >> This is something I'm not sure about. I'll ask the HW engineer when he's >> back from vacation. > > You can also probably figure this out by limiting the max-sdu to a value > like 200 and seeing what frame sizes pass through. Oh, yes. I'll try that. Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmMocEETHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzgu+cEACHTcvU7q9lPx5uB5lstpykvqf3SJ// LHEb0vAGLP6y2etVFztxDEbuaaQKkhYsl6ZxNZhfAoKFKb9HnZ4XWEv/b4x68dOw mRR1hZBcZDt7ecNqxCKfwI+qB/Aza1V3h7j0g+kcHY7pfj0Hrj1hrKqmBHlBrBRG Mv2luJN+/4pvJ79ZfKuTkLDrAYShDGCxxWiw2RXHGGuZbDLeyb3eZsBUnCmEi7Pc +l265kLHuQ/ve1CVTlZlMSksAZcQeeJH6gHwdc3ZdVbamEQFaxBmf495JX6Q628N pkaRRp60MXpxUifVksTZKQsVYKMnvp+y8hEVUnh++1MMUWHlUVM2LqO+vQlb1BSZ AxKFsHhgokXipRFXnc5YMQ/DPhiF650CDakmLd73FPAaSVII2a0CEITPBdHF9Qjl OSeDvAstcfD2Pmz6Oq1AfUEcpyqyiegLVT0dQvUM/fmtYoADywbEAEH1uUTLE7qb je7pkUykjfeQ/UPJgScSr69rQIOTLYOxbX27ThpWmuP8sbd8SqJvExnaexy/H1mD TtLpaRJm0kXO1bfoRdxn/RUabQItsTm5zZnatL/OiHIcyDcb8wAT9WVA5r7Ndj8T aUjkIRclGQUDbGiiBGdpeEeFwGCl/Dd7JnukSxbJyd+PjWXbj5KZloteXXpZZig0 SPoChYb8zYia9g== =36wz -----END PGP SIGNATURE----- --=-=-=--