diff mbox series

[iproute2-rc] rdma: Fix help information of 'rdma resource'

Message ID 20241016093526.2106051-1-huangjunxian6@hisilicon.com (mailing list archive)
State Accepted
Commit bea332466d29c1ae4f70f0fdb9effcfc6a0de6ed
Delegated to: Stephen Hemminger
Headers show
Series [iproute2-rc] rdma: Fix help information of 'rdma resource' | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Junxian Huang Oct. 16, 2024, 9:35 a.m. UTC
From: wenglianfa <wenglianfa@huawei.com>

'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 <wenglianfa@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
---
 rdma/res.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 17, 2024, 7:20 p.m. UTC | #1
Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Wed, 16 Oct 2024 17:35:26 +0800 you wrote:
> From: wenglianfa <wenglianfa@huawei.com>
> 
> '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 <wenglianfa@huawei.com>
> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
> 
> [...]

Here is the summary with links:
  - [iproute2-rc] rdma: Fix help information of 'rdma resource'
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=bea332466d29

You are awesome, thank you!
diff mbox series

Patch

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");