Message ID | 20221123112625.2082797-1-o.rempel@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2732351wrr; Wed, 23 Nov 2022 03:34:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf65DD8uEoJPedR+tV90noH+xAC7DuWj/nlTQQcsXTQxzPwuHkQjNqU9ps62J5xcedEn3gkV X-Received: by 2002:a17:907:6e12:b0:730:631c:40b7 with SMTP id sd18-20020a1709076e1200b00730631c40b7mr23486554ejc.336.1669203265417; Wed, 23 Nov 2022 03:34:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669203265; cv=none; d=google.com; s=arc-20160816; b=dpSPyaVueH0mYC2SukwiAMKwOPomY0QsPy0arxhN3eZE9iK2o51s8SLJfw5br1lhaW z6bH9xt29q7OWGnGAFPOGsFP2+pieJTYefSR329raKRgztiF2DRhldOwfqEGLnldg7VU anxuEoZc3BnAhWye5dSHRy4QuTiz/1kbJKocVyPLFgmiiM+10Az6l2Bpx+1AB/ktWyQ8 BgFWe4ofs6/N0UJyDZnjhMbUSsx9pMlo5BlravARAgBnrLmaD2KYbfjxyykN0eqoSYBr QqsKiC8okQrLkTD05m6Zy8UGRB1Djs9gPMtUcBLFoV7ZBMzvrWDC9kjkz9/Gg+axlE47 XTnA== 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=GoVTXE0wRi7m0dm5YBs0NhAbi/GidUOo+w8SE4Of/Ac=; b=CHQ37WoMkqQ4Thqwaz7KjjYIEw1nlmz8naZfwbudi1wHbWANPRy8TXUcGmlM0MFEdN sfHTAOjojC8np0AjPSL5TxbK6L/M1O7jQRb2WDeh6XLr9Ymh2FF6umJLXMQ/4nHfIFmu UJrKTn0Yku5QdEVITWV9HF1tYmg5WhgvQ6lxoY2xZBPOXwrgS3DJsNB5rkL+CS/Rekqu qPNn03Q5I9NgeoVLB3sL5mtBffMFdourOujxpEPOfxG8FuEg/XSG1wr3oVG9ePJuO1zX 0j1+7PKYT89Wur8q7dx4OjyGvHgIGXm3glsJRQ9eOEopB5v+ho1niGlR486qyxalcPCS zRVw== 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 n26-20020a056402061a00b004678fd66f41si12729290edv.71.2022.11.23.03.34.00; Wed, 23 Nov 2022 03:34:25 -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 S235908AbiKWL12 (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Wed, 23 Nov 2022 06:27:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236357AbiKWL0l (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 06:26:41 -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 CC52A99E86 for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 03:26:39 -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 1oxntd-0003vb-HZ; Wed, 23 Nov 2022 12:26:29 +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 1oxnta-0062RA-Os; Wed, 23 Nov 2022 12:26:27 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1oxnta-008jqT-S8; Wed, 23 Nov 2022 12:26:26 +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 v5 0/5] net: dsa: microchip: add MTU support for KSZ8 series Date: Wed, 23 Nov 2022 12:26:20 +0100 Message-Id: <20221123112625.2082797-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?1750286483103940372?= X-GMAIL-MSGID: =?utf-8?q?1750286483103940372?= |
Series |
net: dsa: microchip: add MTU support for KSZ8 series
|
|
Message
Oleksij Rempel
Nov. 23, 2022, 11:26 a.m. UTC
changes v4: - add mtu normalization patch changes v4: - remove per port max_frame cache - remove port variable for ksz88* variants - add KSZ9563_CHIP_ID - not start a new line with an operator changes v3: - rename KSZ8863_LEGAL_PACKET_SIZE -> KSZ8_LEGAL_PACKET_SIZE changes v2: - add ksz_rmw8() helper - merge all max MTUs to one location Oleksij Rempel (5): net: dsa: microchip: move max mtu to one location net: dsa: microchip: do not store max MTU for all ports net: dsa: microchip: add ksz_rmw8() function net: dsa: microchip: ksz8: add MTU configuration support net: dsa: microchip: enable MTU normalization for KSZ8795 and KSZ9477 compatible switches drivers/net/dsa/microchip/ksz8.h | 1 + drivers/net/dsa/microchip/ksz8795.c | 55 ++++++++++++++++++++++++- drivers/net/dsa/microchip/ksz8795_reg.h | 3 ++ drivers/net/dsa/microchip/ksz9477.c | 21 ++++------ drivers/net/dsa/microchip/ksz9477.h | 1 - drivers/net/dsa/microchip/ksz9477_reg.h | 2 - drivers/net/dsa/microchip/ksz_common.c | 29 ++++++++++--- drivers/net/dsa/microchip/ksz_common.h | 13 +++++- 8 files changed, 99 insertions(+), 26 deletions(-)