Skip to content

can: add support for hash based access to EFF frame filters

Oliver Hartkopp linux-can 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/20 of 3 patches 0 repliesNew
  2. v2 posting 1/23 patches 1 replyApplied
  3. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Some coding style fixes, like
- indroduce spaces arround shift operations
- use ARRAY_SIZE(d->rx_sff) instead of CAN_SFF_RCV_ARRAY_SZ
- use ARRAY_SIZE(d->rx_eff) instead of CAN_EFF_RCV_ARRAY_SZ
- change to forward hash function as suggested by Marc

Patches in v2 posting 2/2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter Fwd: [PATCH v2 0/3] can: add support for hash based access to EFF frame filters

Hey Marc,

what about this patch set for can-next you had so much fun to review?

:-)

I was running this patch for a month now and it still applies properly.

Regards,
Oliver

-------- Original Message --------
Subject: [PATCH v2 0/3] can: add support for hash based access to EFF frame filters
Date: Wed, 2 Apr 2014 20:25:24 +0200
From: Oliver Hartkopp <[email protected]>
To: [email protected]
CC: Oliver Hartkopp <[email protected]>

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 .

Changes in v2:
Some coding style fixes, like
- indroduce spaces arround shift operations
- use ARRAY_SIZE(d->rx_sff) instead of CAN_SFF_RCV_ARRAY_SZ
- use ARRAY_SIZE(d->rx_eff) instead of CAN_EFF_RCV_ARRAY_SZ
- change to forward hash function as suggested by Marc

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(-)
Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html