Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp956417lqo; Fri, 17 May 2024 06:49:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWADVlzKKdateYMYhjgWfo5dnVZcoXdowtXhQdLcswzkH+cXqaIdk2brFHI19tJZg9MN0MwzqTp7l36RlqOY2SNJx9ulumphF2ThiYf5Q== X-Google-Smtp-Source: AGHT+IFTLlUT701p41yVnMX2OnNz269KC8DWyCczeRCRoqHepW96NOE9C7pdhCwQUjPIkLMcBfAQ X-Received: by 2002:a17:902:c950:b0:1dd:dcd3:662c with SMTP id d9443c01a7336-1eef9f346femr395614865ad.4.1715953796557; Fri, 17 May 2024 06:49:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715953796; cv=pass; d=google.com; s=arc-20160816; b=f27Y8rjv7UqQ6UMuT3rFY7PuxTAiN+sB0Tx0bSxSLhTT1Ae42LeqLeLIy9eaz8T7IU Z1X9g1KFZV1Gwba7q4BufQ53xjhtAQ5rOn9RzESod+vZipt2zRa5zJXy7KFSj0p6Qwyd h3Crrr6bY6bkZ1Iq+Ge1uDrXYFCAoB4cE98eTHbCJ/xnuHll0l3kYqFMFb4Nxh65JOzW O9YaXzfZv44S/pLH/U9dUAy+e23bZBA20s6To1Vl2LzVUQPnAeZ6R/2Rs0Tf8IhlYurC 2502GuYvIOfkGa6/bXphpz8tgTt8pGI7dxZ1UD5Xk0H8sttqJwOPLVK3/WH6IVNP7CdE r9Aw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ICNmatV/n196PbAHkCh3rR4p2kraFQbw8tCOH/qr2M=; fh=A7lpR/9SDdOuiGv1yRUY8LSUuNfxA6FFiYRM/XNoPuM=; b=Mi9++MqONt8/ADg+L1nEpgOxPcJq8Kcso3cgpUCvIT8bsv/7f8BuhpUXdhZub2lXF3 fKlIM2avJwMOmyBLxUwvW4WAngty9yA+arvtBMLPjqw1i1pOliG5BwYn43vg2skb47an SpPdmeaJZiwnnK5bXqsNfHVjIRc43F+c9/3cHxATNNn8ZgnS20vUHTGvJhc8/Qa8HNZF 6rUerL3WHd5UkusPFJY+EKhpO2eaKmcxGX+kQIIpbFB421RDOEFEl+uD/85DGZ5Q+Vt6 U7etqpL1F/ziOq7lJbInbSvXQ3l/PezseeMKdbO9m1HKMHe3e07SwKe6YwQFMSfU1xDy dK1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ehP7IVIY; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-182157-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf479si179359015ad.1.2024.05.17.06.49.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 06:49:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182157-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ehP7IVIY; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-182157-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 25F25282309 for ; Fri, 17 May 2024 13:49:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74D575577E; Fri, 17 May 2024 13:49:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="ehP7IVIY" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32DEB548EF; Fri, 17 May 2024 13:49:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715953788; cv=none; b=d+0So2haPNQFKFGHU+HQthkg0Tmfsd/8JetX4U2tFr7WPZtJZMltePUFri6Qcm+R5rp1eHNF/hB5t6WTGyh5QcEfoR1q8COvoc1UEOOmG1Ndrxspv83o60tYkTibu9Nsx2aEmfOfRODHYaVX1HTMIylDFr7vkDARm05pCxR52/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715953788; c=relaxed/simple; bh=zfMkOZOZZjgIRP4nwmmYsQYWA3FLGwCB0g70lmT6LcQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r1y1ZfoUwgJVJBYANtakXIhb3kslKkqD9vIPRMQRAGWoeOqhObYq88TPKOurCBtjDggjHm6nDVH+Y4KdH4xyX8/cA2HcLDE2dKTlrpxT62QVeqDsG+gVv2Y2HIZZrZhcZRReiDqvo1PoIgk33wSU+xq6jdPMo5ziN3w7IoDgOpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=ehP7IVIY; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=/ICNmatV/n196PbAHkCh3rR4p2kraFQbw8tCOH/qr2M=; b=ehP7IVIYPNQvBLiyDwvrI7zodb s1dqK41wqH0mETbvXWzraag2uqumIGbWTif/zaERrUVs8YIN7T9V7AVr0/YaYirK8cCFgqBazEBme ju8TTUc0vzI2vNMEzu3zP3j9dXkTDXqRZKIVI2kyUMBljoDUip5POvdKGYHAX+5O1ECo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1s7xxr-00FZu4-4B; Fri, 17 May 2024 15:49:39 +0200 Date: Fri, 17 May 2024 15:49:39 +0200 From: Andrew Lunn To: Justin Lai Cc: kuba@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jiri@resnulli.us, horms@kernel.org, rkannoth@marvell.com, pkshih@realtek.com, larry.chiu@realtek.com Subject: Re: [PATCH net-next v19 01/13] rtase: Add pci table supported in this module Message-ID: References: <20240517075302.7653-1-justinlai0215@realtek.com> <20240517075302.7653-2-justinlai0215@realtek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240517075302.7653-2-justinlai0215@realtek.com> > + * 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. Given this architecture, this driver cannot be used unless there is a switch driver as well. This driver is nearly ready to be merged. So what are your plans for the switch driver? Do you have a first version you can post? That will reassure us you do plan to release a switch driver, and not use a SDK in userspace. Andrew