<div dir="ltr"><br><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 6, 2015 at 11:20 AM, Dave Taht <span dir="ltr"><<a href="mailto:dave.taht@gmail.com" target="_blank">dave.taht@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">we need testers at those rtts.<br>
<div class=""><div class="h5"><br>
On Sun, Sep 6, 2015 at 2:45 AM, Loganaden Velvindron<br>
<<a href="mailto:loganaden@gmail.com">loganaden@gmail.com</a>> wrote:<br>
> Hi Dave,<br>
><br>
> Hope you are doing well. I went throgh the design documents, and I was<br>
> wondering where should we (Mauritians) who experience between 250 and 330 ms<br>
> on international traffic should start tuning the code for our region.<br>
><br>
><br>
> Kind regards,<br>
> //Logan<br>
> C-x-C-c<br>
><br>
<br></div></div></blockquote><div><div><div>Hi guys, here is a trivial patch for fixing a small casting warning.<br><br></div>1 should be casted as u32, as flow_count is declared as u32. This avoids a warning on my arch_linux.<br><br></div>Patch here:<br><br><pre>diff --git a/sch_cake.c b/sch_cake.c
index 3ed18d7..aab0fe3 100644
--- a/sch_cake.c
+++ b/sch_cake.c
@@ -436,7 +436,7 @@ static int cake_enqueue(struct sk_buff *skb, struct Qdisc *sch)
* Split GSO aggregates if they're likely to impair flow isolation
* or if we need to know individual packet sizes for framing overhead.
*/
- if(unlikely((len * max(fqcd->flow_count, 1) > q->peel_threshold && skb_is_gso(skb))))
+ if(unlikely((len * max(fqcd->flow_count, (u32)1) > q->peel_threshold && skb_is_gso(skb))))
{
struct sk_buff *segs, *nskb;
netdev_features_t features = netif_skb_features(skb);
<br><br></pre><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">
<br>
<br>
</div></div><span class=""><font color="#888888">--<br>
Dave Täht<br>
endo is a terrible disease: <a href="http://www.gofundme.com/SummerVsEndo" rel="noreferrer" target="_blank">http://www.gofundme.com/SummerVsEndo</a><br>
</font></span></blockquote></div><br></div></div>