From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70134.outbound.protection.outlook.com [40.107.7.134]) by dpdk.org (Postfix) with ESMTP id E7E7F4C95; Thu, 25 Oct 2018 08:05:16 +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=qc3Zr/YfvydV9uJdBzuMgF3+4vv78lmd9qpBX9aJzdNr1lmT15js4yKF3S3FP7bzYqUyVCrPRsjWcZVG31SkBXBckWrRAdZFXHIIgyTJg1INqQF2u0N0Nau5vslLrBQO4c5ZeHFfSxDrqbXI09YrDR3nGsdBNUUOCBZw5BbA8HE= Received: from AM6PR04MB4215.eurprd04.prod.outlook.com (52.135.168.141) by AM6PR04MB3992.eurprd04.prod.outlook.com (52.135.160.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Thu, 25 Oct 2018 06:05:14 +0000 Received: from AM6PR04MB4215.eurprd04.prod.outlook.com ([fe80::8918:8163:c64b:6cb7]) by AM6PR04MB4215.eurprd04.prod.outlook.com ([fe80::8918:8163:c64b:6cb7%2]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 06:05:14 +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: AQHUbCiyV74WuHPoHkip8sInaCV+Kw== Date: Thu, 25 Oct 2018 06:05:14 +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: CWLP265CA0283.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:5c::31) To AM6PR04MB4215.eurprd04.prod.outlook.com (2603:10a6:209:4f::13) 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; AM6PR04MB3992; 6:lEY+eDvP0h3gmZwNkJOen2A5bWA3LYmdrH23UOhQXOWPiI95StzWTpW3ykxtlH8O9SD1/Uth+V5ITiiiHOz9MuoG9CuakWiH432UAF+0HfzV9/+sGrg3yKplOSttb6Ok92OmvjC9UOjsvHa0b+JhL0SOsc4XDi/QqNuWD+CcbjGtkk8+xB7Db9xmJdATJEvSho85BWibf3nnZFi9zJUIcfFDFS68GbQBE+5aTo0Klpkf6w1pAl1byFIzFiCVutfvG4tHKCt83/c+DEn+puin8tK9XwiyP4cQ2qGHhvvpfASjA5a1EpLISy88IYVveRnOkDkIcu8m7TvF8yFGf9hMyOeRy+N0qahIg88yf7uL6pPcGWcH3utzxQjlulxWG8JD8DxLjWbnHGGrYoGuZINLqK0Yjc8/ar2PD4kAuroQv6SJH4s6hJ8MCt12Gy8JGuz6EKMS9UeowllbbWSSfgNZ1g==; 5:zm1y23js2okYKdRFXWmoZ/xA4kmgXU4CBjoS+5Y6XAoIbfaiTdnoUp3tTz3DxQEFV+s4FHysDsiBo17gFLnAqbw6NUQJqGcUm06Qxht8lTGF2XU4mWhq/+lBeDyEwuL/fUCbf2ao5pF3b3SHiK11Y/h83pTtAQwDzimQ/Ua5Oyo=; 7:6Zz/NMtgezFG4twz6vw75l123RGsbV4IDmNCj9C5zdkfU8loXdOJxbgJoU7SosSOJufICeQ/OC7dvdxK6exDMSIwHM03ff1KkB90ZAajr9abMBaQkNrDO0EkzmbH7TwB5Pq+k3wUpdGuEqu+Q/guXTzjGRRFpMsigoxsV1/Tki4bHwOhL04LvJzDxHVFDiV0zu2XA8eI5qdJX1798bxSbEXamRFL3Sly/EwAUYZbZuvUgyuwxo5p1JMlfVDGgmrh x-ms-office365-filtering-correlation-id: bcffdc8e-ea28-44b5-a9a4-08d63a3fd456 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021145)(8989299)(5600074)(711020)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB3992; x-ms-traffictypediagnostic: AM6PR04MB3992: 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)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(2016111802025)(6043046)(201708071742011)(7699051)(76991095); SRVR:AM6PR04MB3992; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB3992; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(396003)(376002)(39830400003)(366004)(346002)(189003)(199004)(6436002)(54906003)(68736007)(86362001)(25786009)(7736002)(305945005)(450100002)(81166006)(81156014)(6116002)(8936002)(4326008)(8676002)(186003)(1857600001)(26005)(1730700003)(99286004)(2616005)(52116002)(316002)(6506007)(386003)(102836004)(476003)(6916009)(118296001)(3846002)(5640700003)(2501003)(71200400001)(5660300001)(2900100001)(486006)(71190400001)(72206003)(14454004)(97736004)(106356001)(2906002)(2351001)(105586002)(80792005)(6486002)(53936002)(508600001)(66066001)(14444005)(256004)(6512007)(36756003)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR04MB3992; H:AM6PR04MB4215.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: hjkKkQwKTCKVoao/dZj2VF8IkS4LuV0vxXZ4NLwqYG2FEIj34sRr0ADz3aKYZAjE+htWenimsEx/dUJmorKVIhhcGhI4HxkFPLbKCxOufrGTeUjt0QfsNUY8ZJcySLLDqQwiiL33unl53nAjmGENaent4SUPeFo4UJGD8cnx1RJzXsgzm0f4AydmfqXwpQTX33cUvGDotvOO+9v7Cck+Zp6I6kxRULnSQzLbvfUgz1dznTy3yvOko1wFcDPM0wj7k+VceBHCuxstG6/ET6cMPDxFnGfpdNx2SVKUHLW1w50X9EEp9Stkl/sT/O8rkxvXDGMjtCXziXZRNVaFkoeGUiXinLszJdRq9tFhC8yrL0M= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Ethernitynet.com X-MS-Exchange-CrossTenant-Network-Message-Id: bcffdc8e-ea28-44b5-a9a4-08d63a3fd456 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 06:05:14.7741 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 186d842f-2f7b-4cb5-a499-ed7992b54e77 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB3992 Subject: [dpdk-dev] [PATCH] app/testpmd: replace Y with R in RED bytes statistics 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: , X-List-Received-Date: Thu, 25 Oct 2018 06:05:17 -0000 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 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-dev] [PATCH] app/testpmd: replace Y with R in RED bytes statistics 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: , X-List-Received-Date: Thu, 25 Oct 2018 07:14:06 -0000 Message-ID: <20181025071405.BvjgU6NUg4INO__lq0XDsBf9mWs2LhkoRujnJG-7x7Y@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