diff options
author | Palik, Imre <imrep@amazon.de> | 2015-01-06 16:44:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-06 20:17:37 +0100 |
commit | 07ff890daeda31cf23173865edf50bcb03e100c3 (patch) | |
tree | 696ebce874a66bb89290872138bca5a3aafaf876 /drivers/net/xen-netback | |
parent | Merge tag 'mac80211-for-davem-2015-01-06' of git://git.kernel.org/pub/scm/lin... (diff) | |
download | linux-07ff890daeda31cf23173865edf50bcb03e100c3.tar.xz linux-07ff890daeda31cf23173865edf50bcb03e100c3.zip |
xen-netback: fixing the propagation of the transmit shaper timeout
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 <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>
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r-- | drivers/net/xen-netback/xenbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index efbaf2ae1999..794204e34fba 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) { |