Skip to content

Commit

Permalink
ibdiags: Don't suggest non-existing ibqueryerrors command line argument
Browse files Browse the repository at this point in the history
[ Upstream commit 4ed4436 ]

The ibchecknet command prints deprecation warning with suggestion to use
"ibqueryerrors" with "-f" command line argument. However that proposed command
doesn't have such an options.

Simply remove "-f" suggestion and align with other infiniband-diag tools.

Fixes: c670c59 ("infiniband-diags: mark duplicate/lower performing scripts as deprecated.")
Signed-off-by: Suwan Sun <swimlessbird@gmail.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
  • Loading branch information
swimlessbird authored and nmorey committed Sep 27, 2021
1 parent ab338a0 commit dd70205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infiniband-diags/scripts/ibchecknet.in
Expand Up @@ -126,7 +126,7 @@ function check_node(lid, port)
/iberror:/ {print $0}
END {
printf "\n*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors -f\""
printf "\n*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors\""
printf "\n## Summary: %d nodes checked, %d bad nodes found\n", nnodes, ne
printf "## %d ports checked, %d bad ports found\n", nports, pe
printf "## %d ports have errors beyond threshold\n", pcnterr
Expand Down

0 comments on commit dd70205

Please sign in to comment.