Re: [PATCH] drivers: misc: stcam: Renesas stcam device

From: Daniel Walker
Date: Wed Oct 30 2013 - 15:50:31 EST


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@xxxxxxxxxx>
>
> 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.

> 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 ..

>
> You are creating sysfs files without the corrisponding
> Documentation/ABI/ files, why?

Because I didn't realize I needed to.. This release is one in about 25
or so similar drivers that I am planning to release.. I wasn't really
sure of what I needed to do w.r.t the sysfs interface details. Most of
the drivers have them in some form.

> 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.

Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/