From patchwork Tue Sep 12 01:49:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 13380474 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C5E23FE6 for ; Tue, 12 Sep 2023 01:50:04 +0000 (UTC) Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E5BBC64058; Mon, 11 Sep 2023 18:49:44 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.02,244,1688396400"; d="scan'208";a="179473811" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 12 Sep 2023 10:49:44 +0900 Received: from localhost.localdomain (unknown [10.166.15.32]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 396BA41065C0; Tue, 12 Sep 2023 10:49:44 +0900 (JST) From: Yoshihiro Shimoda To: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH net 0/2] net: renesas: rswitch: Fix a lot of redundant irq issue Date: Tue, 12 Sep 2023 10:49:34 +0900 Message-Id: <20230912014936.3175430-1-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org After this patch series was applied, a lot of redundant interrupts no longer occur. For example: when "iperf3 -c -R" on R-Car S4-8 Spider Before the patches are applied: about 800,000 times happened After the patches were applied: about 100,000 times happened Yoshihiro Shimoda (2): net: renesas: rswitch: Fix unmasking irq condition net: renesas: rswitch: Add spin lock protection for irq {un}mask drivers/net/ethernet/renesas/rswitch.c | 20 ++++++++++++++++---- drivers/net/ethernet/renesas/rswitch.h | 2 ++ 2 files changed, 18 insertions(+), 4 deletions(-) Reviewed-by: Simon Horman