netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WOL with flex filters, reflecting it in /sys
@ 2009-10-01 20:55 Leisner, Martin
  2009-10-01 21:22 ` David Miller
  2009-10-01 21:23 ` [linux-pm] " Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Leisner, Martin @ 2009-10-01 20:55 UTC (permalink / raw)
  To: linux-pm, netdev; +Cc: martyleisner

I'm looking to extend the work of Mitch Williams to support flexible
filters.
(http://www.mail-archive.com/netdev@vger.kernel.org/msg60332.html}

Looking at the problem, would it be a good idea to reflect WOL
characteristics in the /sys filesystem (instead of requiring ethtool to
set them)?

Seems straightforward and easy enough.

I know the VIA Rhinefet and Intel e1000 support filters -- and some
freescale
seems to have some front end that support filters...and we've also
implemented filters in software...

What I'm thinking of is a hierarchy in /sys/classes/net/<device>/wol/

wol/
   /flex-filters
      /0
           data -- hex data to match
           mask -- string of 1 and 0 -- if 1, the data is valid in the
bit 
                   position
      ...
      /n
	   data
         mask
  /wake_up_packet
  /traditional --r/w (0/1)
     /magic_packet
     /arp
     /unicast
     /multicast
     /broadcast
     /phy
    
marty

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-01 21:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 20:55 WOL with flex filters, reflecting it in /sys Leisner, Martin
2009-10-01 21:22 ` David Miller
2009-10-01 21:23 ` [linux-pm] " Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).