From: David Miller <davem@davemloft.net>
To: Martin.Leisner@xerox.com
Cc: linux-pm@lists.linux-foundation.org, netdev@vger.kernel.org,
martyleisner@yahoo.com
Subject: Re: WOL with flex filters, reflecting it in /sys
Date: Thu, 01 Oct 2009 14:22:57 -0700 (PDT) [thread overview]
Message-ID: <20091001.142257.125105313.davem@davemloft.net> (raw)
In-Reply-To: <76FA3B279DD9DA48896E2B404944957203C09587@USA7061MS02.na.xerox.net>
From: "Leisner, Martin" <Martin.Leisner@xerox.com>
Date: Thu, 1 Oct 2009 13:55:03 -0700
> 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
That's a pretty hairy interface for users to learn. Are you
really sure this is nicer than adding this facility to ethtool? :-)
next prev parent reply other threads:[~2009-10-01 21:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 20:55 WOL with flex filters, reflecting it in /sys Leisner, Martin
2009-10-01 21:22 ` David Miller [this message]
2009-10-01 21:23 ` [linux-pm] " Rafael J. Wysocki
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=20091001.142257.125105313.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Martin.Leisner@xerox.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=martyleisner@yahoo.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).