diff options
| author | Aharon Landau <[email protected]> | 2021-10-08 15:24:35 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-10-12 12:48:06 -0300 |
| commit | 3c3c1f1416392382faa0238e76a70d7810aab2ef (patch) | |
| tree | 0049c2fe2de12fcd73bb7a1a1253ae5c3301099f /lib/mpi/mpi-pow.c | |
| parent | 822cf785ac6d9120386f59964d6d029f3f04a8e3 (diff) | |
RDMA/nldev: Allow optional-counter status configuration through RDMA netlink
Provide an option to allow users to enable/disable optional counters
through RDMA netlink. Limiting it to users with ADMIN capability only.
Examples:
1. Enable optional counters cc_rx_ce_pkts and cc_rx_cnp_pkts (and
disable all others):
$ sudo rdma statistic set link rocep8s0f0/1 optional-counters \
cc_rx_ce_pkts,cc_rx_cnp_pkts
2. Remove all optional counters:
$ sudo rdma statistic unset link rocep8s0f0/1 optional-counters
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Aharon Landau <[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 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions