Skip to contentSkip to conversation

xen-netback: fixing the propagation of the transmit shaper timeout

PATCH In review Imre Palik 3 participants 5 messages Jan 6, 2015

Subsystems (3)
lore
Share & tools
lore

Imre Palik

author
#0 lore raw

PATCH 1/1 xen-netback: fixing the propagation of the transmit shaper timeout

From: "Palik, Imre" <[email protected]>

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 <[email protected]>
---
 drivers/net/xen-netback/xenbus.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/xen-netback/xenbus.c +1 -0
index efbaf2a..794204e 100644
@@ -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) {
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#4 lore raw
In reply to Imre Palik
Quoted 10 lines · Imre Palik

From: "Palik, Imre" <[email protected]>

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 <[email protected]>
maintainer
#2 lore raw
In reply to Ian Campbell

From: Ian Campbell <[email protected]>
Date: Tue, 6 Jan 2015 15:54:07 +0000

Quoted 7 lines · Imre Palik
Quoted 6 lines

From: "Palik, Imre" <[email protected]>

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.

Quoted 6 lines
Quoted 4 lines

This patch fixes the issue.

Cc Anthony Liguori <[email protected]>

Applied and queued up for -stable, thanks.

maintainer
#3 lore raw
In reply to Ian Campbell

From: Ian Campbell <[email protected]>
Date: Tue, 6 Jan 2015 15:54:07 +0000

Quoted 7 lines · Imre Palik
Quoted 6 lines

From: "Palik, Imre" <[email protected]>

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.

Quoted 6 lines
Quoted 4 lines

This patch fixes the issue.

Cc Anthony Liguori <[email protected]>

Applied and queued up for -stable, thanks.