DPDK usage discussions
 help / color / mirror / Atom feed
From: Gokul Bargaje <gokulbargaje.182009@nitk.edu.in>
To: users@dpdk.org
Subject: [dpdk-users] Help with RED (Dropper) Implementation
Date: Thu, 19 Sep 2019 19:38:36 +0530	[thread overview]
Message-ID: <CAH1-=xiP_cMT0qo0+-S4MKsnbV7p4=v-rQOfdSk=vPVARutaTQ@mail.gmail.com> (raw)

Hi,

I am trying to understand the implementation of Random Early Detection
(RED) AQM in DPDK. I have read the dpdk/lib/librte_sched/rte_red.c and
rte_red.h files but i don't understand the implementation.

Please help me to understand the following questions.
1. How RED parameters are configured?
2. What is *wq_log2*, *maxp_inv* and How their default values are
determined? (original terms in RED paper are wq and maxp)
3. What is *uint16_t rte_red_log2_1_minus_Wq[RTE_RED_WQ_LOG2_NUM]* and
*uint16_t
rte_red_pow2_frac_inv[16]* and how the size of these arrays is determined?
4. I found that wq is calculated using lookup tables, how this is actually
implemented?

Thanks in advance!

Thanks,
Gokul

                 reply	other threads:[~2019-09-19 14:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to='CAH1-=xiP_cMT0qo0+-S4MKsnbV7p4=v-rQOfdSk=vPVARutaTQ@mail.gmail.com' \
    --to=gokulbargaje.182009@nitk.edu.in \
    --cc=users@dpdk.org \
    /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;
as well as URLs for NNTP newsgroup(s).