lkml.org 
[lkml]   [2015]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.16.y-ckt 068/126] xen-netback: fixing the propagation of the transmit shaper timeout
    Date
    3.16.7-ckt5 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: "Palik, Imre" <imrep@amazon.de>

    commit 07ff890daeda31cf23173865edf50bcb03e100c3 upstream.

    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: Luis Henriques <luis.henriques@canonical.com>
    ---
    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 3d85acd84bad..9378a17c9553 100644
    --- a/drivers/net/xen-netback/xenbus.c
    +++ b/drivers/net/xen-netback/xenbus.c
    @@ -549,6 +549,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) {
    --
    2.1.4


    \
     
     \ /
      Last update: 2015-01-27 13:41    [W:2.038 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site