Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1771223rdb; Sat, 2 Dec 2023 08:36:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEq6XB23n3bZOmNq7eioZP8YuLTu7uG/L6Ghxl0qgAZCTcx/8IHDLulSf3TmipdCQJcSbFJ X-Received: by 2002:a05:6a20:7fa8:b0:18b:47a9:66e9 with SMTP id d40-20020a056a207fa800b0018b47a966e9mr2235737pzj.40.1701535003802; Sat, 02 Dec 2023 08:36:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701535003; cv=none; d=google.com; s=arc-20160816; b=NIpNxHIp4sFEVpsgSl/p3pi/p40qHNC09AoBbqa5JhTG7A1ztNpS5zW4nKLuAPpGrE OmM9EiJSljHAvlN/nyCspiSGABObiKwYZPAZ/xwAZpCJ+CFKjg5L1iV/lgaCHWGJrHU5 qBbVwoLe4XCzj7YpEOK3mK9Z5ldZkecGYraDGpJMTXFafjxgmjBuFULdllD9ch6vJA8J iFQxNXjzGhFZtfv0NIflDcuYks3Chj5JWP41l0/vh+nFOhfUfxG63Xd/MKmEVAFIt0Ia xemepzqHeGncJwQbDXkf/76YYsu8L2ZKF7bQ0FITyETqbKRHtOF2r8H+kf+WGB3W4TZI d1Sw== 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=8ciHNODe1XPDwRK+aaMl61d1zRycOP5g608zUMVfPxw=; fh=eC8MWupst1PhTHgFrJuNp/mBpTABBdacHnKnNMROpcg=; b=nv822wAO1bXSx24FWKS7eOaikvEtFj7a/N2RPJqgQlZNYGvNiECETGChwUCqRrsF0y ANqfbzb4xk8eriMx/42xQQTwGwcMX9jZ0HlePTibebrGinp9iuy4nnWMBom15SVtZPX9 5Bap/sJ8Qu/bpEtzAulwQet6qOfq5C8hFqdG3RZ37QNofwB0K979dncAjyXKLRU7b7Xw E24C3SK20oxHwCh8qA558zNHSHqiBI+0nSRLg8hew7pp30wu2tGDzyyqERqTgp2RvVwg 3+AY3K1V0BcxTOSvFHCSzXPtQnL4e5LBh61+tA7GVtShYxIglua9MKNYV3nDQjPXzzSB La0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2thgjsDD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r7-20020a635d07000000b005ae05010bc4si5140002pgb.235.2023.12.02.08.36.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 08:36:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2thgjsDD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A286E806139A; Sat, 2 Dec 2023 08:36:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230239AbjLBQ2H (ORCPT + 99 others); Sat, 2 Dec 2023 11:28:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjLBQ2G (ORCPT ); Sat, 2 Dec 2023 11:28:06 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB046102; Sat, 2 Dec 2023 08:28:12 -0800 (PST) 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=8ciHNODe1XPDwRK+aaMl61d1zRycOP5g608zUMVfPxw=; b=2thgjsDDHgmxMZfWqUFviHaPEK n+R1DfQa8qc2fTb2/P/ct6SRk4m0gUInbJ4AyF/msduCPmpGvMSLhmGfUU3VlU8oHZtfLeqQqaYNB AecDJKiEpOv84dLDKIKHkv9DawjHv9H8rLIn2t0UfrdL5WY0guaQm91jw67cXr7xbxX4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r9SqT-001rE6-RY; Sat, 02 Dec 2023 17:27:57 +0100 Date: Sat, 2 Dec 2023 17:27:57 +0100 From: Andrew Lunn To: Jakub Kicinski Cc: Justin Lai , davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pkshih@realtek.com, larry.chiu@realtek.com Subject: Re: [PATCH net-next v13 01/13] rtase: Add pci table supported in this module Message-ID: <27b2b87a-929d-4b97-9265-303391982d27@lunn.ch> References: <20231130114327.1530225-1-justinlai0215@realtek.com> <20231130114327.1530225-2-justinlai0215@realtek.com> <20231201203602.7e380716@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201203602.7e380716@kernel.org> 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 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 02 Dec 2023 08:36:42 -0800 (PST) On Fri, Dec 01, 2023 at 08:36:02PM -0800, Jakub Kicinski wrote: > On Thu, 30 Nov 2023 19:43:15 +0800 Justin Lai wrote: > > + * Below is a simplified block diagram of the chip and its relevant interfaces. > > + * > > + * ************************* > > + * * * > > + * * CPU network device * > > + * * * > > + * * +-------------+ * > > + * * | PCIE Host | * > > + * ***********++************ > > + * || > > + * PCIE > > + * || > > + * ********************++********************** > > + * * | PCIE Endpoint | * > > + * * +---------------+ * > > + * * | GMAC | * > > + * * +--++--+ Realtek * > > + * * || RTL90xx Series * > > + * * || * > > + * * +-------------++----------------+ * > > + * * | | MAC | | * > > + * * | +-----+ | * > > + * * | | * > > + * * | Ethernet Switch Core | * > > + * * | | * > > + * * | +-----+ +-----+ | * > > + * * | | MAC |...........| MAC | | * > > + * * +---+-----+-----------+-----+---+ * > > + * * | PHY |...........| PHY | * > > + * * +--++-+ +--++-+ * > > + * *************||****************||*********** > > + * > > + * The block of the Realtek RTL90xx series is our entire chip architecture, > > + * the GMAC is connected to the switch core, and there is no PHY in between. > > + * In addition, this driver is mainly used to control GMAC, but does not > > + * control the switch core, so it is not the same as DSA. > > Okay, but you seem to only register one netdev. > > Which MAC is it for? The GMAC one. This is going to be a DSA system, and this driver is for the conduit MAC the CPU uses. At some point, i hope there is a DSA driver added, or the existing realtek driver is extended to support this switch. Andrew