Skip to content

Commit

Permalink
xen-netback: fixing the propagation of the transmit shaper timeout
Browse files Browse the repository at this point in the history
Since e9ce7cb ("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]>
Signed-off-by: Imre Palik <[email protected]>
Acked-by: Ian Campbell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Palik, Imre authored and davem330 committed Jan 6, 2015
1 parent 15ecf7a commit 07ff890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/xen-netback/xenbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 07ff890

Please sign in to comment.