]> git.baikalelectronics.ru Git - kernel.git/commit
net: dpaa2: add support for manual setup of IRQ coalesing
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 15 Oct 2021 09:01:25 +0000 (12:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 13:32:41 +0000 (14:32 +0100)
commitb6ee6613d75fb35a0abfbc2420c6f9ad354cced1
treeed0773dc7f6e70a105b54d55670628dfd308df90
parentb9efea914c8ad53813acc6174c1e04255edd6b40
net: dpaa2: add support for manual setup of IRQ coalesing

Use the newly exported dpio driver API to manually configure the IRQ
coalescing parameters requested by the user.
The .get_coalesce() and .set_coalesce() net_device callbacks are
implemented and directly export or setup the rx-usecs on all the
channels configured.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c