Commit 58db20fc authored by Palik, Imre's avatar Palik, Imre Committed by Luis Henriques

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

commit 07ff890d upstream.

Since e9ce7cb6 ("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 <aliguori@amazon.com>
Signed-off-by: default avatarImre Palik <imrep@amazon.de>
Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent c17a8003
...@@ -549,6 +549,7 @@ static void connect(struct backend_info *be) ...@@ -549,6 +549,7 @@ static void connect(struct backend_info *be)
} }
queue->remaining_credit = credit_bytes; queue->remaining_credit = credit_bytes;
queue->credit_usec = credit_usec;
err = connect_rings(be, queue); err = connect_rings(be, queue);
if (err) { if (err) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment