Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5181056rwb; Wed, 21 Sep 2022 04:28:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lWQGBw82npTDhvqmzOgRKLk1l0Z7+N80o1z/1s49P8d70HxJa21rBcPJHqVCfueJ7mHy7 X-Received: by 2002:a05:6402:f23:b0:452:3d9f:a0c with SMTP id i35-20020a0564020f2300b004523d9f0a0cmr24884930eda.367.1663759705889; Wed, 21 Sep 2022 04:28:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663759705; cv=none; d=google.com; s=arc-20160816; b=XewaCjD65F3rfHLxxvwo6inBet3iQp6uA0uQcgkB5mJHmjc9lsrhDVPo9Ub3EV3yaW hDZKTC5T2gLxKjXNv8eSBCn1Q8XdGLuDmJbzIB8s+oemGfroXxockpDn/v7tPSdlZWS7 9LI04S8R49dOTJWNettWvR02B5iFvkBI8Wz0sBfqp5RTo7CVOnCVAbtS+U6XABWXqeuA kr5+jrqmjodoMzpnn1ISCzFulG+WY4GXp8jM0LJqeggs1Upn2bRia4W3aNC68UthrzDq VrjSH9qIDQfIh068EflHlcEwC2v1gIW5tzUn5cSzPASXRdeVtHlyq3MzoTbu/1Obe3+1 4TnQ== 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=TmAJB9Sb+6RRhGyFle8Ut+1ahV8/Sv3SezEtIHTpxaE=; b=oPvOH03msqGkgEYLl1S9KWWKSfRLJ0lUSRxjkjXP2IPEMPGLGWsacR+tz5Ft9FCIs8 H6xvNL0C4SeSWnke9OXe8ZhusLPy0wV0UPBeV1mPwBZnQxG4HTyM3KmffKtsLu0YFXMW HLC18nM4Gn0SsQKQ4xg+TtTP0fnV542zIhqTf9LKusJwUSiGBMrxohe8uqN5LyjheqN6 75jLVPrP2lA+95jX79WCEb9rvEYJUbfHHKXEBeht+ESEvAJ33OEHrStAzB23JnxY9hVC ecZbI8w44NBwLMpSjKihQOxjmJZPSy7gbWdRHHDzj1L84YZFmLqaWrxacAoiSNaPd38e 3v7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dbFwAzhd; dkim=neutral (no key) header.i=@linutronix.de; 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 d18-20020a170906041200b007707ab4be28si1820369eja.972.2022.09.21.04.27.58; Wed, 21 Sep 2022 04:28:25 -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=dbFwAzhd; dkim=neutral (no key) header.i=@linutronix.de; 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 S229709AbiIULXd (ORCPT + 99 others); Wed, 21 Sep 2022 07:23:33 -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" 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. 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----- --=-=-=--