| From | Greg Kroah-Hartman <> | Subject | [PATCH 3.18 022/183] xen-netback: fixing the propagation of the transmit shaper timeout | Date | Sun, 25 Jan 2015 10:05:44 -0800 |
| |
3.18-stable review patch. If anyone has any objections, please let me know.
------------------
From: "Palik, Imre" <imrep@amazon.de>
[ Upstream commit 07ff890daeda31cf23173865edf50bcb03e100c3 ]
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/net/xen-netback/xenbus.c | 1 + 1 file changed, 1 insertion(+)
--- a/drivers/net/xen-netback/xenbus.c +++ b/drivers/net/xen-netback/xenbus.c @@ -736,6 +736,7 @@ static void connect(struct backend_info } queue->remaining_credit = credit_bytes; + queue->credit_usec = credit_usec; err = connect_rings(be, queue); if (err) {
|