mbox series

[v2,net-next,0/5] dpaa2-eth: add support for IRQ coalescing

Message ID 20211015090127.241910-1-ioana.ciornei@nxp.com (mailing list archive)
Headers show
Series dpaa2-eth: add support for IRQ coalescing | expand

Message

Ioana Ciornei Oct. 15, 2021, 9:01 a.m. UTC
This patch set adds support for interrupts coalescing in dpaa2-eth.
The first patches add support for the hardware level configuration of
the IRQ coalescing in the dpio driver, while the ones that touch the
dpaa2-eth driver are responsible for the ethtool user interraction.

With the adaptive IRQ coalescing in place and enabled we have observed
the following changes in interrupt rates on one A72 core @2.2GHz
(LX2160A) while running a Rx TCP flow.  The TCP stream is sent on a
10Gbit link and the only cpu that does Rx is fully utilized.
                                IRQ rate (irqs / sec)
before:   4.59 Gbits/sec                24k
after:    5.67 Gbits/sec                1.3k

Changes in v2:
 - documented the new qman_clk field

Ioana Ciornei (5):
  soc: fsl: dpio: extract the QBMAN clock frequency from the attributes
  soc: fsl: dpio: add support for irq coalescing per software portal
  net: dpaa2: add support for manual setup of IRQ coalesing
  soc: fsl: dpio: add Net DIM integration
  net: dpaa2: add adaptive interrupt coalescing

 .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  |  11 +-
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.h  |   2 +
 .../ethernet/freescale/dpaa2/dpaa2-ethtool.c  |  58 +++++++++
 drivers/soc/fsl/Kconfig                       |   1 +
 drivers/soc/fsl/dpio/dpio-cmd.h               |   3 +
 drivers/soc/fsl/dpio/dpio-driver.c            |   1 +
 drivers/soc/fsl/dpio/dpio-service.c           | 117 ++++++++++++++++++
 drivers/soc/fsl/dpio/dpio.c                   |   1 +
 drivers/soc/fsl/dpio/dpio.h                   |   2 +
 drivers/soc/fsl/dpio/qbman-portal.c           |  59 +++++++++
 drivers/soc/fsl/dpio/qbman-portal.h           |  13 ++
 include/soc/fsl/dpaa2-io.h                    |   9 ++
 12 files changed, 276 insertions(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 15, 2021, 1:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Fri, 15 Oct 2021 12:01:22 +0300 you wrote:
> This patch set adds support for interrupts coalescing in dpaa2-eth.
> The first patches add support for the hardware level configuration of
> the IRQ coalescing in the dpio driver, while the ones that touch the
> dpaa2-eth driver are responsible for the ethtool user interraction.
> 
> With the adaptive IRQ coalescing in place and enabled we have observed
> the following changes in interrupt rates on one A72 core @2.2GHz
> (LX2160A) while running a Rx TCP flow.  The TCP stream is sent on a
> 10Gbit link and the only cpu that does Rx is fully utilized.
>                                 IRQ rate (irqs / sec)
> before:   4.59 Gbits/sec                24k
> after:    5.67 Gbits/sec                1.3k
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/5] soc: fsl: dpio: extract the QBMAN clock frequency from the attributes
    https://git.kernel.org/netdev/net-next/c/2cf0b6fe9bd3
  - [v2,net-next,2/5] soc: fsl: dpio: add support for irq coalescing per software portal
    https://git.kernel.org/netdev/net-next/c/ed1d2143fee5
  - [v2,net-next,3/5] net: dpaa2: add support for manual setup of IRQ coalesing
    https://git.kernel.org/netdev/net-next/c/a64b44213766
  - [v2,net-next,4/5] soc: fsl: dpio: add Net DIM integration
    https://git.kernel.org/netdev/net-next/c/69651bd8d303
  - [v2,net-next,5/5] net: dpaa2: add adaptive interrupt coalescing
    https://git.kernel.org/netdev/net-next/c/fc398bec0387

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html