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 EF483A04F1; Mon, 6 Jan 2020 11:24:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 439421D60A; Mon, 6 Jan 2020 11:24:39 +0100 (CET) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by dpdk.org (Postfix) with ESMTP id DD6A31D609 for ; Mon, 6 Jan 2020 11:24:37 +0100 (CET) Received: by mail-il1-f177.google.com with SMTP id x5so42151682ila.6 for ; Mon, 06 Jan 2020 02:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nitk-edu-in.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d81UHOIpEYvQdue2oKFDclq+gORnRFOYinhoHKLwNFg=; b=nHiaJmZGmtFbDYxTeUFLSPU0yIyzr4GNXpMtSR1L4AyOzG7KlX8Ox4dncBh49CczbY FN/Qx1juqaMNvmhNUuqlu3gZi74yxdyKMZVf73JIe6pi/RmZJqprSFooXfVRksHpbfFo 5F7Xk7H3rrOtrKByfJ1/QfKo1f3G+zew9/6imBS1ZlOL2T0sd5B8iW9dzVLi5o6Fr8qM 5IGGKV3J/jpB2WZMwRBJBtCdD32D2KgQnFZNkLef4s73va+K9MfYL7JmHI2wjKQ4CacN TM9cxMcajL/mXr0Dxuf1i42qK99clvbbKbt1L9mefYFh3srqSS2qDhZBD4KRCwmYOM7e WIQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d81UHOIpEYvQdue2oKFDclq+gORnRFOYinhoHKLwNFg=; b=YzvEZfr5VanCOv9osnF+qfWlCPDAzxobu7h/TEwJizJqwnLuhZkH6GEp3HN8URmOhA 60Da3V2M6rs7I1sg4IX1AEG8v2es6d2oUMV+vTtJIizB4VRUgF7Z8bnQWmdz/RqujvnB sWjj5PF2Gg9mqrbeLdSQFYeHBIOsv5zfML2eU+gNJxIgBhOOcqcY/KrkwOwP88UlXzQ+ V0aV3LbeZLekToi9MUW7tAlHVLBsHfYZTIt2M9lcipThrrYjvmTmMWOp+YVSRt3oiyuV IfSvWFime8o3jzRNG2F7jytv6Z/ngxSE/P7OXLrtqoy5cbI+bgAU1Mgsmba+hSF/5slE U9VA== X-Gm-Message-State: APjAAAUMIKl1jbEV5goBzT6sF4eWGbh3bBt54E+qK4y2R0AAvIoYvwXM qHOyvYh+iw4TsInC2JtFp9VhriRZs8fIMv/diChQ3g== X-Google-Smtp-Source: APXvYqzSWhkBzUHE6BpbGozbO6fEVFgVdMiseFlSlAgw7vlTCGnN6lFXIPgcuxUKAfed4qnxgmBBMwMgZWtjsaB51Ik= X-Received: by 2002:a92:3f0f:: with SMTP id m15mr86781287ila.164.1578306276811; Mon, 06 Jan 2020 02:24:36 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Gokul Bargaje Date: Mon, 6 Jan 2020 15:54:25 +0530 Message-ID: To: users@dpdk.org, dev@dpdk.org Cc: "Mohit P. Tahiliani" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Fwd: How to check the packets dropped by RED in DPDK? 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 All, I am running the qos_sched sample application to see the RED packet drop. I am generating the traffic and sending the traffic via qos_sched application. As a result, 1. The application is showing the packet drop which is so high as shown in the below figure. 2. How to determine that the packets are dropped by the RED or TAIL drop method? Following is the output I am getting from an application on every second. *_______________________________________________* *RX port 1: rx: 22954 err: 0 no_mbuf: 0TX port 0: tx: 1088 err: 0-------------+----------------+----------------+ | received | dropped |-------------+----------------+----------------+ RX | 20476 | 0 |QOS+TX | 20476 | 0 | pps:1093--------------+---------------+-----------------+* _______________________________________________ I have enabled RED from the configuration file by enabling following flags. *CONFIG_RTE_SCHED_RED=yCONFIG_RTE_SCHED_COLLECT_STATS=y* Please do help if you can. Thank you, Gokul