diff options
| author | Sebastian Sanchez <[email protected]> | 2016-02-03 14:38:07 -0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-03-10 20:38:01 -0500 |
| commit | b8d114ebb6fb6dfb61a6f7bd5b2bef529015b0f0 (patch) | |
| tree | 0d465feac523e4729147cf884e466bace88a0118 /tools/perf/scripts/python | |
| parent | 5950e9b184ae47c6e4ec9cfb0dc698194d524f80 (diff) | |
staging/rdma/hfi1: Adding support for hfi counters via sysfs
It enables access to counters in
/sys/class/infiniband/hfi1_0/ports/1/counters
by providing infrastructure when PMA queries occur. Counters symbol_error
and VL15_dropped are not supported in OPA, therefore, 0 will always be
returned. In addition, two common routines (pma_get_opa_port_dctrs,
pma_get_opa_port_ectrs) were created to query counters to avoid code
duplication.
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions