Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp753741rwb; Fri, 13 Jan 2023 03:53:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXvAOos7SJPpDvSdFV0NPeB+7ylCTJxQQv3a8ZWhHyqt7g0hV4NNOoeOI5wiiI1c3LMzIECY X-Received: by 2002:a17:907:1316:b0:863:e08e:2ac3 with SMTP id vj22-20020a170907131600b00863e08e2ac3mr2447745ejb.63.1673610799791; Fri, 13 Jan 2023 03:53:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673610799; cv=none; d=google.com; s=arc-20160816; b=rtYR9fwCFRUPg0locwiU/lM+VncuY52gm8tZfhbDi/K6ZezulaIovPzmKIG0KTC//8 p4P6b93YHWz1pfOVofjUPDVz/0bEmQLj2Q5HIWIN+4jV8pTkj3K8sav5uT5+hKv/oTRU m/KcobYb1Ck8xpXUl5BrP2+u7L1PFNGq5Hcv6CiV4BOqYbsyvgkkln23EP8PR65J1K6Q W3O+kCBZYI4k+SIxcyReXHSsbMUbJiWmz7Gqs32DHX8IAH1qhZfLv8upCT8PyCQ1T5jZ dw0E3rKTPTp0kmnD/ttsgn2TbvIkLKt8A3gtADztXXQdyzSXlDCdnHVh6wcw7YmP1qU6 R0AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SlAsx/PqlcNVFzMCgHrp9fmyc40IkW8ms/Rh0bpr8X4=; b=zpTivvJ3AvgnqRRIapLEeQVODUgKL1YDpmdFCBGeQGjiyFxkXUMM210tNXH1gIpIej 5+Pv5BFXcyQg1VSmrLKidrnxsI9aVC8Klr0yZlpSvkaWHmfIwcpTylkhX5mbJlkOleva Df/nhqa7MsQmIilkQIXrlHBkqWc7JOw0UgxEOhFVD7y5RjvnnGlSfo3szExIJ4imQp3z pn3GCtDS65wlQa7WEvYJEHRQGsBhVO689673u3v/7R7InHIkqLYBXZWjnbHvK5UaOFZy Eznt2aurtORqI3bfYq6RAup+OTKFUQ9P1widpNevPr+9goJHCqz5hgP1O7n0WcqYfBC8 ANAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PE+kIkPb; 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=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a056402524400b0046bd9b65cd9si13231703edd.242.2023.01.13.03.53.07; Fri, 13 Jan 2023 03:53:19 -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=@gmail.com header.s=20210112 header.b=PE+kIkPb; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240593AbjAMLVe (ORCPT + 51 others); Fri, 13 Jan 2023 06:21:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240334AbjAMLUc (ORCPT ); Fri, 13 Jan 2023 06:20:32 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E223A809A1; Fri, 13 Jan 2023 03:14:05 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id fy8so51413947ejc.13; Fri, 13 Jan 2023 03:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=SlAsx/PqlcNVFzMCgHrp9fmyc40IkW8ms/Rh0bpr8X4=; b=PE+kIkPbJVaxAgR8K+ZZOuxcHYsnOBqDXN34xzCxwiP2WAI9Ze7n6Gf0mc6YOZPu2A JS06+ptYUe6cNl7RKqeldRVNcegDQfdw+2PkH6OTDb5aKrs9VF+HatDU99NZ+49Wmq3L XXhSnUkkC5ugjDXfNjivXpGyZWGrt+BQSmSlqR2zXdvHIAg3eN/lhlWcYvqO116BWD/g yZ6wqEvMcHh37472JsL0bFTEa7XmUErUmm/wDuc6L+Ye0zLXsqUoNnPCJC1Nt1Kd8HbI cRaglv8aPbrjdhk1pNsqsnM28OccuyOUYsIq+XPd6wiOi66tl29H1kqI+1ZCL3E9jEcz mBdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SlAsx/PqlcNVFzMCgHrp9fmyc40IkW8ms/Rh0bpr8X4=; b=L9MnSD4YNxEInBa6GF0ytDTYa1+5ce9HVnlJ7gDWmWr3uvDPfcYSyInG1tsWVoV/9c +xPmmYScmNg8rmn34wO1vqpqJuzFRrkM1VnrdjtSdAGHUe0zOnauWPszqxizre++KLkl e8GYYsqnj9/NL4lQ7H6X44DnUJKt4jTJEWnrYOxW3fu22+UNVWiTwDoAsnT+6E4fEtDi gb1/OQQLpkXmFrGj4fEjWifJPHPxxEw8sD4jy6XIJ8zzaFK0tVp8yyCX92VDJmrPXy/F P+MztyrjKEaa2vL+cAgdTfRQEkF+XQauVXv/FEDz4YZa6e7vyjPwqoj4oyjTGCqWtU0Z W3KA== X-Gm-Message-State: AFqh2kr4uMKbyu5cHLzt195yeKp7+3k2x3VvNaFq1+9Y0KH6tcrPcNYV cQEMDE0bLjRU+ytVZVEYSnI= X-Received: by 2002:a17:906:d973:b0:7c1:5982:d729 with SMTP id rp19-20020a170906d97300b007c15982d729mr2797413ejb.56.1673608444366; Fri, 13 Jan 2023 03:14:04 -0800 (PST) Received: from skbuf ([188.26.184.223]) by smtp.gmail.com with ESMTPSA id c10-20020a17090618aa00b0084d14646fd9sm8293024ejf.165.2023.01.13.03.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 03:14:03 -0800 (PST) Date: Fri, 13 Jan 2023 13:14:01 +0200 From: Vladimir Oltean To: Lukasz Majewski Cc: Alexander Duyck , Andrew Lunn , Eric Dumazet , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Russell King , Paolo Abeni , 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: <20230113111401.hyq7xogfo5tx77e7@skbuf> References: <20230106101651.1137755-1-lukma@denx.de> <20230113113908.5e92b3a5@wsk> <20230113104937.75umsf4avujoxbaq@skbuf> <20230113120219.7dc931c1@wsk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230113120219.7dc931c1@wsk> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Fri, Jan 13, 2023 at 12:02:19PM +0100, Lukasz Majewski wrote: > Hi Vladimir, > > > On Fri, Jan 13, 2023 at 11:39:08AM +0100, Lukasz Majewski wrote: > > > Are there any more comments, or is this patch set eligible for > > > pulling into net-next tree? > > > > How about responding to the comment that was already posted first? > > Could you be more specific? > > > On the beginning (first posted version) the patch included 9 patches > (which included work for ADDR4 for some mv88e6020 setup). > > But after the discussion, I've decided to split this patch set to > smaller pieces; > > First to add the set_max_frame size with basic definition for mv88e6020 > and mv88e6071 and then follow with more complicated changes (for which > there is no agreement on how to tackle them). > > For the 'set_max_frame' feature Alexander Dyuck had some comments > regarding defensive programming approach, but finally he agreed with > Andrew's approach. > > As of now - the v4 has been Acked by Andrew, so it looks like at least > this "part" of the work is eligible for upstreaming. > > > Or there are any more issues about which I've forgotten ? Do you agree that for the chip families which neither implement port_set_jumbo_size() nor set_max_frame_size(), a max MTU of 1492 will be returned, which currently produces warnings at probe time and should be fixed first, prior to refactoring the code? https://patchwork.kernel.org/project/netdevbpf/patch/20230106101651.1137755-1-lukma@denx.de/#25149891