[dpdk-dev] [PATCH] app/testpmd: replace Y with R in RED bytes statistics
Leah Tekoa
Leah at Ethernitynet.com
Thu Oct 25 09:14:05 CEST 2018
From: Leah Tekoa <Leah at Ethernitynet.com>
Y stands for Yellow, R stands for Red.
Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and policing")
Cc: stable at dpdk.org
Signed-off-by: Leah Tekoa <Leah at Ethernitynet.com>
---
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 *parsed_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",
--
1.8.3.1
More information about the dev
mailing list