mbox series

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

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

Message

Ioana Ciornei Oct. 14, 2021, 5:02 p.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

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                    |   8 ++
 12 files changed, 275 insertions(+), 1 deletion(-)