[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <25ce8a4f.6db0.182910b625a.Coremail.15720603159@163.com>
Date: Fri, 12 Aug 2022 15:53:38 +0800 (CST)
From: jiangheng <15720603159@....com>
To: netdev@...r.kernel.org
Subject: [PATCH iproute2]rdma: modify the command output message of rdma
statistic help based on man manual
From 4ce8d60f34c5cdcff8b25e3c3891fc053736225b Mon Sep 17 00:00:00 2001
From: jinag <jinag12138@...il.com>
Date: Fri, 12 Aug 2022 15:48:07 +0800
Subject: [PATCH] rdma: modify the command output message of rdma statistic help
based on man manual
---
rdma/stat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rdma/stat.c b/rdma/stat.c
index aad8815c..1e869c25 100644
--- a/rdma/stat.c
+++ b/rdma/stat.c
@@ -24,10 +24,10 @@ static int stat_help(struct rd *rd)
pr_out(" %s statistic mode [ supported ] link [ DEV/PORT_INDEX ]\n", rd->filename);
pr_out(" %s statistic set link [ DEV/PORT_INDEX ] optional-counters [ OPTIONAL-COUNTERS ]\n", rd->filename);
pr_out(" %s statistic unset link [ DEV/PORT_INDEX ] optional-counters\n", rd->filename);
- pr_out("where OBJECT: = { qp }\n");
- pr_out(" CRITERIA : = { type }\n");
+ pr_out("where OBJECT: = { qp | mr }\n");
+ pr_out(" CRITERIA : = { type | pid }\n");
pr_out(" COUNTER_SCOPE: = { link | dev }\n");
- pr_out(" FILTER_NAME: = { cntn | lqpn | pid }\n");
+ pr_out(" FILTER_NAME: = { cntn | lqpn | pid | qp_type }\n");
pr_out("Examples:\n");
pr_out(" %s statistic qp show\n", rd->filename);
pr_out(" %s statistic qp show link mlx5_2/1\n", rd->filename);
--
2.23.0
Powered by blists - more mailing lists