netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
To: Ming Lei <ming.lei@canonical.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Oliver Neukum <oneukum@suse.de>,
	netdev@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH 00/11] usbnet: usbnet: handle link change
Date: Thu, 11 Apr 2013 18:18:09 +0300	[thread overview]
Message-ID: <5166D431.4080400@iki.fi> (raw)
In-Reply-To: <1365691240-816-1-git-send-email-ming.lei@canonical.com>

On 11.04.2013 17:40, Ming Lei wrote:
> 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.

Should 'rndis_wlan' be changed to use this too?

-Jussi

> 
> 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
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  parent reply	other threads:[~2013-04-11 15:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
     [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: " Ming Lei
2013-04-11 19:58   ` [PATCH 00/11] usbnet: usbnet: handle link change David Miller
2013-04-11 14:40 ` [PATCH 10/11] usbnet: apply usbnet_link_change 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 ` Jussi Kivilinna [this message]
     [not found]   ` <5166D431.4080400-X3B1VOXEql0@public.gmane.org>
2013-04-11 15:27     ` [PATCH 00/11] usbnet: " Ming Lei

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=5166D431.4080400@iki.fi \
    --to=jussi.kivilinna@iki.fi \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ming.lei@canonical.com \
    --cc=netdev@vger.kernel.org \
    --cc=oneukum@suse.de \
    /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).