[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1420559084-28370-1-git-send-email-imrep.amz@gmail.com>
Date: Tue, 6 Jan 2015 16:44:44 +0100
From: Imre Palik <imrep.amz@...il.com>
To: xen-devel@...ts.xenproject.org, netdev@...r.kernel.org
Cc: Ian Campbell <ian.campbell@...rix.com>,
Wei Liu <wei.liu2@...rix.com>, linux-kernel@...r.kernel.org,
"Palik, Imre" <imrep@...zon.de>,
Anthony Liguori <aliguori@...zon.com>
Subject: [PATCH] xen-netback: fixing the propagation of the transmit shaper timeout
From: "Palik, Imre" <imrep@...zon.de>
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@...zon.com>
Signed-off-by: Imre Palik <imrep@...zon.de>
---
drivers/net/xen-netback/xenbus.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c
index efbaf2a..794204e 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) {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists