Message ID | 20221107135755.2664997-1-o.rempel@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2065472wru; Mon, 7 Nov 2022 06:00:07 -0800 (PST) X-Google-Smtp-Source: AMsMyM6rwEiIuYXS8mJf/D0COdwLLCa2bQQ21L0crxZsurnz/3Taxg4VSebskBxX8Hb2BWHpLkf2 X-Received: by 2002:a17:90a:b00d:b0:212:f91d:88c7 with SMTP id x13-20020a17090ab00d00b00212f91d88c7mr52085186pjq.112.1667829606788; Mon, 07 Nov 2022 06:00:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667829606; cv=none; d=google.com; s=arc-20160816; b=Vk0sxSjaCreACkIjMoFKDf9nXgr0Yu4eLMOSBoDuidi0VmhAOsyWrkFB+adOs2pORj ftGpHr+Tp6mYztqwAlOAT3zLFYPKVuQ+m7P4E3dpnZfGgWJDc7BR4eWClDQ2m1Tm6Wwz vXv8gReb4t3H+WLJ4mpiE5DP2nlsskTfPOxZgluIhuFX3Gb6z7Y5q2y9yTKvs6hqSTYR DgGAgGW26GGMEfUC+tC8ARmVN8ozkxEoCzK5Bv6qtPgIsn1Vao9LcCSTYKqyOqOB0VNM Tfnfpqp+k1gWrc/sm7XOR5a11tez2swRjv/x+M+PkZfTgutQ9c2kYpIrrz4SCuIhWFvq /oyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=fnwKW0VmO+SdDc/GDYKDmu9JEise8UgrQF4RzCiGtkE=; b=Wv3Pm5NhKYaNUI7PQ4L0L06kcTaM82RPWhHyEP4+GysR74Y/kqg0epHiJAi+wTSQEe p9AAM4ugIr2/ALxLNYe8jgj2wXkNo5fi5Z2mHgA0GZZHPSZUj/d1vsJieo/sZ8k1y5T8 JlGN3Xq0m7zXz16Ik7TohupY5VDDgWKMUMoyx+rUKZxnI/zfqX1jQpP4T9XOWiqukPoA SlYjt5DVAasKXRTQanBjEAob9/EqFtX28+tgDuHIaWQX3Dkw9L2yin1avg7TAEhgwxE9 2OipJXOxDMOdB7KBQtKeuVU1iagirLgJXY40QZvdVRuGkB7kWH1DKsPM1+ojw6V7mRoG s0Ew== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix17-20020a170902f81100b001712e1efa9asi9665522plb.542.2022.11.07.05.59.52; Mon, 07 Nov 2022 06:00:06 -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; 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 S231874AbiKGN6L (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Mon, 7 Nov 2022 08:58:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231199AbiKGN6I (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Nov 2022 08:58:08 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 289481D0E2 for <linux-kernel@vger.kernel.org>; Mon, 7 Nov 2022 05:58:07 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1os2dS-0003FS-KS; Mon, 07 Nov 2022 14:57:58 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1os2dQ-002rm8-DG; Mon, 07 Nov 2022 14:57:57 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1os2dQ-00BBIl-Hk; Mon, 07 Nov 2022 14:57:56 +0100 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Woojung Huh <woojung.huh@microchip.com>, UNGLinuxDriver@microchip.com, Andrew Lunn <andrew@lunn.ch>, Vivien Didelot <vivien.didelot@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Arun.Ramadoss@microchip.com Subject: [PATCH net-next v2 0/3] net: dsa: microchip: add MTU support for KSZ8 series Date: Mon, 7 Nov 2022 14:57:52 +0100 Message-Id: <20221107135755.2664997-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748846097870105293?= X-GMAIL-MSGID: =?utf-8?q?1748846097870105293?= |
Series |
net: dsa: microchip: add MTU support for KSZ8 series
|
|
Message
Oleksij Rempel
Nov. 7, 2022, 1:57 p.m. UTC
changes v2: - add ksz_rmw8() helper - merge all max MTUs to one location Oleksij Rempel (3): net: dsa: microchip: move max mtu to one location net: dsa: microchip: add ksz_rmw8() function net: dsa: microchip: ksz8: add MTU configuration support drivers/net/dsa/microchip/ksz8.h | 1 + drivers/net/dsa/microchip/ksz8795.c | 57 ++++++++++++++++++++++++- drivers/net/dsa/microchip/ksz8795_reg.h | 3 ++ drivers/net/dsa/microchip/ksz9477.c | 5 --- drivers/net/dsa/microchip/ksz9477.h | 1 - drivers/net/dsa/microchip/ksz9477_reg.h | 2 - drivers/net/dsa/microchip/ksz_common.c | 28 +++++++++--- drivers/net/dsa/microchip/ksz_common.h | 12 +++++- 8 files changed, 93 insertions(+), 16 deletions(-)