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 BB6BAA04F1 for ; Mon, 6 Jan 2020 11:28:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 196081D610; Mon, 6 Jan 2020 11:28:57 +0100 (CET) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by dpdk.org (Postfix) with ESMTP id 817801D60D for ; Mon, 6 Jan 2020 11:28:55 +0100 (CET) Received: by mail-io1-f47.google.com with SMTP id c16so18232532ioh.6 for ; Mon, 06 Jan 2020 02:28:55 -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; bh=euTsqQbQwAR7GpEeZN6eJU3l8X/lOTJEhEfJNDvTs+c=; b=Mjksf0/RAtG28tsEgnn1FhNLWidQCIM/yIYJwE2bjr0E09yWIZv7yAYUJFWspEI8XQ gRvcTMJ/mTVVrWZFFLSt+q/E51fR0WZYH8qqoRDRn+Imcqc/P4K5zHzllmfcM3Djr+6c TZbxunffoNWJeSvGUCnORjuzLDYLXTv4V14DcEsUdRFXUnG54KFupE31pBrDwPA/vuQg J6lINoLqLYzrr9NYdFr8jLOmdAq+eceRySlmQqr8GbxZCKRH0j2EFwq8aI3vrKkIE/5G J62C/XZAiTLud4qv+eLh/q5p/dCtWC4vQJ42gjTZjSxVkoeiy0BN3vghHqjwdaYE/71Z R+QA== 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; bh=euTsqQbQwAR7GpEeZN6eJU3l8X/lOTJEhEfJNDvTs+c=; b=NX7zWxSNUEQyFl+ceCYbuoumRoU0aFXbhUhcJxFCf3LodgNlv9Zj37tu2+fPgRmZ6X ORgZ1IEr54fiYcQ3dmCMKbVRl5ub96g348KjQasbVcajH72IpeYBi70+GZ0o5XRH5DXl aeR6nMgeJCz/0KIeC3ZBDc9Hdbxw3+d/NmrOabzHW226STdiFDhqNEL8laZCLAW8J8rA aBJ5YDVZFTtloAgZYxWTmvxKmKigwZuAH9k4Wa2BNb1FbLHRkcb1Gns2n7JrO/L+kcL8 +iQVi9CZjdJ0tCHZe86O7i8v1HkJB9LqATNl8yQ8EnRkZrQH1AfXaHDJTDm1YDLuxWZp IH6g== X-Gm-Message-State: APjAAAWnD6J2uo0ojCiLMFqjMSBvSjoYeUykOsAo6Ox+u5wrMau9zlrK 1lPQ9prMaaOTMJiuIMWlnkrNJl65ZdHCCNtLbWum8Q== X-Google-Smtp-Source: APXvYqx1acPyq4+uWObwOqBtZuKZrnTdgEy8gfdsMdoEcwXSlMmwLGp6ogcglkHLgQcpCiKgdUsOQS1GZQrVJSZRxOI= X-Received: by 2002:a5e:a809:: with SMTP id c9mr69998594ioa.105.1578306534445; Mon, 06 Jan 2020 02:28:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Gokul Bargaje Date: Mon, 6 Jan 2020 15:58:43 +0530 Message-ID: To: dev@dpdk.org, users@dpdk.org 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" Correcting the 'packet drop' mentioned in the previous mail. 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 | 19383 | pps:1093--------------+---------------+-----------------+* _______________________________________________ I have enabled RED from the configuration file by enabling following flags. *CONFIG_RTE_SCHED_RED=y* *CONFIG_RTE_SCHED_COLLECT_STATS=y* Please do help if you can. Thank you, Gokul