From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40094.outbound.protection.outlook.com [40.107.4.94]) by dpdk.org (Postfix) with ESMTP id 8716F293B; Thu, 25 Oct 2018 09:14:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ethernitynet.onmicrosoft.com; s=selector1-Ethernitynet-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kP/qAWjI6JwoO1wxYg1G3AEToFmQd4JP7nQsSkHUvk4=; b=tGXXemrZRlGkgVVV5CXPApn98UhKcIMjSXoDaXk+kJkxzJVdA7HlgjR/p6v2VyNaDAM4KTo/hGrn84zWDlsTZ5NYkbuffLwmrna0AXz4jsDr6vSVNOx+TF3o3fe6sBeQ4X2zBAnaSoMwyYoEu7ksTqQCjaZTx1+5XU5KuJR7N6M= Received: from VI1PR04MB4224.eurprd04.prod.outlook.com (52.134.31.23) by VI1PR04MB3168.eurprd04.prod.outlook.com (10.170.229.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.18; Thu, 25 Oct 2018 07:14:05 +0000 Received: from VI1PR04MB4224.eurprd04.prod.outlook.com ([fe80::61cf:770b:ac2:f485]) by VI1PR04MB4224.eurprd04.prod.outlook.com ([fe80::61cf:770b:ac2:f485%4]) with mapi id 15.20.1273.022; Thu, 25 Oct 2018 07:14:05 +0000 From: Leah Tekoa To: "dev@dpdk.org" CC: Leah Tekoa , "stable@dpdk.org" Thread-Topic: [PATCH] app/testpmd: replace Y with R in RED bytes statistics Thread-Index: AQHUbDJQI5DUdhcayEiE595UXg7GJg== Date: Thu, 25 Oct 2018 07:14:05 +0000 Message-ID: <1186feee8835591cdd831c65eebd9407a483a03e.1540390260.git.Leah@Ethernitynet.com> Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0264.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::36) To VI1PR04MB4224.eurprd04.prod.outlook.com (2603:10a6:803:3e::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Leah@Ethernitynet.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [82.80.86.46] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB3168; 6:O515QjZKtF1Cs4glUPbA6QY2QpdIFW2dyBDd4HhFrUQOExMbHrAqehf5irb/+XgLEx8HpEaNVA0zbrn0GgTr3tTp8CxhK8CocFQKC8RCXVdxGf4+flcih9quN2ReoyB64fRRwN1MrFJDlT2SS1f8AMDHR4KDjIUrld5iCq78VPL3PpMKoTzUBPygppLt45OvuxRMv0GrwZalhQlnBy97yQBN1PI+gFDNeogP9AZWVRpZlTiTrG5Y9jHMd6EFdiPgQmBdJvQCnkjoUrJFQZFb9MQkdXxURZ441q95PwAXzroG8gnDp2Wio343rUXnyRwowh0S7KllJSXHpOfV2Tsxv71qowZxRMYE1HTArJaOvV12l2l0XHf9rM7VfEEF2MQmRs8I3rllWe2+EKvdTE9hQV1fGHlQOANmIRWU7u416prRMMeT8QzQdaU9oTBFdqG3FgGYVpnckWxVfQ2l0j3H4g==; 5:BnS/j9IxQJD4Qg630BCOH65iAzLR9TSkkIlvYfNJ3/uKWaIpoIr+rOXVAG15AHhzoutqqpzNYKkhNWBGyy3b1a0pTlP9SMHM5EYJfDQF+ChpsgUZKLxq4cryE5sqQu7cxiCjUNvLG3YXg808IejZZEfFWUTNfTs8zcmE4PDbfW8=; 7:ryn0vI5F7Hi3qHhSmX82WGB5TOi6QID6fD4Va0O4k3cp3r/hGSW9p1FCOF1qXgCD5dPyIM7iTO6HUI4rVsGoUuOFvxhfQ66YQLQt1YyeRR8sTayv4e3cv0K3bK6GRyFMXeGZYgu6zM4bsop4PBQQUQ== x-ms-office365-filtering-correlation-id: 28cf7dd0-6d08-4049-4d33-08d63a497258 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB3168; x-ms-traffictypediagnostic: VI1PR04MB3168: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(2016111802025)(6043046)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB3168; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB3168; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(366004)(39830400003)(396003)(376002)(136003)(189003)(199004)(256004)(2501003)(5250100002)(26005)(486006)(72206003)(81166006)(81156014)(1730700003)(8676002)(2616005)(8936002)(3846002)(102836004)(6116002)(386003)(6506007)(186003)(36756003)(14444005)(476003)(305945005)(2906002)(7736002)(14454004)(86362001)(1857600001)(80792005)(6436002)(99286004)(6486002)(5660300001)(2351001)(52116002)(118296001)(316002)(71200400001)(71190400001)(66066001)(105586002)(5640700003)(54906003)(53936002)(4326008)(2900100001)(6512007)(68736007)(97736004)(508600001)(106356001)(6916009)(25786009)(450100002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR04MB3168; H:VI1PR04MB4224.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0; received-spf: None (protection.outlook.com: Ethernitynet.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: eHhpO4ns9lrls5z57ydDHqFnZhL/B8JunKQcyYEdfBX83kAZNMIIN1gn4O/U2cotzsMGelldrJyNujkZqHI0RDbC0jck26YRAiSa+yke51XDi26xpHtEoAW8qnF0RjNKJ10PriC5hmC4IwAFzE/Em0dpVFUPiAKUeWUoJUahGd/dcDzWdTqSSZu9odK9D4i3KPwsXKmwEJmgX1cRegFq+F3SlUjH7m8Lr6GWqZ2qZyt4xzFKaOEVpGG/Ceu4mKB2IYS//225B739+opEdLpo6yQyL7F6uGrbbPWAg4BYJpewJuJsSpdmEXlwknVV0kKmJK7mKfUIIApWgsGOMgBbBR4HXtQShg78h0bX07bFTm0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Ethernitynet.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28cf7dd0-6d08-4049-4d33-08d63a497258 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:14:05.1131 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 186d842f-2f7b-4cb5-a499-ed7992b54e77 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3168 Subject: [dpdk-stable] [PATCH] app/testpmd: replace Y with R in RED bytes statistics X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 07:14:06 -0000 Message-ID: <20181025071405.rHpwzWkYGSR8D4B4bDK5uaaNNKfFN8Ccj87baSBJY7g@z> From: Leah Tekoa Y stands for Yellow, R stands for Red. Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and polici= ng") Cc: stable@dpdk.org Signed-off-by: Leah Tekoa --- app/test-pmd/cmdline_mtr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline_mtr.c b/app/test-pmd/cmdline_mtr.c index f908fb3..748515d 100644 --- a/app/test-pmd/cmdline_mtr.c +++ b/app/test-pmd/cmdline_mtr.c @@ -1440,7 +1440,7 @@ static void cmd_show_port_meter_stats_parsed(void *pa= rsed_result, printf("\tPkts R: %" PRIu64 "\n", stats.n_pkts[RTE_MTR_RED]); if (stats_mask & RTE_MTR_STATS_N_BYTES_RED) - printf("\tBytes Y: %" PRIu64 "\n", + printf("\tBytes R: %" PRIu64 "\n", stats.n_bytes[RTE_MTR_RED]); if (stats_mask & RTE_MTR_STATS_N_PKTS_DROPPED) printf("\tPkts DROPPED: %" PRIu64 "\n", --=20 1.8.3.1