]> git.baikalelectronics.ru Git - kernel.git/commit
can: add hash based access to single EFF frame filters
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 2 Apr 2014 18:25:26 +0000 (20:25 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 19 May 2014 07:38:24 +0000 (09:38 +0200)
commitab9877ada7230ef81bf05341890c8bff0e5de907
tree296c18dc3657954ecf84a51c588046e855f2d9cd
parentbd0c6bf896282380a5b34601313f5add247f8714
can: add hash based access to single EFF frame filters

In contrast to the direct access to the single SFF frame filters (which are
indexed by the SFF CAN ID itself) the single EFF frame filters are arranged
in a single linked hlist. To reduce the hlist traversal in the case of many
filter subscriptions a hash based access is introduced for single EFF filters.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/af_can.c
net/can/af_can.h
net/can/proc.c