soc: fsl: dpio: add support for irq coalescing per software portal
In DPAA2 based SoCs, the IRQ coalesing support per software portal has 2 configurable parameters: - the IRQ timeout period (QBMAN_CINH_SWP_ITPR): how many 256 QBMAN cycles need to pass until a dequeue interrupt is asserted. - the IRQ threshold (QBMAN_CINH_SWP_DQRR_ITR): how many dequeue responses in the DQRR ring would generate an IRQ. Add support for setting up and querying these IRQ coalescing related parameters. Signed-off-by:Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/soc/fsl/dpio/dpio-service.c 37 additions, 0 deletionsdrivers/soc/fsl/dpio/dpio-service.c
- drivers/soc/fsl/dpio/qbman-portal.c 59 additions, 0 deletionsdrivers/soc/fsl/dpio/qbman-portal.c
- drivers/soc/fsl/dpio/qbman-portal.h 11 additions, 0 deletionsdrivers/soc/fsl/dpio/qbman-portal.h
- include/soc/fsl/dpaa2-io.h 4 additions, 0 deletionsinclude/soc/fsl/dpaa2-io.h
Please register or sign in to comment