Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2889188lqo; Mon, 20 May 2024 23:21:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/gzySu0/iNb+vpLtk7ujiU4D0J/xC5a/8rSgSQ8S28aXun+CNL6HWqqkpIkc+n4D82g1JAjbGNQOosW13JKTorRmtKG1JL8xD9fzJFg== X-Google-Smtp-Source: AGHT+IGxlTONfe6oHMVI4VgtIV4Rpa/1bnDGgobUzVLVC66ceOenvEvtRLeG2Xf/WaoSX2ElncF7 X-Received: by 2002:a17:902:c204:b0:1eb:7832:8d93 with SMTP id d9443c01a7336-1ef43d18438mr296986985ad.23.1716272461482; Mon, 20 May 2024 23:21:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716272461; cv=pass; d=google.com; s=arc-20160816; b=zA5ApK8BYoEIAstAjmFKaSsNhuZw4IEpE0fuuO39rzn8yjy1lohn461hL9s2OlJfKe EuPPevLmojVIoVjqy3QDECdF11aUI0+9TXtbGEA8MfQdiLJk3Xjvgxo34SrkrNnyUipG OQM4YqcXtBzSjUBXqHOaQf1/EitJg8tkFpBKZzhVlmyErHaNURH4lykHe6GmvpoH8LSV Ijaf/+NHUwzvm5GZM9ccGmQzHQslvyl7xIg3zffcDSFP1guTBz5O1WiquCJymWuM4LKr ExbdcOjTeg5SbQMh1jkJ+wdfEl04unHux36iuHzFW0vYMxVm7xLXRMyYv0Tx2dxY9qP9 d/+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :references:message-id:date:thread-index:thread-topic:subject:cc:to :from; bh=IeJeU1ypW9boibsmlqDVIoei0vbTMnpV0l6g87L0c10=; fh=7m4/yD93vSoCv9LYBhrSHZ1oBUTWb9JsYBIh8t+DZ+A=; b=RnsBAcUXRVH3FuZDm65DIsaf9MLQGcR3qionpc4ymbYb2xHa7v62BzKlzajm3PGSur s1P7NW8VB8Zm0eXYU2k3ihSc1hI1GqAk7ES6aRiEsfg/05ofzRSR3JwDCTuR3pdS8R+E HnH43oQZSuoGH+cgwhACUvhc8rUMtGlKgobAu+PcwBIT+fEYMf8r09TbDgwTHEXochm6 JH3zOFDV4Xetk5jFalA3OvUvt/A9RqfQdlEsQwNADq1sclptu1yaKoAi0colGxQvG7/x NE/Blrzb6mWsZio2x9v2rFduVGWKXJ3OIUoUPHnIezMiO0npqlRyuyIuPWv0KsoeZ140 fqvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-184519-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184519-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f2fccf33d7si12936665ad.95.2024.05.20.23.21.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 23:21:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184519-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-184519-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184519-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B6BEAB21E35 for ; Tue, 21 May 2024 06:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6087746441; Tue, 21 May 2024 06:20:46 +0000 (UTC) Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6ADEF219ED; Tue, 21 May 2024 06:20:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716272445; cv=none; b=fnI8/BsAxSsPYwSyAjkEnJj0HYi2OFCPJVsq08NZ99u38XiGhJW9dCpktopv8CWsoyW02xfrhDcieUvstG0nCVI1HT4NWHIVgTMlijyodyxQSBzXHPrkfSUIv1zFBcCtYd6IFCUhgrHXyS8yyoJay7JlsqxfivAEesu+LkLvGZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716272445; c=relaxed/simple; bh=Xh6d491DDdpGmslXz15RAaeZh0mydbiKq45shHXbaTY=; h=From:To:CC:Subject:Date:Message-ID:References:Content-Type: MIME-Version; b=sbm5sORVLPgi0ZIODmy2O1zTm3uCcz4hyyIO8LkEABkTeC1bloIlZCqRp7/vO/bry3VXfGbLpM5xmqYdaDvjozUpP5fV80H+JMtJq4Xdz9d7flA4BGv3KPbvyexM4RMheLfkSo73HOBZoHxI5Dda2AG0JGmaieDmzqhtKhqXZJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 44L6K43t82253130, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 44L6K43t82253130 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 May 2024 14:20:04 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 21 May 2024 14:20:04 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 21 May 2024 14:20:04 +0800 Received: from RTEXMBS03.realtek.com.tw ([fe80::b9ff:7c04:a2d:c266]) by RTEXMBS03.realtek.com.tw ([fe80::b9ff:7c04:a2d:c266%2]) with mapi id 15.01.2507.035; Tue, 21 May 2024 14:20:04 +0800 From: Larry Chiu To: Justin Lai , Andrew Lunn 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" , Ping-Ke Shih Subject: RE: [PATCH net-next v19 01/13] rtase: Add pci table supported in this module Thread-Topic: [PATCH net-next v19 01/13] rtase: Add pci table supported in this module Thread-Index: AQHaqC9Rjgvgl8xidUGsWwGzPtgZ5LGa66SAgAZDQWCAAA0PoA== Date: Tue, 21 May 2024 06:20:04 +0000 Message-ID: References: <20240517075302.7653-1-justinlai0215@realtek.com> <20240517075302.7653-2-justinlai0215@realtek.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback >> + * Below is a simplified block diagram of the chip and its relevant in= terfaces. >> + * >> + * ************************* >> + * * * >> + * * 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=20 >> + architecture, >> + * the GMAC is connected to the switch core, and there is no PHY in be= tween. > >Given this architecture, this driver cannot be used unless there is a swit= ch driver as well. This driver is nearly ready to be merged. So what are yo= ur plans for the switch driver? Do you have a first version you can post? T= hat will reassure us you do plan to release a switch driver, and not use a = SDK in userspace. > > Andrew Hi Andrew, This GMAC is configured after the switch is boot-up and does not require a = switch driver to work.