Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00130C433B4 for ; Tue, 27 Apr 2021 01:37:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C9B7D61155 for ; Tue, 27 Apr 2021 01:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235240AbhD0Bfx (ORCPT ); Mon, 26 Apr 2021 21:35:53 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42066 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233916AbhD0Bfx (ORCPT ); Mon, 26 Apr 2021 21:35:53 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lbCcw-001HVH-Sk; Tue, 27 Apr 2021 03:35:02 +0200 Date: Tue, 27 Apr 2021 03:35:02 +0200 From: Andrew Lunn To: =?utf-8?B?5pu554Wc?= Cc: David Miller , netdev , Chris Packham , Vivien Didelot Subject: Re: [PATCH net] dsa: mv88e6xxx: 6161: Use chip wide MAX MTU Message-ID: References: <20210426233441.302414-1-andrew@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Apr 27, 2021 at 08:18:00AM +0800, 曹煜 wrote: > Hi Andrew, > I'll test the patch later, but what about the 88e6171r switch chip, > this chip also got this issue since kernel 5.9.0 Many thanks. Saying the 6171 is wrong i have problems with. The 6161 is part of the 6165 family, consisting of 6123, 6161 and 6165. The 6123 was already using mv88e6185_g1_set_max_frame_size, and the documentation is ambiguous. The 6171 is part of the 6351 family: 6171 6175 6350 6351. It is a couple of generations newer, and all the other members of the family also use mv88e6165_port_set_jumbo_size. I have the GPL licensed SDK from Marvell. If i'm reading the SDK correctly, it has a function to access the per port register for jumbo settings for the 6351 family. Do you have a 6171 we can test code on? Andrew