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 6FE21A04F1 for ; Mon, 6 Jan 2020 11:24:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE23B1D612; Mon, 6 Jan 2020 11:24:40 +0100 (CET) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by dpdk.org (Postfix) with ESMTP id E12B71D60A for ; Mon, 6 Jan 2020 11:24:37 +0100 (CET) Received: by mail-il1-f176.google.com with SMTP id t2so26797855ilq.9 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=SEy888cYFtm16+twmx3372uMjVy+SH8/lmsheAmw/clsMrKJNsFxYhOS2owGxhEefk VpCGkrpWiQ1Xp2CHNHC5pqC9cxhZmKvJ35IelZy/Nm9edOAacSt6PAN/IFb4A4+iXEMZ WrNBM9lJTXofa0F15KXkiS+QWWWK1BHlCBUHrZP3pSm1933QeGtROcWOYky8p1qMlFE/ OfDRv4yDG153xadB+XvrgHacHdkiTqk9aQSd9kEooI/6x9kmtISqZEMlNrZnRk9OqoNY DccxdZ4LD5QxYMW3ODVdIqK1mJQOTubn6XH9B5f3xtOtiithY+6/W2rFusVYQOTo5i0n pL/A== X-Gm-Message-State: APjAAAXwjTeIwcySfASvChnbw96bhgRDrVNSG7fLkiLzNdnGbfDWxnan d56xSPx4CYtVjmKpyo54Pc3kOVvK3OdKcilVY5yKqvZ3WUM= 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-users] Fwd: How to check the packets dropped by RED in DPDK? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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