netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] usbnet: support runtime PM triggered by link change
@ 2012-09-15 17:48 Ming Lei
       [not found] ` <1347731299-29898-1-git-send-email-ming.lei-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Ming Lei @ 2012-09-15 17:48 UTC (permalink / raw)
  To: David S. Miller, Greg Kroah-Hartman
  Cc: Oliver Neukum, Fink Dmitry, Rafael Wysocki, Alan Stern, netdev,
	linux-usb

Hi,

Currently only very few usbnet devices support the traffic based
runtime PM, eg. wake up devices if there are packets to be transmitted.

For the below situation, it should make sense to runtime suspend usbnet
device to save power:
	
	- after network link becomes down

This patch implements the runtime PM triggered by network link change
event, and it works basically on asix usbnet device after a simple
runtime PM test.

 drivers/net/usb/asix_devices.c |    6 +-
 drivers/net/usb/cdc_ether.c    |    5 +-
 drivers/net/usb/cdc_ncm.c      |    9 +-
 drivers/net/usb/dm9601.c       |    7 +-
 drivers/net/usb/mcs7830.c      |    6 +-
 drivers/net/usb/sierra_net.c   |    6 +-
 drivers/net/usb/usbnet.c       |  224 +++++++++++++++++++++++++++++++++++++++-
 include/linux/usb/usbnet.h     |   21 +++-
 8 files changed, 250 insertions(+), 34 deletions(-)


Thanks
--
Ming Lei

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

end of thread, other threads:[~2012-09-24 17:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-15 17:48 [RFC PATCH 0/3] usbnet: support runtime PM triggered by link change Ming Lei
     [not found] ` <1347731299-29898-1-git-send-email-ming.lei-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
2012-09-15 17:48   ` [RFC PATCH 1/3] usbnet: introduce usbnet_link_change API Ming Lei
2012-09-15 17:48 ` [RFC PATCH 2/3] usbnet: apply usbnet_link_change Ming Lei
2012-09-15 17:48 ` [RFC PATCH 3/3] usbnet: support runtime PM triggered by link change Ming Lei
2012-09-17  8:50   ` Oliver Neukum
     [not found]     ` <3287943.Bzm0t1oGWG-ugxBuEnWX9yG/4A2pS7c2Q@public.gmane.org>
2012-09-17  9:02       ` David Laight
     [not found]         ` <AE90C24D6B3A694183C094C60CF0A2F6026B6FF0-CgBM+Bx2aUAnGFn1LkZF6NBPR1lH4CV8@public.gmane.org>
2012-09-17 11:15           ` Greg Kroah-Hartman
2012-09-17 13:07     ` Ming Lei
2012-09-17  8:04 ` [RFC PATCH 0/3] " Oliver Neukum
     [not found]   ` <2236952.YSZj5xxzHO-ugxBuEnWX9yG/4A2pS7c2Q@public.gmane.org>
2012-09-17  8:25     ` Ming Lei
2012-09-20  8:30       ` Bjørn Mork
2012-09-20 21:02         ` David Miller
     [not found]           ` <20120920.170227.258356702969458329.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-09-20 21:04             ` Oliver Neukum
     [not found]               ` <1703568.mhE1zQzG7o-ugxBuEnWX9yG/4A2pS7c2Q@public.gmane.org>
2012-09-20 21:16                 ` David Miller
2012-09-21  1:44                   ` Ming Lei
2012-09-24 17:10         ` Ming Lei

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