iproute2/rdma
Mark Zhang 1b2ca7ada7 rdma: Add get per-port counter mode support
Add an interface to show which mode is active. Two modes are supported:
- "auto": In this mode all QPs belong to one category are bind automatically
  to a single counter set. Currently only "qp type" is supported;
- "manual": In this mode QPs are bound to a counter manually.

Examples:
$ rdma statistic qp mode
0/1: mlx5_0/1: qp auto off
1/1: mlx5_1/1: qp auto off
2/1: mlx5_2/1: qp auto type on
3/1: mlx5_3/1: qp auto off

$ rdma statistic qp mode link mlx5_0
0/1: mlx5_0/1: qp auto off

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 get per-port counter 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: Add get per-port counter mode support 2019-07-19 10:51:13 -07:00