iproute2/rdma
Andrea Claudi c8216fabe8 rdma: stat: fix return code
libmnl defines MNL_CB_OK as 1 and MNL_CB_ERROR as -1. rdma uses these
return codes, and stat_qp_show_parse_cb() should do the same.

Fixes: 16ce4d2366 ("rdma: stat: initialize ret in stat_qp_show_parse_cb()")
Reported-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2021-04-20 18:08:38 -07:00
..
include/uapi/rdma rdma: update uapi headers 2020-08-06 16:25:04 +00:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile rdma: Add "stat show mr" support 2019-10-27 10:28:30 -07:00
dev.c lib: json_print: Add print_on_off() 2020-11-13 19:43:15 -07:00
link.c rdma: Rewrite custom JSON and prints logic to use common API 2019-11-20 02:27:36 +00:00
rdma.c Unify batch processing across tools 2020-11-13 19:43:15 -07:00
rdma.h Merge git://git.kernel.org/pub/scm/network/iproute2/iproute2-next 2021-02-23 23:03:42 -08:00
res-cmid.c rdma: Add "PID" criteria support for statistic counter auto mode 2020-08-06 16:26:04 +00:00
res-cq.c lib: json_print: Add print_on_off() 2020-11-13 19:43:15 -07:00
res-mr.c rdma: Add support to get MR in raw format 2020-07-05 18:11:37 +00:00
res-pd.c rdma: Rewrite custom JSON and prints logic to use common API 2019-11-20 02:27:36 +00:00
res-qp.c rdma: Add support to get QP in raw format 2020-07-05 18:11:00 +00:00
res.c rdma: Properly print device and link names in CLI output 2020-08-16 15:50:02 -07:00
res.h rdma: Add "PID" criteria support for statistic counter auto mode 2020-08-06 16:26:04 +00:00
stat-mr.c rdma: Rewrite custom JSON and prints logic to use common API 2019-11-20 02:27:36 +00:00
stat.c rdma: stat: fix return code 2021-04-20 18:08:38 -07:00
stat.h rdma: Add "stat show mr" support 2019-10-27 10:28:30 -07:00
sys.c rdma: Rewrite custom JSON and prints logic to use common API 2019-11-20 02:27:36 +00:00
utils.c Merge git://git.kernel.org/pub/scm/network/iproute2/iproute2-next 2021-02-23 23:03:42 -08:00