public inbox for linux-can@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: puneet.sharma@moschip.com
Cc: linux-can@vger.kernel.org
Subject: Re: CAN device filterting
Date: Tue, 04 Sep 2012 15:40:51 +0200	[thread overview]
Message-ID: <504604E3.1040305@hartkopp.net> (raw)
In-Reply-To: <1346765466.5440.3.camel@punsfloyd-desktop>

On 04.09.2012 15:31, Puneet Sharma wrote:

> I need some guidance on implementing the CAN filtering of identifier in
> the driver code of CAN for atmel AT91SAM9263 board. Please guide me how
> to proceed with it..


Hm - i wrote that some days ago:

The CAN netdev driver model is as easy and simple as ethernet devices.
To fulfill multi-user requirements the CAN driver disables any CAN controller
specific filters and mailboxes to enable all different users on the host to
filter their own requires messages, using the CAN filter infrastructure:

http://lxr.linux.no/#linux+v3.5.3/Documentation/networking/can.txt#L393

You can also check out the filter capabilities with the 'candump' tool, see
'candump -?'

Does this help?

Regards,
Oliver

  reply	other threads:[~2012-09-04 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 13:31 CAN device filterting Puneet Sharma
2012-09-04 13:40 ` Oliver Hartkopp [this message]
2012-09-04 13:57   ` Marc Kleine-Budde
2012-09-04 16:53     ` Oliver Hartkopp
2012-09-04 17:13       ` Marc Kleine-Budde
2012-09-05  9:28         ` Puneet Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=504604E3.1040305@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=linux-can@vger.kernel.org \
    --cc=puneet.sharma@moschip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox