Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9851382rwd; Wed, 21 Jun 2023 12:43:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7NGzwdHW65UrjZGPyPEzKUgwPssjSpf2f4D+KlzjUkSp5FbVSdFGz2oPxd7XytJTYpmyxA X-Received: by 2002:a05:6a20:7495:b0:11f:33da:56ec with SMTP id p21-20020a056a20749500b0011f33da56ecmr18465573pzd.27.1687376604170; Wed, 21 Jun 2023 12:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687376604; cv=none; d=google.com; s=arc-20160816; b=pQiWZEQvl+Wv2E1E45rBCVMofi/fB6LZnXpjYsTXD3/LJpDf5k/Ae4sq6ua+e22+qW 17OV83hqTWYFsXcLxjgIlWd5eFcfEIZRYW7jRnUuHUErr1vQADw8HsnT4wWljTXienRM QTzhjG3gmnN7MFb3c7M9v6J4PDkjfkYvZja5yjBsZZytjwd3ECmDIJ1cSN+aXV53gb0g 9KYcnfjTRY0Lltumn/dB4Ub4DroNnMc2+U6jkYS1bVZxJaxBh497MzUfdYmGIGvGNOI3 xhaV2u8CCxEOB/U8yDqJe+G3bFuW/0uBh7YeQDxFpb45aQ6/jmeYA488F8fmMixe1tBO bkGg== 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=MmeNUeDqexXj/zOSt/KHSOvkf9Dhla7cCruNLFlF2GI=; b=cBtL+UU+RT7hjNDSzRULauGcQ2iHShqb7Nox7hT98EqzPScQ9yhfxL1Ob9eJZvwwK4 /JjRmn6R+fLtcIkbCIh8qx7kro2rA3alKo0r7SXvt0Ql/yM2BsIDPY3FVMBP88Md3Q8A 2417yTq6ZQKvyrML3LNjpcgpiiPILQ1ALDnBe6zT3Qtx+gql0PXKNlsTJk4riQWxmXl3 qGrgyYyZAxzzgkzcYZdoHw2hH6ydER/qIx2vOaUFLZ/kIxMa3REVSp4tMEYfrb8zDXAa DsOoRGcmto3Lx3mXZbjk1tYGUpN2CCMzyRlARAnjR2fK/VrFFv/n7UlG6ydNVIdVo9Uh yXpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=lnrxkWsz; 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=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a638c01000000b00553939d6a6dsi4586526pgd.44.2023.06.21.12.43.10; Wed, 21 Jun 2023 12:43:24 -0700 (PDT) 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=@lunn.ch header.s=20171124 header.b=lnrxkWsz; 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=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbjFUTd5 (ORCPT + 99 others); Wed, 21 Jun 2023 15:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjFUTd4 (ORCPT ); Wed, 21 Jun 2023 15:33:56 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AE7D10F0; Wed, 21 Jun 2023 12:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=MmeNUeDqexXj/zOSt/KHSOvkf9Dhla7cCruNLFlF2GI=; b=lnrxkWszz/nOMdI1pPOwcPBgx6 Fg5OA7w7olC1xiSSDrRPosCqwbmfBeQ3WQQu5q28LK3BDZQAogKcVdyxruhxUDidWyY6gIbxZDaCf 6POna36SjGIb+bDhBs0ZoSKJeu4kazBR4yn9fogmggHLmxiOolKS7KdUaWgakaxKlYjo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qC3aJ-00HBOH-SK; Wed, 21 Jun 2023 21:33:43 +0200 Date: Wed, 21 Jun 2023 21:33:43 +0200 From: Andrew Lunn To: Pawel Dembicki Cc: netdev@vger.kernel.org, linus.walleij@linaro.org, Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 2/6] net: dsa: vsc73xx: add port_stp_state_set function Message-ID: <27e0f7c9-71a8-4882-ab65-6c42d969ea4f@lunn.ch> References: <20230621191302.1405623-1-paweldembicki@gmail.com> <20230621191302.1405623-2-paweldembicki@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230621191302.1405623-2-paweldembicki@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > + struct vsc73xx *vsc = ds->priv; > + /* FIXME: STP frames isn't forwarded at this moment. BPDU frames are > + * forwarded only from to PI/SI interface. For more info see chapter > + * 2.7.1 (CPU Forwarding) in datasheet. Do you mean the CPU never gets to see the BPDU frames? Does the hardware have any sort of packet matching to trap frames to the CPU? Can you match on the destination MAC address 01:80:C2:00:00:00 ? Andrew