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)
commit45c700291aee5170185bf5d1c2a494b1e3fe0883
tree296c18dc3657954ecf84a51c588046e855f2d9cd
parente3d3917f3d8f624a8df567b581fd8c4da49b443f
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