Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
To: <cake@lists.bufferbloat.net>
Subject: [Cake] 2 commits - unintended changes?
Date: Fri, 27 Nov 2015 14:39:59 +0000	[thread overview]
Message-ID: <56586B3F.1030408@darbyshire-bryant.me.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

https://github.com/dtaht/sch_cake/commit/d6a890461ddb6df72e88c20c82ea5b14eea39ef6
'move stats keeping out of inner loop' &

https://github.com/dtaht/sch_cake/commit/24a0f840d3b0c9ff2f2a10c57d12388766f7792f
'don't calculate rate unless doing autorate'

mess with things other than that which they say they're messin':


     struct cake_tin_data *b = &q->tins[q->cur_tin];
     struct cake_flow *flow;
     struct list_head *head;
-    u32 prev_drop_count, prev_ecn_mark;
+    u16 prev_drop_count, prev_ecn_mark;
     u32 len;
     u64 now = ktime_get_ns();
     s32 i;

     b->tin_dropped  += flow->cvars.drop_count - prev_drop_count;
     b->tin_ecn_mark += flow->cvars.ecn_mark   - prev_ecn_mark;
+    flow->cvars.ecn_mark = 0;
     flow->dropped        += flow->cvars.drop_count - prev_drop_count;
-    flow->dropped        += flow->cvars.ecn_mark   - prev_ecn_mark;
+    //flow->dropped        += flow->cvars.ecn_mark   - prev_ecn_mark;
 
     if (!skb) {
         /* codel dropped the last packet in this queue; try again */


2nd commit:

    b->tin_ecn_mark += flow->cvars.ecn_mark   - prev_ecn_mark;
     flow->cvars.ecn_mark = 0;
     flow->dropped        += flow->cvars.drop_count - prev_drop_count;
-    //flow->dropped        += flow->cvars.ecn_mark   - prev_ecn_mark;
 
     if (!skb) {
         /* codel dropped the last packet in this queue; try again */


Intended to change 'prev_drop_count, prev_ecn_mark' & flow->dropped ?


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]

             reply	other threads:[~2015-11-27 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27 14:39 Kevin Darbyshire-Bryant [this message]
2015-11-27 14:43 ` Dave Taht
2015-11-27 19:13   ` Kevin Darbyshire-Bryant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56586B3F.1030408@darbyshire-bryant.me.uk \
    --to=kevin@darbyshire-bryant.me.uk \
    --cc=cake@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox