From: Haiyang Zhang
Date: Tue, 27 Mar 2012 16:20:45 -0700
> In the existing code, we only stop queue when the ringbuffer is full,
> so the current packet has to be dropped or retried from upper layer.
>
> This patch stops the tx queue when available ringbuffer is below
> the low watermark. So th
From: Ben Hutchings
Date: Wed, 28 Mar 2012 19:05:00 +0100
> On Mon, 2012-03-26 at 19:12 -0400, David Miller wrote:
>> From: Greg KH
>> Date: Mon, 26 Mar 2012 16:10:17 -0700
>>
>> > David, please do NOT apply this as-is.
>>
>> BTW, ethtool had controls exactly for stuff like this.
>
> Not sure
On Mon, 2012-03-26 at 19:12 -0400, David Miller wrote:
> From: Greg KH
> Date: Mon, 26 Mar 2012 16:10:17 -0700
>
> > David, please do NOT apply this as-is.
>
> BTW, ethtool had controls exactly for stuff like this.
Not sure what you're thinking of...? We have pause frame control but I
don't th
In the existing code, we only stop queue when the ringbuffer is full,
so the current packet has to be dropped or retried from upper layer.
This patch stops the tx queue when available ringbuffer is below
the low watermark. So the ringbuffer still has small amount of space
available for the current
This patch is targeting 'net-next' tree (when re-opened).
Haiyang Zhang (1):
net/hyperv: Add flow control based on hi/low watermark
drivers/hv/ring_buffer.c| 31 -
drivers/net/hyperv/netvsc.c | 41 +++---
d
bject: Re: [PATCH 1/1] net/hyperv: Add flow control based on hi/low
> watermark
>
> On Tue, Mar 27, 2012 at 03:23:07PM -0700, Haiyang Zhang wrote:
> > --- a/include/linux/hyperv.h
> > +++ b/include/linux/hyperv.h
> > @@ -274,6 +274,35 @@ struct hv_ring_buf
On Tue, Mar 27, 2012 at 03:23:07PM -0700, Haiyang Zhang wrote:
> --- a/include/linux/hyperv.h
> +++ b/include/linux/hyperv.h
> @@ -274,6 +274,35 @@ struct hv_ring_buffer_debug_info {
> u32 bytes_avail_towrite;
> };
>
> +/* Amount of space to write to */
> +#define BYTES_AVAIL_TO_WRITE(r, w
In the existing code, we only stop queue when the ringbuffer is full,
so the current packet has to be dropped or retried from upper layer.
This patch stops the tx queue when available ringbuffer is below
the low watermark. So the ringbuffer still has small amount of space
available for the current
This patch is targeting 'net-next' tree (when re-opened).
Haiyang Zhang (1):
net/hyperv: Add flow control based on hi/low watermark
drivers/hv/ring_buffer.c| 31 -
drivers/net/hyperv/netvsc.c | 41 +++---
d
bject: Re: [PATCH 1/1] net/hyperv: Add flow control based on hi/low
> watermark
>
> On Mon, Mar 26, 2012 at 03:18:24PM -0700, Haiyang Zhang wrote:
> > In the existing code, we only stop queue when the ringbuffer is full,
> > so the current packet has to be dropped or retried from
From: Greg KH
Date: Mon, 26 Mar 2012 16:10:17 -0700
> David, please do NOT apply this as-is.
BTW, ethtool had controls exactly for stuff like this.
___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/list
On Mon, Mar 26, 2012 at 03:18:24PM -0700, Haiyang Zhang wrote:
> In the existing code, we only stop queue when the ringbuffer is full,
> so the current packet has to be dropped or retried from upper layer.
>
> This patch stops the tx queue when available ringbuffer is below
> the low watermark. So
In the existing code, we only stop queue when the ringbuffer is full,
so the current packet has to be dropped or retried from upper layer.
This patch stops the tx queue when available ringbuffer is below
the low watermark. So the ringbuffer still has small amount of space
available for the current
From: Haiyang Zhang
Date: Mon, 26 Mar 2012 15:18:23 -0700
> This patch is targeting 'net-next' tree.
The merge window is still open, and therefore the net-next tree is
not open yet.
___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.l
This patch is targeting 'net-next' tree.
Thanks to Stephen Hemminger for his suggestions.
Haiyang Zhang (1):
net/hyperv: Add flow control based on hi/low watermark
drivers/hv/ring_buffer.c| 15 +++
drivers/net/hyperv/hyperv_net.h |3 +++
drivers/
Hi,
I am soliciting on my brothers behalf a well known politician and a senator of
the republic of Philippines who has been in detention since 2007.
I will need your help to secure his funds abroad for investment with you
through me.
I will need your full cooperation to stand and sign a
16 matches
Mail list logo