]> git.baikalelectronics.ru Git - kernel.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)
commitb2578d33bad5168aa1ba3e0d9b28b230533b8d16
treed6dc8e05039b775cfdf198a2623ef4dc2f1202ca
parentdfd413058325a2b7772b6e809a5dd411bbbddf57
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