Re: [PATCH 11/11] usbnet: handle link change

2013-04-11 Thread David Miller
From: Ming Lei Date: Thu, 11 Apr 2013 22:52:29 +0800 > On Thu, Apr 11, 2013 at 10:40 PM, Ming Lei wrote: >> dd if=/dev/sda iflag=direct of=/dev/null bs=1M count=500 > > Sorry, the above should be: > > dd if=/dev/sda iflag=direct of=/dev/null bs=1M count=800 I'll fix this up wh

Re: [PATCH 11/11] usbnet: handle link change

2013-04-11 Thread Ming Lei
On Thu, Apr 11, 2013 at 10:40 PM, Ming Lei wrote: > The link change is detected via the interrupt pipe, and bulk > pipes are responsible for transfering packets, so it is reasonable > to stop bulk transfer after link is reported as off. > > Two adavantages may be obtained with stopping bulk transf

[PATCH 11/11] usbnet: handle link change

2013-04-11 Thread Ming Lei
The link change is detected via the interrupt pipe, and bulk pipes are responsible for transfering packets, so it is reasonable to stop bulk transfer after link is reported as off. Two adavantages may be obtained with stopping bulk transfer after link becomes off: - USB bus bandwidth is saved(USB