curvetun-libs = -l${CONFIG_NACL_LIB} \ -lpthread curvetun-objs = xmalloc.o \ epoll2.o \ str.o \ dev.o \ stun.o \ sock.o \ sig.o \ link.o \ patricia.o \ corking.o \ trie.o \ taia.o \ hash.o \ rnd.o \ curve.o \ curve_test.o \ cookie.o \ keypair.o \ ioexact.o \ ioops.o \ cpusched.o \ die.o \ sysctl.o \ curvetun_mgmt_servers.o \ curvetun_mgmt_users.o \ curvetun_server.o \ curvetun_client.o \ curvetun.o curvetun-eflags = -I ${CONFIG_NACL_INC_DIR} curvetun-confs = tp:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-09-01 09:00:13 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-02-06 15:13:44 +0100
commitb3cf53e988cedb11a407d65abafca836da78b7c9 (patch)
treed6dc8e05039b775cfdf198a2623ef4dc2f1202ca
parent9eb7aa891101a4a09114ff3191f9877ea35eae06 (diff)
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>
-rw-r--r--drivers/net/can/flexcan.c158
1 files changed, 129 insertions, 29 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c