diff options
author | Aharon Landau <[email protected]> | 2021-10-08 15:24:33 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-10-12 12:48:05 -0300 |
commit | 7301d0a9834c7f1f0c91c1f0a46c7b191b1fd0da (patch) | |
tree | 228ee8aeb70e6141bb2e5763e58045239390f3e8 /tools/perf/scripts/python/futex-contention.py | |
parent | 5e2ddd1e598273d77f653c70df96fc417a2d0a85 (diff) |
RDMA/nldev: Add support to get status of all counters
This patch adds the ability to get the name, index and status of all
counters for each link through RDMA netlink. This can be used for
user-space to get the current optional-counter mode.
Examples:
$ rdma statistic mode
link rocep8s0f0/1 optional-counters cc_rx_ce_pkts
$ rdma statistic mode supported
link rocep8s0f0/1 supported optional-counters cc_rx_ce_pkts,cc_rx_cnp_pkts,cc_tx_cnp_pkts
link rocep8s0f1/1 supported optional-counters cc_rx_ce_pkts,cc_rx_cnp_pkts,cc_tx_cnp_pkts
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Aharon Landau <[email protected]>
Signed-off-by: Neta Ostrovsky <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Mark Zhang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions