netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] usbnet: usbnet: handle link change
@ 2013-04-11 14:40 Ming Lei
  2013-04-11 14:40 ` [PATCH 01/11] usbnet: introduce usbnet_link_change API Ming Lei
                   ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: Ming Lei @ 2013-04-11 14:40 UTC (permalink / raw)
  To: David S. Miller, Greg Kroah-Hartman; +Cc: Oliver Neukum, netdev, linux-usb

Hi,

This patch set introduces usbnet_link_change() API and applies
it on all usbnet drivers, then handle the link change centrally
to stop bulk transfer when link becomes off and restart bulk
transfer when link becomes on.

With the change, ~10% performance boost on bulk transfer
of another device on the same bus can be obtained when link
is off. Also, stopping bulk transfer when link becomes off
may disable asynchonous schedule of host controller, power
might be saved probabally.

 drivers/net/usb/asix_devices.c |    6 +-----
 drivers/net/usb/ax88179_178a.c |   12 ++++-------
 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   |    3 +--
 drivers/net/usb/usbnet.c       |   45 +++++++++++++++++++++++++++++++++++++++-
 include/linux/usb/usbnet.h     |    2 ++
 9 files changed, 58 insertions(+), 37 deletions(-)


Thanks,
--
Ming Lei

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

end of thread, other threads:[~2013-04-11 19:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 14:40 [PATCH 00/11] usbnet: usbnet: handle link change Ming Lei
2013-04-11 14:40 ` [PATCH 01/11] usbnet: introduce usbnet_link_change API Ming Lei
2013-04-11 14:40 ` [PATCH 02/11] usbnet: mcs7830: don't reset link Ming Lei
2013-04-11 14:40 ` [PATCH 03/11] usbnet: mcs7830: apply usbnet_link_change Ming Lei
2013-04-11 14:40 ` [PATCH 04/11] usbnet: cdc_ncm: " Ming Lei
2013-04-11 14:40 ` [PATCH 05/11] usbnet: asix: " Ming Lei
2013-04-11 14:40 ` [PATCH 06/11] usbnet: ax88179_1781: " Ming Lei
2013-04-11 14:40 ` [PATCH 07/11] usbnet: cdc-ether: " Ming Lei
2013-04-11 14:40 ` [PATCH 08/11] usbnet: dm9601: " Ming Lei
     [not found]   ` <1365691240-816-9-git-send-email-ming.lei-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
2013-04-11 15:18     ` Peter Korsgaard
2013-04-11 14:40 ` [PATCH 10/11] usbnet: " Ming Lei
2013-04-11 14:40 ` [PATCH 11/11] usbnet: handle link change Ming Lei
2013-04-11 14:52   ` Ming Lei
2013-04-11 19:58     ` David Miller
2013-04-11 15:18 ` [PATCH 00/11] usbnet: " Jussi Kivilinna
     [not found]   ` <5166D431.4080400-X3B1VOXEql0@public.gmane.org>
2013-04-11 15:27     ` Ming Lei
     [not found] ` <1365691240-816-1-git-send-email-ming.lei-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
2013-04-11 14:40   ` [PATCH 09/11] usbnet: sierra: apply usbnet_link_change Ming Lei
2013-04-11 19:58   ` [PATCH 00/11] usbnet: usbnet: handle link change David Miller

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