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 599FBA04F1; Mon, 6 Jan 2020 11:29:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC1DC1D61B; Mon, 6 Jan 2020 11:28:57 +0100 (CET) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) by dpdk.org (Postfix) with ESMTP id 8500A1D610 for ; Mon, 6 Jan 2020 11:28:55 +0100 (CET) Received: by mail-io1-f45.google.com with SMTP id z193so48067265iof.1 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=BGVekRS9y17CNzpyJTGecV9tT18YBeUjdaQENKvGCkQLDUVBDSqqF0ea6k2tt+AgYX DZWWNxlWy4Gng/hzn5J5KF3i8nDmfmjZe/x6LYxVfq/phheNqQKErD/zVYaELgv9oNj1 v5s93+2xNCnr4iFsCNL8EZE4WLVneOar74D5RTbVvH017NPn8m/6/89WgyB+o5Nd01Z1 r9eCB5lspf9l4m+E7CTIFDH0Enyaz6DgN7SqkgvRgKAHSiPSx9lqrffeQbXcboIpwcI3 FA2aDbu3+XiagBOcIvrVo2z1kH911yw32lZ2Nhf8ewXU9fegwGfoQcMA0x7QAzpSGFVW 2a+A== X-Gm-Message-State: APjAAAUXhiWAvpZGsBY2r7GfW4mkxeoOQYXuzBCtshgvMEQB3/NzPFKR VU8XcChE31FlwUYqLXs4CiNs6pWbax0Y4JRLSS96+CFe 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-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" 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