From: Oliver Hartkopp Subject: [PATCH 0/3] can: add support for hash based access to EFF frame filters Date: Tue, 1 Apr 2014 20:57:09 +0200 Message-ID: <1396378632-5413-1-git-send-email-socketcan@hartkopp.net> Return-path: Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:63842 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747AbaDAS5j (ORCPT ); Tue, 1 Apr 2014 14:57:39 -0400 Sender: linux-can-owner@vger.kernel.org List-ID: To: linux-can@vger.kernel.org Cc: Oliver Hartkopp 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. This patch set enhances and documents the hash based EFF filter sets in af_can.c . Oliver Hartkopp (3): can: proc: make array printing function indenpendent from sff frames can: add hash based access to single EFF frame filters can: add documentation for CAN filter usage optimisation Documentation/networking/can.txt | 35 ++++++++++++++++++ net/can/af_can.c | 31 +++++++++++++--- net/can/af_can.h | 9 +++-- net/can/proc.c | 76 ++++++++++++++++++++++++++++++++-------- 4 files changed, 129 insertions(+), 22 deletions(-) -- 1.9.1