Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp675359rwb; Fri, 13 Jan 2023 02:50:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXtEzX6zNcohIl/awouODnlnFC4IDBzvvUbRrIa5ZzJpiS0svDa6aPD7EqxURx4upreJy7+/ X-Received: by 2002:a05:6a21:3949:b0:a7:9022:5d5e with SMTP id ac9-20020a056a21394900b000a790225d5emr93504531pzc.2.1673607041348; Fri, 13 Jan 2023 02:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673607041; cv=none; d=google.com; s=arc-20160816; b=s6xq7Zh7c1nS2zpFd+imzflNYlXS2GAOM4+jT5dJKnKnzWreOUH5MujNAi/dIkaArp 4GVjluQv80iiF9neyveZO2B8kWQMrmfqNn27yATWkD6RDACDzv+KMW++rzpN4B2C1jG+ qx9m5rpTAJuGcPJD/g7XfyZWf1327jHeVw6gu+EPC6Vvk1So2h2hjEc/cd+hc9WWv89p yXxPuGoCm0bgXmskoAD7P5aISMLWbUU6BbmSuM/Uih/WHxiLOO8oLJ/QivZT20ubF0lv IA1IGCcvEnS/6QbnT64wZqLbcixrjX+kBQFGhOEwlCfAjbRx7mB86bGyop3FlMO2b3hc hmrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:organization:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=KA96RYD1CKneCE6gPLEvOa5cIlBMyFJqP0xgdi3fmD0=; b=iGkzip0Y4tdCo34w18EE1dsG9Fyi0FHAuiw/iUXDAPTXIgCSkWn/56WXGDrEyASCBw 7TiSPnenVU88HmOCJQG2QhFfEKc2TZ27BxXlULccJAQ45fvhglrvSXTCjOwwv6tuv+VD iFzf/egjHSj2LBfTJLA6IesiJdcNRwj3TXbfrN5Yt9w1WWtvb4hSm0l9j3hZ0+vAUncT LwoJu4FL8q51OmV7XOYfkMDrEg4UoAdMMwPJMoxK5WSo7pQovnDvIvWljG2/GbOZEarO DYse3sRMswoHpyr61QO2CFHnNGd5APA1eu4EFEEYnOPKIqSbTqXJs9JgQVAyKAO5U9sV DxEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=U4LkekVg; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a639701000000b0049cd14d057csi21783132pge.117.2023.01.13.02.50.35; Fri, 13 Jan 2023 02:50:41 -0800 (PST) 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=@denx.de header.s=phobos-20191101 header.b=U4LkekVg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241405AbjAMKlH (ORCPT + 51 others); Fri, 13 Jan 2023 05:41:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241393AbjAMKkJ (ORCPT ); Fri, 13 Jan 2023 05:40:09 -0500 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE50477D04; Fri, 13 Jan 2023 02:39:18 -0800 (PST) Received: from wsk (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9A7A68514E; Fri, 13 Jan 2023 11:39:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1673606356; bh=KA96RYD1CKneCE6gPLEvOa5cIlBMyFJqP0xgdi3fmD0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=U4LkekVgfIm7B7PeGyUswQhaexHQDre9hj3Zrv33hKTCzUre0l/zql2Wr5AhEUXxF 944dbhxxmkWMcezJIR0JFCX1cMXG2vKRsLVC5ikFTSXBozaQkH0wnLyJtuAjiAsngM FleVQLvha8bIRhwRdafV6EjfWgYje9Ac1ru0jM3QhqKv2nj0Vfb6mWtGmbxOEXKLyv /i0fgLQ7DKRvcToc6hVApXHCT/LZKu0z4Sun/Qm2GhSrxHoW+9UgR/Bfal/VccXPUx wH9U6/zLbmLOzFYoP4UYIzDzgcCwXdYfiCyfPZIrygPbmmd76RMde5emEGBuuJaxxn nqtP/yD1O+ZPw== Date: Fri, 13 Jan 2023 11:39:08 +0100 From: Lukasz Majewski To: Andrew Lunn , Vladimir Oltean Cc: Eric Dumazet , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Russell King , Paolo Abeni , Alexander Duyck , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/3] dsa: marvell: Provide per device information about max frame size Message-ID: <20230113113908.5e92b3a5@wsk> In-Reply-To: References: <20230106101651.1137755-1-lukma@denx.de> Organization: denx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/yp1o9E.Cc4ROXEhjWoeWoyK"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean 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 --Sig_/yp1o9E.Cc4ROXEhjWoeWoyK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Andrew, Vladimir, > On Fri, Jan 06, 2023 at 11:16:49AM +0100, Lukasz Majewski wrote: > > Different Marvell DSA switches support different size of max frame > > bytes to be sent. This value corresponds to the memory allocated > > in switch to store single frame. > >=20 > > For example mv88e6185 supports max 1632 bytes, which is now > > in-driver standard value. On the other hand - mv88e6250 supports > > 2048 bytes. To be more interresting - devices supporting jumbo > > frames - use yet another value (10240 bytes) > >=20 > > As this value is internal and may be different for each switch IC, > > new entry in struct mv88e6xxx_info has been added to store it. > >=20 > > This commit doesn't change the code functionality - it just provides > > the max frame size value explicitly - up till now it has been > > assigned depending on the callback provided by the IC driver > > (e.g. .set_max_frame_size, .port_set_jumbo_size). > >=20 > > Signed-off-by: Lukasz Majewski =20 >=20 > Reviewed-by: Andrew Lunn >=20 > FYI: It is normal to include a patch 0/X for a patchset, which > explains the big picture of the patchset. Please try to remember this > for your next patchset. >=20 > Andrew >=20 >=20 Are there any more comments, or is this patch set eligible for pulling into net-next tree? Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/yp1o9E.Cc4ROXEhjWoeWoyK Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmPBNMwACgkQAR8vZIA0 zr1cSwf/ec82AhBqwAtzjvWFakY3UEKFtL0GB9AaXOL0OVaZ6+nrn8xlYOY3MEfI zMTODeB2irm7qKgTYUp2piS/hMc9E/UjNlqzZigPKqJH0+p5TbwATWBDIx4/U+vW /WydbKBlo7RwkJoLDctsJWP0W6jFfKKZDg4xK2Ya/hcJzaGLt3VZwoETBu0nxL/c Pm8jPo7qmDm9H7BB94yOKshQ6xR/yU1gCOmiD75IdOIvSKxO6Z7zGh3V5sHJX1nL 4j3CRqK9+WlHM652NdLUXgSr365DgYd+ciy1hizHWly4Q9faZPmo28Fc96CnHZEX 7t82LsJfp/0/bQwWrfPLEiGDu6aX8Q== =fVB1 -----END PGP SIGNATURE----- --Sig_/yp1o9E.Cc4ROXEhjWoeWoyK--