[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a5ed73bd-b093-1fb9-a106-ae0b82efb7ff@gmail.com>
Date: Thu, 19 Jul 2018 08:55:40 -0600
From: David Ahern <dsahern@...il.com>
To: Toke Høiland-Jørgensen <toke@...e.dk>,
netdev@...r.kernel.org
Cc: cake@...ts.bufferbloat.net, Dave Taht <dave.taht@...il.com>
Subject: Re: [PATCH iproute2-next v10] Add support for CAKE qdisc
On 7/19/18 4:53 AM, Toke Høiland-Jørgensen wrote:
> A few comments below; will fix the rest.
>
>>> + print_uint(PRINT_JSON, "bandwidth", NULL, bandwidth);
>>> + print_string(PRINT_FP, NULL, "bandwidth %s ", sprint_rate(bandwidth, b1));
>>> + } else
>>> + print_string(PRINT_ANY, "bandwidth", "bandwidth %s ", "unlimited");
>>> + }
>>> + if (tb[TCA_CAKE_AUTORATE] &&
>>> + RTA_PAYLOAD(tb[TCA_CAKE_AUTORATE]) >= sizeof(__u32)) {
>>> + autorate = rta_getattr_u32(tb[TCA_CAKE_AUTORATE]);
>>> + if(autorate == 1)
>>> + print_string(PRINT_ANY, "autorate", "autorate_%s ", "ingress");
This just caught me eye as well ... why the '_' after autorate?
Powered by blists - more mailing lists