Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6068392rdb; Mon, 18 Sep 2023 03:14:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9eOw1fBRTlQRi1MqAUagCdEKP7Dfp6ZgbZ514FUvowCXLBFhfwUao3PKplkSZgUw6/qD0 X-Received: by 2002:a17:902:a40b:b0:1bb:3406:a612 with SMTP id p11-20020a170902a40b00b001bb3406a612mr6513382plq.57.1695032047424; Mon, 18 Sep 2023 03:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695032047; cv=none; d=google.com; s=arc-20160816; b=aHQBeENWTQOt5aOXwlOS6R7cAkWyzd6Y7jCZIc6+rOhtq6Gnm26iiClncCpbA+MdA7 YD1UtYysAqTHEiHGrkNaU35FDHb8te1zV9pofIxWetDeu23c99TLwy62ieGMgt+yYUXI im9f0GJl9RHlp0Sv/ZCH1h0HYuelhxi4/pemch4yzvsYG4fsN0QJ4syBXYrwxd3mj4EQ NdjQvdGGGjmy1lrPw1eIUaJSp70pIlQkFh6BPx62pCpp5N3xb63RCN4f9+n9MD5DKIH1 ELreJIF3dzuHRCTRLIZ1YYSYj5cO758BVsTr/SHhXVNk13tpfVESRJY0ec1+9qAcvc+I zHng== 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=/HHXPRHr2L8itiXkFXHW1HquGv3tdlOeXV01XpDePNk=; fh=7woA2BmusuyAuYOLcM0p/keX6CLgHtdideuhX0yZD50=; b=zPqlhm9frygbOdpm2T9NhROyfTmTUfLXJHBla11R7ysutWag698GACwsHeOiJKJuvd EXiFdF++rHaQfh9VXPl/pY0S6GLciiPGoQWC6xFhI8y0IFExVuqEU/6m3TMuy+9tsqSE L+PANBriS6dccuoj1AiMa8ZzinSCo6y0/PTZ3HhnXHT/lkZjooIISYjWN1tAo7Fmq4S5 DNp9HdRwexyzfj1dr3VZ0Bn702VJvD3ZBV69FB3aZOYiSpFguKMWtHd2fvrHxsqz6P9Q 5cnOfif7Jp6KiavHeQLBfYYbFm62Fnb0239cDtPaiRfd7qDf195flfT18g/3jukZYi/i XgBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e2-20020a17090301c200b001b8866a4abfsi8205614plh.82.2023.09.18.03.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 03:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 378E38061357; Mon, 18 Sep 2023 02:29:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236622AbjIRJ3W (ORCPT + 99 others); Mon, 18 Sep 2023 05:29:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239479AbjIRJ26 (ORCPT ); Mon, 18 Sep 2023 05:28:58 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70A47118; Mon, 18 Sep 2023 02:28:49 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 38I9S5Nq81942313, 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.92/5.92) with ESMTPS id 38I9S5Nq81942313 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Sep 2023 17:28:05 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) 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; Mon, 18 Sep 2023 17:28:04 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 18 Sep 2023 17:28:03 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::7445:d92b:d0b3:f79c]) by RTEXMBS04.realtek.com.tw ([fe80::7445:d92b:d0b3:f79c%5]) with mapi id 15.01.2375.007; Mon, 18 Sep 2023 17:28:03 +0800 From: Hayes Wang To: Eric Dumazet CC: "kuba@kernel.org" , "davem@davemloft.net" , "netdev@vger.kernel.org" , nic_swsd , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , "bjorn@mork.no" , "pabeni@redhat.com" Subject: RE: [PATCH net-next resend 1/2] r8152: remove queuing rx packets in driver Thread-Topic: [PATCH net-next resend 1/2] r8152: remove queuing rx packets in driver Thread-Index: AQHZ6gOv5dotXJafx06AY5ZZ4fOWz7AfsJgAgACIv9D//4eLAIAAi13g Date: Mon, 18 Sep 2023 09:28:03 +0000 Message-ID: References: <20230918074202.2461-426-nic_swsd@realtek.com> <20230918074202.2461-427-nic_swsd@realtek.com> <7235821eb09242adaa651172729f76aa@realtek.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW x-originating-ip: [172.22.228.6] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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]); Mon, 18 Sep 2023 02:29:54 -0700 (PDT) RXJpYyBEdW1hemV0IDxlZHVtYXpldEBnb29nbGUuY29tPg0KPiBTZW50OiBNb25kYXksIFNlcHRl bWJlciAxOCwgMjAyMyA0OjUzIFBNDQpbLi4uXQ0KPiA+ID4gWzFdIE1vcmUgY29udmVudGlvbmFs IHdheSB0byB0byBwdXQgdGhpcyBjb25kaXRpb24gYXQgdGhlIGJlZ2lubmluZyBvZg0KPiA+ID4g dGhlIHdoaWxlICgpIGxvb3AsDQo+ID4gPiBiZWNhdXNlIHRoZSBidWRnZXQgY291bGQgYmUgemVy by4NCj4gPg0KPiA+IElmIHRoZSBidWRnZXQgaXMgemVybywgdGhlIGZ1bmN0aW9uIHdvdWxkbid0 IGJlIGNhbGxlZC4NCj4gPiBhN2I4ZDYwYjM3MjMgKCJyODE1MjogY2hlY2sgYnVkZ2V0IGZvciBy ODE1Ml9wb2xsIikgYXZvaWRzIGl0Lg0KPiANCj4gWWVzLCBhbmQgd2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