]> git.karo-electronics.de Git - karo-tx-linux.git/commit
can: flexcan: add support for timestamp based rx-offload
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 1 Sep 2015 07:00:13 +0000 (09:00 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Feb 2017 14:13:44 +0000 (15:13 +0100)
commitb3cf53e988cedb11a407d65abafca836da78b7c9
treed6dc8e05039b775cfdf198a2623ef4dc2f1202ca
parent9eb7aa891101a4a09114ff3191f9877ea35eae06
can: flexcan: add support for timestamp based rx-offload

The flexcan IP core has 64 mailboxes. For now they are configured for
RX as a hardware FIFO. This FIFO has a fixed depth of 6 CAN frames. In
some high load scenarios it turns out thas this buffer is too small.

In order to have a buffer larger than the 6 frames FIFO, this patch adds
support for timestamp based offloading via the generic rx-offload
infrastructure.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c