From: wenglianfa Date: Wed, 16 Oct 2024 09:35:26 +0000 (+0800) Subject: rdma: Fix help information of 'rdma resource' X-Git-Tag: v6.12.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bea332466d29c1ae4f70f0fdb9effcfc6a0de6ed;p=thirdparty%2Fiproute2.git rdma: Fix help information of 'rdma resource' 'rdma resource show cq' supports object 'dev' but not 'link', and doesn't support device name with port. Fixes: b0b8e32cbf6e ("rdma: Add CQ resource tracking information") Signed-off-by: wenglianfa Signed-off-by: Junxian Huang Signed-off-by: Stephen Hemminger --- diff --git a/rdma/res.c b/rdma/res.c index c311513a..7e7de042 100644 --- a/rdma/res.c +++ b/rdma/res.c @@ -16,8 +16,8 @@ static int res_help(struct rd *rd) pr_out(" resource show qp link [DEV/PORT] [FILTER-NAME FILTER-VALUE]\n"); pr_out(" resource show cm_id link [DEV/PORT]\n"); pr_out(" resource show cm_id link [DEV/PORT] [FILTER-NAME FILTER-VALUE]\n"); - pr_out(" resource show cq link [DEV/PORT]\n"); - pr_out(" resource show cq link [DEV/PORT] [FILTER-NAME FILTER-VALUE]\n"); + pr_out(" resource show cq dev [DEV]\n"); + pr_out(" resource show cq dev [DEV] [FILTER-NAME FILTER-VALUE]\n"); pr_out(" resource show pd dev [DEV]\n"); pr_out(" resource show pd dev [DEV] [FILTER-NAME FILTER-VALUE]\n"); pr_out(" resource show mr dev [DEV]\n");