Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2398634rdb; Tue, 14 Nov 2023 22:21:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHsPaktt+Wwvecn/SlwkglrER74J3fuMCIP/DGb60txPGExcwxpGQlQWdsY5HqkDjDUTFo X-Received: by 2002:a05:6e02:1a24:b0:34f:7e1b:a7a2 with SMTP id g4-20020a056e021a2400b0034f7e1ba7a2mr15604877ile.13.1700029290640; Tue, 14 Nov 2023 22:21:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700029290; cv=none; d=google.com; s=arc-20160816; b=XzgkZlOWbm0xrmJAsDUD8AdpXLq6TxoXJiVi89qJMTsbnMXlmszq8AcnxSS0kSPLo2 X6wBjd93f1T1j+HfnyuIsy+8QpnRymp23q3lH93VZpCXx+/AZ7uIlf7x1OW/g5Xl2hWL FHk7MAjLg1drwJngdpw0wYXUaX2SDcVqoZYg69xKflWqG84ZGw2mADB/Q+RomOxpPthJ A+gltiftfDmV4Q6RtUaHQ+1Fhv7249remgdncrnbLM1VEbBqpNAg6nqEsJrtvdjYuMA/ sX39k7PefnBVSgnJxmtrsJzwnUNWP6/t5ql+frcE8BOb6hPEvF3e0PvBA/NeIjhsfcZT GDlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=0e/rZJWe5h8GFnlSXsoVSwjSafYudX5h3iiIFcTAr7U=; fh=bKYDIRT1rP5mzutkzHXFkzhKH8fOGBUfZmklxKDXWGQ=; b=MaZNNzQBwpVDqz5tWZUk6e2GpvXoXqJBI9L0Ao+hLqU4Gyk7D12CREePEYz3WdPtVs 2lQ347NJxZxYQXpe26t+Vg2rfz0vyYO/cwxbMq5W2BgNj2igehWEjloBLtndZX9UYNA+ x2rhHjqrTGF/ha/YpleRweK8tgRIuRcRiylWxOrYrcpxM//6XUO4mVu8fMkGyurShxEj fxPJWpy02KcYzrnrWrkGGyV4oIOx4zspaa7Lr0R1NM9Rm7e7FlOubjMUJqf8PCPvwoUX e1K2CrhDsLE1ZEKcnJQoUzxiJuJk1YPTVSAHG7Z/1F9ZMWon+V6KHjuWgBUYRzcE4Hy1 KB3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id q9-20020a056a00088900b006c3fb228827si9587177pfj.157.2023.11.14.22.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 22:21:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7B9BC80874FB; Tue, 14 Nov 2023 22:21:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234560AbjKOGUz convert rfc822-to-8bit (ORCPT + 99 others); Wed, 15 Nov 2023 01:20:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjKOGUy (ORCPT ); Wed, 15 Nov 2023 01:20:54 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0672F91; Tue, 14 Nov 2023 22:20:48 -0800 (PST) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3AF6KET901500282, 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 3AF6KET901500282 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Nov 2023 14:20:14 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Wed, 15 Nov 2023 14:20:14 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 15 Nov 2023 14:20:13 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7]) by RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7%5]) with mapi id 15.01.2375.007; Wed, 15 Nov 2023 14:20:13 +0800 From: Justin Lai To: Simon Horman CC: "kuba@kernel.org" , "davem@davemloft.net" , "edumazet@google.com" , "pabeni@redhat.com" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "andrew@lunn.ch" , Ping-Ke Shih , Larry Chiu Subject: RE: [PATCH net-next v10 12/13] net:ethernet:realtek: Update the Makefile and Kconfig in the realtek folder Thread-Topic: [PATCH net-next v10 12/13] net:ethernet:realtek: Update the Makefile and Kconfig in the realtek folder Thread-Index: AQHaDaOXaCiSv08AfUSaFrlhkAXsGLBp+vsAgBEBJNA= Date: Wed, 15 Nov 2023 06:20:13 +0000 Message-ID: <462b9b3197e0459db71aaf9dcebfc642@realtek.com> References: <20231102154505.940783-1-justinlai0215@realtek.com> <20231102154505.940783-13-justinlai0215@realtek.com> <20231104183904.GO891380@kernel.org> In-Reply-To: <20231104183904.GO891380@kernel.org> Accept-Language: zh-TW, en-US Content-Language: zh-TW x-originating-ip: [172.21.210.185] x-kse-serverinfo: RTEXMBS04.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: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Tue, 14 Nov 2023 22:21:08 -0800 (PST) > -----Original Message----- > From: Simon Horman > Sent: Sunday, November 5, 2023 2:39 AM > 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; > andrew@lunn.ch; Ping-Ke Shih ; Larry Chiu > > Subject: Re: [PATCH net-next v10 12/13] net:ethernet:realtek: Update the > Makefile and Kconfig in the realtek folder > > > External mail. > > > > On Thu, Nov 02, 2023 at 11:45:04PM +0800, Justin Lai wrote: > > 1. Add the RTASE entry in the Kconfig. > > 2. Add the CONFIG_RTASE entry in the Makefile. > > > > Signed-off-by: Justin Lai > > --- > > drivers/net/ethernet/realtek/Kconfig | 17 +++++++++++++++++ > > drivers/net/ethernet/realtek/Makefile | 1 + > > 2 files changed, 18 insertions(+) > > > > diff --git a/drivers/net/ethernet/realtek/Kconfig > > b/drivers/net/ethernet/realtek/Kconfig > > index 93d9df55b361..57ef924deebd 100644 > > --- a/drivers/net/ethernet/realtek/Kconfig > > +++ b/drivers/net/ethernet/realtek/Kconfig > > @@ -113,4 +113,21 @@ config R8169 > > To compile this driver as a module, choose M here: the module > > will be called r8169. This is recommended. > > > > +config RTASE > > + tristate "Realtek Automotive Switch > 9054/9068/9072/9075/9068/9071 PCIe Interface support" > > + depends on PCI > > + select CRC32 > > + help > > + Say Y here if you have a Realtek Ethernet adapter belonging to > > + the following families: > > + RTL9054 5GBit Ethernet > > + RTL9068 5GBit Ethernet > > + RTL9072 5GBit Ethernet > > + RTL9075 5GBit Ethernet > > + RTL9068 5GBit Ethernet > > + RTL9071 5GBit Ethernet > > + > > + To compile this driver as a module, choose M here: the module > > + will be called rtase. This is recommended. > > + > > endif # NET_VENDOR_REALTEK > > diff --git a/drivers/net/ethernet/realtek/Makefile > > b/drivers/net/ethernet/realtek/Makefile > > index 2e1d78b106b0..0c1c16f63e9a 100644 > > --- a/drivers/net/ethernet/realtek/Makefile > > +++ b/drivers/net/ethernet/realtek/Makefile > > @@ -8,3 +8,4 @@ obj-$(CONFIG_8139TOO) += 8139too.o > > obj-$(CONFIG_ATP) += atp.o > > r8169-objs += r8169_main.o r8169_firmware.o r8169_phy_config.o > > obj-$(CONFIG_R8169) += r8169.o > > +obj-$(CONFIG_RTASE) += rtase/ > > An allmodconfig on x86_64 fails to build with the series applied up to this > point. > > ../drivers/net/ethernet/realtek/rtase/rtase_main.c:68:10: fatal error: > net/page_pool.h: No such file or directory 68 | #include > > > Please also note that, net-next closed, as per the following: > > ## Form letter - net-next-closed > > The merge window for v6.7 has begun 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 November 12th. > > RFC patches sent for review only are obviously welcome at any time. > > See: > https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#devel > opment-cycle > -- > pw-bot: cr Thank you for your reply. I will correct the relevant compiler error and repost it after opening net-next.