[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yvugg0M22X1Vua7M@unreal>
Date: Tue, 16 Aug 2022 16:49:55 +0300
From: Leon Romanovsky <leon@...nel.org>
To: jiangheng <15720603159@....com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2]rdma: modify the command output message of rdma
statistic help based on man manual
On Fri, Aug 12, 2022 at 03:53:38PM +0800, jiangheng wrote:
>
> 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(-)
iproute2 follows kernel coding style, both in the code
and in the patches. Please follow it.
Thanks
>
>
> 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