mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
xen-netback: fixing the propagation of the transmit shaper timeout
Since e9ce7cb6b1
("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: Imre Palik <imrep@amazon.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
15ecf7a063
commit
07ff890dae
1 changed files with 1 additions and 0 deletions
|
@ -737,6 +737,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) {
|
||||||
|
|
Loading…
Reference in a new issue