From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A7DBC07E96 for ; Tue, 6 Jul 2021 06:42:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A6B961964 for ; Tue, 6 Jul 2021 06:42:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230150AbhGFGow (ORCPT ); Tue, 6 Jul 2021 02:44:52 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:48373 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbhGFGot (ORCPT ); Tue, 6 Jul 2021 02:44:49 -0400 Received: from [222.129.38.159] (helo=[192.168.1.18]) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m0emX-0006MK-IK; Tue, 06 Jul 2021 06:42:09 +0000 Subject: Re: [PATCH 1/2] igc: don't rd/wr iomem when PCI is removed To: Dave Airlie Cc: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, David Miller , Jakub Kicinski , intel-wired-lan@lists.osuosl.org, Network Development , LKML References: <20210702045120.22855-1-aaron.ma@canonical.com> From: Aaron Ma Message-ID: <53691935-daee-9acc-93d2-414fb11ce2bc@canonical.com> Date: Tue, 6 Jul 2021 14:42:01 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 7/5/21 3:47 PM, Dave Airlie wrote: > Drive-by, but won't this add a lot of overhead on every register > access? has this been benchmarked with lots of small network transfers > or anything? > iperf3 is tested, the result is the same as before. Due to the registers are rd/wr even after error_handler and remove. Didn't find better fix. Please let me know if you have any idea. Thanks, Aaron > Dave.