From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55E95A0613 for ; Wed, 25 Sep 2019 07:40:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6812B2BEA; Wed, 25 Sep 2019 07:40:43 +0200 (CEST) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by dpdk.org (Postfix) with ESMTP id 1FE802BE6 for ; Wed, 25 Sep 2019 07:40:40 +0200 (CEST) Received: by mail-wr1-f44.google.com with SMTP id a11so4829714wrx.1 for ; Tue, 24 Sep 2019 22:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nitk-edu-in.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=sOoyurNcDkkd8EGVLLWmV/cMeChwF/80zNZqLyjs6Go=; b=QnQHsEvdmmxOldPnzWdVW6r2Be2ewL3cidpfeGanVSw5h7alhcBGNUE3c7w8h0D/Nd Or7Knq54knBzsRogHbGy1QYpYn6kzcc84vfvAKmHaVkRij6FdChnG/M/2cxwdBC6IhwC YBkpsaG8QfWoUrUW/GeLWb7h/soOJCjrHA6fW0VWwXw6nR8Gon7k3/1w6WKaB0DPgkSk wcdqHTPO7f2ExOlW9uvgEfH1DAGPkj3ZptZ4cIuXG74TyXbS31WWCt4SW3CTPHEINaWc mkx1D3zliqW+bI9ve/xPSKM9YT7r2LVwdxz9VTSryt5Kd8IHoipj8ap5QKl8WSC6hLE/ jjVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sOoyurNcDkkd8EGVLLWmV/cMeChwF/80zNZqLyjs6Go=; b=M09Su3Vn/COAql8VV/MvS1pQTqwAAzvQqjU+fHs6R8hArErSwD1zpSymO8bRXK0h1G DOq4AP3biFzFrqZRE6HHXi+AUkoac0cgdon11xmXPpeg7IC1xhpyR3aWVXN+UnGFMfYn sPEjP8tcGVW/o5sH0Z3siOkFr0E0Jsz7CTn5Q2XMvSNAf7YnDlhfSUe29YcZXzqeZO6U kTPHriUtl+jwe8U4ZyCzaXpH81SnUDh+FKCGjdgMzKjGv9ilEAtayGHBM/Yg+/Y9ky/q b8+yvtYfcqs8TTu23/rfv1bjEzAjqxRytSEK5/45rFlQUsVuU0c5jfHB8ctvQeQaVbIi zGyg== X-Gm-Message-State: APjAAAUSfl0wJCRYTbu7Neqi+xfaitB/AQuwzdcknzUzUMXVwQ2QsIb7 f3ZBmXq8mcHXKR+6c0GKLg4YpygqpcYs6zhZrqDPBVAS X-Google-Smtp-Source: APXvYqzse+BMJHJk8Q6Xl9HZVXhY0r53k6rhcwCdwUM6D7cXIHrvS9C5cMkXqiYaAIKr7JjCAIjSaapFPRieUvfgDV4= X-Received: by 2002:a5d:5052:: with SMTP id h18mr6688560wrt.397.1569390040341; Tue, 24 Sep 2019 22:40:40 -0700 (PDT) MIME-Version: 1.0 From: "Avinash ." Date: Wed, 25 Sep 2019 11:10:29 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Queries about the RED implementation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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