From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2 v2 0/3] CAN Filter/Classifier Date: Mon, 20 Aug 2012 13:06:05 -0700 Message-ID: <20120820130605.63811eee@nehalam.linuxnetplumber.net> References: <1343383363-6174-1-git-send-email-mkl@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mail.vyatta.com ([76.74.103.46]:60663 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751691Ab2HTUGY (ORCPT ); Mon, 20 Aug 2012 16:06:24 -0400 In-Reply-To: <1343383363-6174-1-git-send-email-mkl@pengutronix.de> Sender: linux-can-owner@vger.kernel.org List-ID: To: Marc Kleine-Budde Cc: netdev@vger.kernel.org, linux-can@vger.kernel.org, lartc@vger.kernel.org, pisa@cmp.felk.cvut.cz, sojkam1@fel.cvut.cz, lisovy@gmail.com On Fri, 27 Jul 2012 12:02:40 +0200 Marc Kleine-Budde wrote: > Hello, > > I'm reposting Rostislav's iproute2 patches, as Stephen requested, > during the v3.6 merge window with the corresponding kernel patches > already applied. > > Changes since v1: > - use can.h generated by 'make headers_install' (tnx Stephen) > - remove some trailing whitespace > > Now Rostislav original introduction message: > > --- > > This classifier classifies CAN frames (AF_CAN) according to their > identifiers. This functionality can not be easily achieved with > existing classifiers, such as u32. This classifier can be used > with any available qdisc and it is able to classify both SFF > or EFF frames. > > The filtering rules for EFF frames are stored in an array, which > is traversed during classification. A bitmap is used to store SFF > rules -- one bit for each ID. > > More info about the project: > http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf > > --- > > The following changes since commit fa1f7441a94670ecf5cbf8eb2ee19173437b5127: > > Remove reference to multipath algorithms in usage (2012-07-26 16:12:20 -0700) > > are available in the git repository at: > > git://gitorious.org/linux-can/iproute2.git for-stephen > If your changes work with 3.6 then please rebase your patches on current iproute2 tree. Note: do not include changes to include/linux which now includes can.h and matches 3.6-rc2.