Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp22798rdb; Fri, 5 Jan 2024 01:06:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAt2J4AkrlykrV8DqXIWyePPXE8c72LRF2Y4G71RhZ4KHyjKXAjSF6yuuNfoj2ficX4YBv X-Received: by 2002:ac5:ccd3:0:b0:4b7:197b:318a with SMTP id j19-20020ac5ccd3000000b004b7197b318amr1344605vkn.23.1704445566291; Fri, 05 Jan 2024 01:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704445566; cv=none; d=google.com; s=arc-20160816; b=iYwvB4Oxb4gjwV2wvYk5mSLEti3naCJr8rNL0eQqzul8TQIG3G2HY47QIUfpGz884I eFLi/Iwu4HF2LPLHDIimsIyAcMl++UkA6SPcZqQ8FKNRWlmSqBDYUYdJv4mz+Wke7rgu 5DBXMA4g+xrXxdyZH6x2t/ZD8t/iFFVTRaveuz3zhJ7MY9xbuPbYZ+uVhPJKmFIY+rsj eJaha6LhXUfldXWX/mBBQ/C5o+UZGY8wCo2XPMCphceo8h4HW0Hfo5i5lugFi3+VUp2t ECTn/Y9m6Y+DMJa10eYsOlmEdPYL/RTJi8Z8e6CCMi8rZ2Xwfzg79H1cBns2BNEzdTBL u8cw== ARC-Message-Signature: i=1; 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 :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=VeaEvoJeTxto4E5Dc3VMAzKs9fcP9qgPKw4rEvjfV04=; fh=HpNG0f5RiY7chtAz0F8r58ambROrWolYMVQfrXH3KSg=; b=l7MWrE+v9qqTIGX0DgKLVwuMdwHq7l2+OBJ34dhJR8AES1YHStmWWy7AlISpWSzKkl uzix+lZNJEVLOHzWLQyv8ThO5KP7bHK/aQKe/oNEe1VslXZ9x2Sz37+NnyyJzNHDPhMw NZNZ0M8BaDIXR7U1lTLmlG8Hwt/EpwNht9B7zPrdqc3cC8V8ZbEK6EcEOr+ncewhd008 KhawDL57iHC4MbEMXKfuQW1O/BZm+JbXTlDrkC1Sqbb14LMzxhgpIAbeY2RMm8BBNktY 4V7HJUhK/9XVwFccwBNk3TY1HobuRbLuj4Wn72QRdzj8DZGxlTh6on1OJU0LQUs5oG63 unpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17647-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y2-20020a37e302000000b00781d0cdb03dsi1278708qki.554.2024.01.05.01.06.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 01:06:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17647-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BBF481C22CBD for ; Fri, 5 Jan 2024 09:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2F5322EE6; Fri, 5 Jan 2024 09:05:56 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org 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 F2D3822F00; Fri, 5 Jan 2024 09:05:54 +0000 (UTC) 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 40595Y9o82290263, 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 40595Y9o82290263 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Jan 2024 17:05:34 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) 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; Fri, 5 Jan 2024 17:05:35 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 5 Jan 2024 17:05:34 +0800 Received: from RTEXDAG02.realtek.com.tw ([fe80::5d58:7838:d352:d6b8]) by RTEXDAG02.realtek.com.tw ([fe80::5d58:7838:d352:d6b8%5]) with mapi id 15.01.2375.007; Fri, 5 Jan 2024 17:05:34 +0800 From: Justin Lai To: "kuba@kernel.org" CC: "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 v15 05/13] rtase: Implement hardware configuration function Thread-Topic: [PATCH net-next v15 05/13] rtase: Implement hardware configuration function Thread-Index: AQHaP7TzR1Pwa0RZA0mW//3lz45q0LDK7RgQ Date: Fri, 5 Jan 2024 09:05:34 +0000 Message-ID: References: <20240105085439.376802-1-justinlai0215@realtek.com> In-Reply-To: <20240105085439.376802-1-justinlai0215@realtek.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW x-kse-serverinfo: RTEXDAG02.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 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 > -----Original Message----- > From: Justin Lai > Sent: Friday, January 5, 2024 4:55 PM > To: kuba@kernel.org > Cc: 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 ; > Justin Lai > Subject: [PATCH net-next v15 05/13] rtase: Implement hardware configurati= on > function >=20 > Implement rtase_hw_config to set default hardware settings, including set= ting > interrupt mitigation, tx/rx DMA burst, interframe gap time, rx packet fil= ter, > near fifo threshold and fill descriptor ring and tally counter address, a= nd > enable flow control. When filling the rx descriptor ring, the first group= of > queues needs to be processed separately because the positions of the firs= t > group of queues are not regular with other subsequent groups. The other > queues are all newly added features, but we want to retain the original d= esign. > So they were not put together. >=20 > Signed-off-by: Justin Lai > --- > .../net/ethernet/realtek/rtase/rtase_main.c | 228 ++++++++++++++++++ > 1 file changed, 228 insertions(+) >=20 Sorry, this series of patches has not been sent completely, I will re-send = it again.