summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rdmavt/mr.c
diff options
context:
space:
mode:
authorDean Luick <dean.luick@intel.com>2016-02-18 11:13:01 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:45:45 -0500
commit582e05c3deeaf56ed04df62ad9f1fa6e88199bd9 (patch)
treefcb5c3388462932c584bff2725a1f9bc6820faf3 /drivers/infiniband/sw/rdmavt/mr.c
parent7b47622d784311bff8218d03754fbf20529c1a71 (diff)
staging/rdma/hfi1: Fix counter read for cp
A cp or cat of /sys/kernel/debug/hfi1/hfi1_0/port1counters produces the following message: hfi1 0000:81:00.0: hfi1_0: index not supported hfi1 0000:81:00.0: hfi1_0: read_cntrs does not support indexing Fix by removing the file position logic and the associated messages and make the file positioning the responsibility of the caller. The port counter read function argument is changed to the per port data structure since the counters are relative to the port and not the device. Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/mr.c')
0 files changed, 0 insertions, 0 deletions