iproute2/rdma
Mark Zhang a6d0773ebe rdma: Add stat manual mode support
In manual mode a QP can be manually bound to a counter. If the counter
id(cntn) is not specified that kernel will allocate one. After a
successful bind, the cntn can be seen through "rdma statistic qp show".
And in unbind if lqpn is not specified then all QPs on this counter will
be unbound.
The manual and auto mode are mutual-exclusive.

Examples:
$ rdma statistic qp bind link mlx5_2/1 lqpn 178
$ rdma statistic qp bind link mlx5_2/1 lqpn 178 cntn 4
$ rdma statistic qp unbind link mlx5_2/1 cntn 4
$ rdma statistic qp unbind link mlx5_2/1 cntn 4 lqpn 178

Signed-off-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2019-07-19 10:51:13 -07:00
..
include/uapi/rdma uapi: rdma netlink.h update 2019-07-16 11:58:44 -07:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile rdma: Add "stat qp show" support 2019-07-19 10:51:13 -07:00
dev.c rdma: Add an option to set net namespace of rdma device 2019-05-31 15:10:32 -07:00
link.c rdma: add 'link add/delete' commands 2019-04-03 12:04:30 -07:00
rdma.c rdma: Add "stat qp show" support 2019-07-19 10:51:13 -07:00
rdma.h rdma: Add "stat qp show" support 2019-07-19 10:51:13 -07:00
res-cmid.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-cq.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-mr.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-pd.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res-qp.c rdma: Provide and reuse filter functions 2019-02-24 07:09:24 -08:00
res.c rdma: Perform single .doit call to query specific objects 2019-02-24 07:09:15 -08:00
res.h rdma: add helper rd_sendrecv_msg() 2019-04-03 12:04:25 -07:00
stat.c rdma: Add stat manual mode support 2019-07-19 10:51:13 -07:00
sys.c rdma: Add an option to query,set net namespace sharing sys parameter 2019-05-31 15:10:29 -07:00
utils.c rdma: Make get_port_from_argv() returns valid port in strict port mode 2019-07-19 10:51:13 -07:00