Message ID | 20221213174650.670767-1-netdev@kapio-technology.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp269616wrn; Tue, 13 Dec 2022 09:51:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf7xSuDT0D3vDCS42f204lLI54m845oW8I0kzWltaS2+PUzt/AEvgJDL5BgfsOuBPwlmJ6RH X-Received: by 2002:a17:903:234b:b0:189:e7ea:9ff9 with SMTP id c11-20020a170903234b00b00189e7ea9ff9mr30024597plh.42.1670953862295; Tue, 13 Dec 2022 09:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670953862; cv=none; d=google.com; s=arc-20160816; b=yol7eipKp1yEOKk6AHyFL0a+kAnSU0pJR21+H4KeajQTJ9O9gzCpQjh8J1a7aKT0MU IQk4hkQsWR3tZpaoXse7pgkRP1wJDPNEuqzW3XuOlsnAbKbAqlaE1EJ0BQpmL3BYQvsJ E6pkLbciRY3sagn6+l9yQyo/spO0wxzFCNTkj7bKrQsOhYd4QpBmhOwUS6rkws+DCXt9 200s425zWY4ZvTOFzmkhO6HMYNVSk9SAV4cMNiEPQmzQNF8ITGNfAgfrqvNiKqoFSm9n cDdkEnqj1PU+t+0EnBjaNTrznohxjz1RN5Qzeh6oZDfmKNTLy9o9UjmkAGru+tj5fK7A VhDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from; bh=QCKGvn3Dd0dw0rtTNrNw0+vWjwXMsYNahqYa4V4ScuE=; b=JF716sJl7lPZADaHvMxLFTe3noKQ2sQGa9T57zQSPswyOMzVShW2DdOmrmO7AHwWTY 7XjR8bmq7zCvrRjATT0Is5dCCWU7mgDu+9kGQ0WOkdfW520Ls7xLLF0wJdoLWMMTMa+2 p+j9x3gL+UJMNSIvd+/3S/6VUYWynB6TIE1BeOuCeH/vcDfsaLNVrXVchUGoR/i4cYcF MFitjqSBv5u5pUgresNVrDQAtj5hIS8IjSxOpwsvqnx7pjOPaHA5CL9VVDSiTpKIQ+um gIJSiWiiIMOz4GeZr5w99jeLlwvSuX4qUYJll7AdcUJA6zbgnv8Jp0S9nDHpYYTTiF5h 0i1A== 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 18-20020a630312000000b00477a10a91dcsi12909452pgd.695.2022.12.13.09.50.48; Tue, 13 Dec 2022 09:51:02 -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 S236393AbiLMRsT (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Tue, 13 Dec 2022 12:48:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236363AbiLMRsL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 13 Dec 2022 12:48:11 -0500 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16DF462DD; Tue, 13 Dec 2022 09:48:08 -0800 (PST) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 5097E18839A2; Tue, 13 Dec 2022 17:48:06 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 439F02500015; Tue, 13 Dec 2022 17:48:06 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 3C8599EC0027; Tue, 13 Dec 2022 17:48:06 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 Received: from fujitsu.vestervang (2-104-116-184-cable.dk.customer.tdc.net [2.104.116.184]) by smtp.gigahost.dk (Postfix) with ESMTPSA id D160791201DF; Tue, 13 Dec 2022 17:48:05 +0000 (UTC) From: "Hans J. Schultz" <netdev@kapio-technology.com> To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, "Hans J. Schultz" <netdev@kapio-technology.com>, Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>, linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 net-next 0/3] mv88e6xxx: Add MAB offload support Date: Tue, 13 Dec 2022 18:46:47 +0100 Message-Id: <20221213174650.670767-1-netdev@kapio-technology.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Westermo Network Technologies AB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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?1752122117332668882?= X-GMAIL-MSGID: =?utf-8?q?1752122117332668882?= |
Series | mv88e6xxx: Add MAB offload support | |
Message
Hans Schultz
Dec. 13, 2022, 5:46 p.m. UTC
This patchset adds MAB [1] offload support in mv88e6xxx. Patch #1: Correct default return value for mv88e6xxx_port_bridge_flags. Patch #2: Change chip lock handling in ATU interrupt handler. Patch #3: The MAB implementation for mv88e6xxx. LOG: V2: -FID reading patch already applied, so dropped here. [1] -Patch #2 here as separate patch instead of part of MAB implementation patch. -Check if fid is MV88E6XXX_FID_STANDALONE, and not if fid is zero, as that is the correct check. Do not report an error. [1] https://git.kernel.org/netdev/net-next/c/4bf24ad09bc0 Hans J. Schultz (3): net: dsa: mv88e6xxx: change default return of mv88e6xxx_port_bridge_flags net: dsa: mv88e6xxx: disable hold of chip lock for handling net: dsa: mv88e6xxx: mac-auth/MAB implementation drivers/net/dsa/mv88e6xxx/Makefile | 1 + drivers/net/dsa/mv88e6xxx/chip.c | 20 +++--- drivers/net/dsa/mv88e6xxx/chip.h | 15 +++++ drivers/net/dsa/mv88e6xxx/global1_atu.c | 22 +++++-- drivers/net/dsa/mv88e6xxx/switchdev.c | 83 +++++++++++++++++++++++++ drivers/net/dsa/mv88e6xxx/switchdev.h | 19 ++++++ 6 files changed, 147 insertions(+), 13 deletions(-) create mode 100644 drivers/net/dsa/mv88e6xxx/switchdev.c create mode 100644 drivers/net/dsa/mv88e6xxx/switchdev.h
Comments
On Tue, 13 Dec 2022 18:46:47 +0100 Hans J. Schultz wrote: > This patchset adds MAB [1] offload support in mv88e6xxx. > > Patch #1: Correct default return value for mv88e6xxx_port_bridge_flags. > > Patch #2: Change chip lock handling in ATU interrupt handler. > > Patch #3: The MAB implementation for mv88e6xxx. # Form letter - net-next is closed We have already submitted the networking pull request to Linus for v6.2 and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after 6.2-rc1 is cut. RFC patches sent for review only are obviously welcome at any time.