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 329F9ECAAD8 for ; Wed, 21 Sep 2022 11:23:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiIULXc (ORCPT ); Wed, 21 Sep 2022 07:23:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiIULX3 (ORCPT ); Wed, 21 Sep 2022 07:23:29 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C53671719; Wed, 21 Sep 2022 04:23:28 -0700 (PDT) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1663759406; 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=TmAJB9Sb+6RRhGyFle8Ut+1ahV8/Sv3SezEtIHTpxaE=; b=dbFwAzhddvZYKBBz4lIT+IsILTjen+y0r9zzQfhpmVQWrlv/4n2w+YnYW5Vn4+jX1R51UX Fx0/KlI3rlX8u15QlFV/gl3xEHI6o+JS3The60zRWt8PumXzgMTn4fntb6wBoy5aPYFVSG bQrU/w6sHYKeWyPsFux86IGESz77gvRyC80hnzmC0u9CYWr+KGQixpd4ISdeGP+ALXIdaP YHjLIAtIn9Zo0MMgHGkvHY235I5cuLdpejJmNMDpOjlFxRloqVdGKWZxd2i+MvCZGr0idB T5er29Xnb1bniEV2e8iGBcavOCO2WNRZx7UtBrpX1vrzq44mOuEzjL82Gw0Jeg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1663759406; 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=TmAJB9Sb+6RRhGyFle8Ut+1ahV8/Sv3SezEtIHTpxaE=; b=ldXnMiZOMPABz6cUdvleKoePT2TXd7X7GBtcBCU0cMv1EKXb35ixxsRy1vt0w8gl4OiSfZ 5z3ZfrIcFMoHHNDQ== 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: Wed, 21 Sep 2022 13:23:24 +0200 Message-ID: <87bkr9m0nn.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: netdev@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. So, configured to 128 and 132 bytes (including VLAN Ethernet header) is the maximum frame size which passes through. Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmMq9CwTHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzghw6D/49uWpFKmCVZeyq8h75Bf10J4IZgG/C rvduMy58koDNL17TfKKcc5aFWOqJ0eTF9U/dYdoa4bpi0XFxxcGfFM5SchSToqn8 TrulDK9Q4/X4mmGDhpBYshbsLVQg/cTu76cYMwWnAlUfR+P/Xk1Qjk5y5S7UYqI8 ADQ8TaLQffOAocZrGHy0dlfl/pmRGzJPDafh126IFDRHBc0cAoZSfqiMqWEfocsv lmdgH9hElw4L1INXbB37CgM+FGMENf/pEpTxWIGzsKNsy0HkZju3hrFrCAbmEa5C U6jesfjH5Ufw7ZEaelE5G72eVoHf02rqo+igckBIkbigXcvwdKeG8xJNOR+qfXsK e3RvB/ZOQSLO9n+1iqHsUo3UydUy8BypWK/TQWCZgEvLikTzu4TosGESOyQDQ3SE 8pHbzNlx0MYuEupyQlTNjUQiDXqPBkOAHRjUcjkoCVTgz9oc4YhrvsQaddJ5h7o6 Sde4uRp773Z/yXlYs5SSkX63iE0vzQ1gG/ne9VY546YDpOaEUS/RgOCxEeqfHrDQ ZBmVwH1wkAUfF2nMuixgZSJfgq9IaPApLJv4Y+KJpXQE0hibxIC2w4G7e1UfD8r7 8Y1222lPUQojol8kk409+7/ccp7N92hsk4gmgF3+0zK7wGfORpHf1FEmbIOF2jVf vaizLQvTtGQFJA== =7Bk7 -----END PGP SIGNATURE----- --=-=-=--