aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2021-02-16 11:46:16 +0100
committerMarc Kleine-Budde <[email protected]>2022-03-13 09:45:36 +0100
commit60a848c50d2d8923d56e1ac6071c07c82fda3fb1 (patch)
treefcbcd3b7e48c5eeb3e49ea8a421d6bac07c57729 /tools/perf/scripts/python
parent9263c2e92be95a7bba009d760420170f808c2243 (diff)
can: mcp251xfd: add RX IRQ coalescing support
This patch adds RX IRQ coalescing support to the driver. The mcp251xfd chip doesn't support proper hardware based coalescing, so this patch tries to implemented it in software. The RX-FIFO offers a "FIFO not empty" interrupt, which is used if no coalescing is active. With activated RX IRQ coalescing the "FIFO not empty" interrupt is disabled in the RX IRQ handler and the "FIFO half full" or "FIFO full interrupt" (depending on RX max coalesced frames IRQ) is used instead. To avoid RX CAN frame starvation a hrtimer is setup with RX coalesce usecs IRQ,on timer expiration the "FIFO not empty" is enabled again. Support for ethtool configuration is added in the next patch. Link: https://lore.kernel.org/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions