[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211014170215.132687-1-ioana.ciornei@nxp.com>
Date: Thu, 14 Oct 2021 20:02:10 +0300
From: Ioana Ciornei <ioana.ciornei@....com>
To: davem@...emloft.net, kuba@...nel.org
Cc: youri.querry_1@....com, leoyang.li@....com, netdev@...r.kernel.org,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net-next 0/5] dpaa2-eth: add support for IRQ coalescing
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(-)
--
2.31.1
Powered by blists - more mailing lists