Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Wed, Feb 25, 2015 at 10:53:11AM +, Stathis Voukelatos wrote: > On 25/02/15 09:50, Richard Cochran wrote: > > > >The Linux kernel already fully supports this kind of application via > >the SIOCSHWTSTAMP, SO_TIMESTAMPING, and PHC mechanisms. We certainly > >don't need another another interfac

Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Stathis Voukelatos
Hi Richard, On 25/02/15 09:50, Richard Cochran wrote: The Linux kernel already fully supports this kind of application via the SIOCSHWTSTAMP, SO_TIMESTAMPING, and PHC mechanisms. We certainly don't need another another interface just for someone's warped hardware design. I suggest that you fi

Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Mon, Feb 23, 2015 at 09:37:24AM +, Stathis Voukelatos wrote: > Hi Richard, > > On 18/02/15 21:08, Richard Cochran wrote: > >On Tue, Feb 17, 2015 at 02:03:30PM +, Stathis Voukelatos wrote: > >>The command string for packet matching is stored in module RAM > >>and consists of a sequence o

Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-23 Thread Stathis Voukelatos
Hi Richard, On 18/02/15 21:08, Richard Cochran wrote: On Tue, Feb 17, 2015 at 02:03:30PM +, Stathis Voukelatos wrote: The command string for packet matching is stored in module RAM and consists of a sequence of 16-bit entries. Each entry includes an 8-bit command code and and 8-bit data val

Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-18 Thread Richard Cochran
On Tue, Feb 17, 2015 at 02:03:30PM +, Stathis Voukelatos wrote: > The command string for packet matching is stored in module RAM > and consists of a sequence of 16-bit entries. Each entry includes > an 8-bit command code and and 8-bit data value. Valid command > codes are: > 0 - Don't care > 1

[PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-17 Thread Stathis Voukelatos
This patch adds support the Ethernet Packet Sniffer H/W module developed by Linn Products Ltd and found in the IMG Pistachio SoC. The module allows Ethernet packets to be parsed, matched against a user-defined pattern and timestamped. It sits between a 100M Ethernet MAC and PHY and is completely pa