DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Avinash ." <avinash.182cs009@nitk.edu.in>
To: dev@dpdk.org
Subject: [dpdk-dev] Queries about the RED implementation
Date: Wed, 25 Sep 2019 11:10:29 +0530	[thread overview]
Message-ID: <CAONq4Hb-FHx32TgA2Q2Cyg1UQsr4-vwZ=vC1xEidLKRHHi5U2A@mail.gmail.com> (raw)

Hi,
 I was going through the implementation of RED in dpdk.
I wanted to clarify some doubts about the implementation.
First, In RED Paper the Pmax used, how is this related to InvMaxp in dpdk,
why inverse?
Secondly, the minth and maxth are constant values in RED paper, but in the
dpdk implementation, it's being left-shifted by wqlog2 + RED_SCALING. why?
More, wq is also a constant in RED paper, but it's calculated using lookup
tables in dpdk. What is the basic reason to do this?
It will be very helpful if these doubts are cleared.

Thank you. Regards

                 reply	other threads:[~2019-09-25  5:40 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='CAONq4Hb-FHx32TgA2Q2Cyg1UQsr4-vwZ=vC1xEidLKRHHi5U2A@mail.gmail.com' \
    --to=avinash.182cs009@nitk.edu.in \
    --cc=dev@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).