From patchwork Wed Jul 26 03:08:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hayes Wang X-Patchwork-Id: 12621 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp148032vqo; Tue, 25 Jul 2023 20:17:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlF8ztYnUidO/vzVnBfae1N8eHYJ+iaYOQIAuIib7UD4XbqmmO+OFalGDhU/ei1Fav2N6ggJ X-Received: by 2002:aa7:c50c:0:b0:522:5778:aed9 with SMTP id o12-20020aa7c50c000000b005225778aed9mr531938edq.19.1690341459111; Tue, 25 Jul 2023 20:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690341459; cv=none; d=google.com; s=arc-20160816; b=Dw/uZwFUjsxgb2cYeHWvTE5KXvnH4NwutEpdfkLkxEkjdnULmyiFoAe5LE3UIBtF3H 0zEtBAUx84tSfjZrwhWSWbgfn62XnyT/7st1a+7fdb8tgZeyqVG9XkOm70bvzNTh5hcb hKdMv0nkA+kEZZsZ9j6XrI+2KK6IEOGOxcWwDZ2IBPKxTSxwTb/YwT/mL/7v8JzDhVqi sMeN2pS2eeCDSnlTxoFxaDc/d1U/d7+/US3uqkxf5xjyfrx5F6LHsBom7Z2/jQrEy57L 7UDh8PhfEOyV5mFdgA8tZfL+qm7otU17d3v2yaMljPSMLIf8p0UixVidmOfC5vpc4yVO CeqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:authenticated-by; bh=hVGr2eFeULNc4s2AV5R71NBo7hRhi+W+HGnyZg6Zx4Y=; fh=q9cLQonAfV/WNLezu8/aPFdhVajKMg7lBtPBnvx15GA=; b=o74gpZmXC/tek3M+fcxtplUAXGHyRGtI1lRSDoJ9cBQ2nAPTbX9J2bucRK8ZD0dH/U T210bY2NAKX2v+mAQZltkiGPCfN7+KE0+MNInAQydgwjOA0MtP4iuQTOLpkTeHdl0nKv KZT5bDKp1EzkSbfRnCCqFm1+xgotbYnyLSmP8qKSMjZt5aPRioqovykE/b+sOI2oUcG3 xHypjAHrYGKee+9R/vtSP2+IRf+MWMp4OP8CxtfotEfZ45ssgafERxZF3t4KHOB4emqs DYQ0DJDSDs8yIspS1m0SsSd1AMCHJUwzvVn5/Oyq1GhPRXRd4m/YiZ8qqovu1y5+QPJj z59A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a056402104e00b00521937ee981si8921401edu.402.2023.07.25.20.17.15; Tue, 25 Jul 2023 20:17:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231201AbjGZDJD (ORCPT + 99 others); Tue, 25 Jul 2023 23:09:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjGZDIy (ORCPT ); Tue, 25 Jul 2023 23:08:54 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 13D692118; Tue, 25 Jul 2023 20:08:50 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 36Q38NQC0011089, 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.81/5.90) with ESMTPS id 36Q38NQC0011089 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 26 Jul 2023 11:08:23 +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, 26 Jul 2023 11:08:34 +0800 Received: from fc38.localdomain (172.22.228.98) 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, 26 Jul 2023 11:08:33 +0800 From: Hayes Wang To: , CC: , , , , Hayes Wang Subject: [PATCH net-next v2 0/2] r8152: reduce control transfer Date: Wed, 26 Jul 2023 11:08:06 +0800 Message-ID: <20230726030808.9093-417-nic_swsd@realtek.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Originating-IP: [172.22.228.98] X-ClientProxiedBy: RTEXH36505.realtek.com.tw (172.21.6.25) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback 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,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772451485760449728 X-GMAIL-MSGID: 1772451485760449728 v2: For patch #1, fix the typo of the commit message. v1: The two patches are used to reduce the number of control transfer when access the registers in bulk. Hayes Wang (2): r8152: adjust generic_ocp_write function r8152: set bp in bulk drivers/net/usb/r8152.c | 104 +++++++++++++++++----------------------- 1 file changed, 43 insertions(+), 61 deletions(-)