From: Daniel Walker <dwalker@fifo99.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: misc: stcam: Renesas stcam device
Date: Wed, 30 Oct 2013 14:42:02 -0700 [thread overview]
Message-ID: <20131030214202.GA10071@fifo99.com> (raw)
In-Reply-To: <20131030212251.GA14155@kroah.com>
On Wed, Oct 30, 2013 at 02:22:51PM -0700, Greg Kroah-Hartman wrote:
> On Wed, Oct 30, 2013 at 12:50:16PM -0700, Daniel Walker wrote:
> > On Wed, Oct 30, 2013 at 12:42:06PM -0700, Greg Kroah-Hartman wrote:
> > > On Wed, Oct 30, 2013 at 12:17:48PM -0700, Daniel Walker wrote:
> > > > This is a driver for the ternary content addressable memory unit from Renesas. It
> > > > allows filtering on bits, and wildcards thru the chip.
> > > >
> > > > Signed-off-by: Daniel Walker <dwalker@fifo99.com>
> > >
> > > What about the Cisco copyright? Has that author signed off on this?
> >
> > He's not aware of the release .. I can ask him to sign off, but I think
> > it's academic (he doesn't care).. I don't think he knows what a sign off
> > means.
>
> You should at least ask, it's only nice to do so.
Ok, assuming I actually re-submit ..
> > > And why a separate driver, can't you do this all from userspace as a
> > > normal i2c driver?
> >
> > I don't know , can I ? This is what Cisco is currently using ..
>
> That doesn't mean anything, sorry. We don't want to duplicate stuff
> that can already be done using i2c-dev and the like, right?
Would it matter if I said there was billion routers using this code?
The amount of work drops if I use the driver similar to it's current
form times 25.. I realize you don't give a rats ass about that, which is fine..
Most of the legacy drivers in i2c can be done in userspace it looks
like .. That means there's only super rare cases when you would take a
kernel i2c driver ?
> > > and most important, what is a "ternary content addressable memory unit"
> > > and what would you do with such a thing?
> >
> > I asked the same question when I looked at the driver. It's in
> > wikipedia,
> >
> > http://en.wikipedia.org/wiki/Content_addressable_memory#Ternary_CAMs
> >
> > It used for filtering things by 0,1 or wildcard.. In Cisco case "things"
> > is packets.
>
> That still doesn't explain what this driver is used for to me, sorry.
> Care to explain?
A packet goes into a switch, the TCAM is set to filter specific packets
to specific ports on the router (this is my understanding from wikipedia)
based on specific fields in the packets.. I'm not sure I can do much
better then that, but I'm sure someone with more network experience
could explain in more detail..
Daniel
prev parent reply other threads:[~2013-10-30 21:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 19:17 [PATCH] drivers: misc: stcam: Renesas stcam device Daniel Walker
2013-10-30 19:42 ` Greg Kroah-Hartman
2013-10-30 19:50 ` Daniel Walker
2013-10-30 21:22 ` Greg Kroah-Hartman
2013-10-30 21:42 ` Daniel Walker [this message]
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=20131030214202.GA10071@fifo99.com \
--to=dwalker@fifo99.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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