mbox series

[net,0/2] net: renesas: rswitch: Fix a lot of redundant irq issue

Message ID 20230912014936.3175430-1-yoshihiro.shimoda.uh@renesas.com (mailing list archive)
Headers show
Series net: renesas: rswitch: Fix a lot of redundant irq issue | expand

Message

Yoshihiro Shimoda Sept. 12, 2023, 1:49 a.m. UTC
After this patch series was applied, a lot of redundant interrupts
no longer occur.

For example: when "iperf3 -c <ipaddr> -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(-)

Comments

Simon Horman Sept. 13, 2023, 11:24 a.m. UTC | #1
On Tue, Sep 12, 2023 at 10:49:34AM +0900, Yoshihiro Shimoda wrote:
> After this patch series was applied, a lot of redundant interrupts
> no longer occur.
> 
> For example: when "iperf3 -c <ipaddr> -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(-)

For series,

Reviewed-by: Simon Horman <horms@kernel.org>
patchwork-bot+netdevbpf@kernel.org Sept. 14, 2023, 8:40 a.m. UTC | #2
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 12 Sep 2023 10:49:34 +0900 you wrote:
> After this patch series was applied, a lot of redundant interrupts
> no longer occur.
> 
> For example: when "iperf3 -c <ipaddr> -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
> 
> [...]

Here is the summary with links:
  - [net,1/2] net: renesas: rswitch: Fix unmasking irq condition
    https://git.kernel.org/netdev/net/c/e7b1ef29420f
  - [net,2/2] net: renesas: rswitch: Add spin lock protection for irq {un}mask
    https://git.kernel.org/netdev/net/c/c4f922e86c8e

You are awesome, thank you!