Re: [Xen-devel] [PATCH] xen-netback: fixing the propagation of the transmit shaper timeout

2015-01-06 Thread David Miller
From: Ian Campbell 
Date: Tue, 6 Jan 2015 15:54:07 +

> On Tue, 2015-01-06 at 16:44 +0100, Imre Palik wrote:
>> From: "Palik, Imre" 
>> 
>> Since e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue 
>> struct"),
>> the transimt shaper timeout is always set to 0.  The value the user sets via
>> xenbus is never propagated to the transmit shaper.
>> 
>> This patch fixes the issue.
>> 
>> Cc: Anthony Liguori 
>> Signed-off-by: Imre Palik 
> 
> Acked-by: Ian Campbell 

Applied and queued up for -stable, thanks.

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [PATCH] xen-netback: fixing the propagation of the transmit shaper timeout

2015-01-06 Thread Ian Campbell
On Tue, 2015-01-06 at 16:44 +0100, Imre Palik wrote:
> From: "Palik, Imre" 
> 
> Since e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue 
> struct"),
> the transimt shaper timeout is always set to 0.  The value the user sets via
> xenbus is never propagated to the transmit shaper.
> 
> This patch fixes the issue.
> 
> Cc: Anthony Liguori 
> Signed-off-by: Imre Palik 

Acked-by: Ian Campbell 



___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] [PATCH] xen-netback: fixing the propagation of the transmit shaper timeout

2015-01-06 Thread Imre Palik
From: "Palik, Imre" 

Since e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue 
struct"),
the transimt shaper timeout is always set to 0.  The value the user sets via
xenbus is never propagated to the transmit shaper.

This patch fixes the issue.

Cc: Anthony Liguori 
Signed-off-by: Imre Palik 
---
 drivers/net/xen-netback/xenbus.c |1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c
index efbaf2a..794204e 100644
--- a/drivers/net/xen-netback/xenbus.c
+++ b/drivers/net/xen-netback/xenbus.c
@@ -737,6 +737,7 @@ static void connect(struct backend_info *be)
}
 
queue->remaining_credit = credit_bytes;
+   queue->credit_usec = credit_usec;
 
err = connect_rings(be, queue);
if (err) {
-- 
1.7.9.5


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel