[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <76FA3B279DD9DA48896E2B404944957203C09587@USA7061MS02.na.xerox.net>
Date: Thu, 1 Oct 2009 13:55:03 -0700
From: "Leisner, Martin" <Martin.Leisner@...ox.com>
To: <linux-pm@...ts.linux-foundation.org>, <netdev@...r.kernel.org>
Cc: <martyleisner@...oo.com>
Subject: WOL with flex filters, reflecting it in /sys
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists