]> 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)
commit72b2017797f9081ae2db316f37d037af8133d0a8
treed6dc8e05039b775cfdf198a2623ef4dc2f1202ca
parentf78b5390321a01e13dcba414f26767f719cbed53
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