diff options
author | Sebastian Sanchez <sebastian.sanchez@intel.com> | 2017-03-21 01:25:55 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 20:45:09 +0200 |
commit | 5f14e4e6674002f377ba164114eb9a67ba23d864 (patch) | |
tree | aadd176faa006236909562f5ee0b9be654d93c1e /drivers/infiniband/hw/hfi1/trace_rc.h | |
parent | IB/hfi1: Add a patch value to the firmware version string (diff) | |
download | linux-5f14e4e6674002f377ba164114eb9a67ba23d864.tar.xz linux-5f14e4e6674002f377ba164114eb9a67ba23d864.zip |
IB/rdmavt, IB/hfi1: Fix timer migration regressions
RC timeout counter isn't getting incremented.
Increment counter and add the trace for it.
Fixes: 87c23b4ab018 ("IB/rdmavt: Adding timer logic to rdmavt")
Reviewed-by: Brian Welty <brian.welty@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/trace_rc.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/trace_rc.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/hfi1/trace_rc.h b/drivers/infiniband/hw/hfi1/trace_rc.h index 5ea5005f9f41..8ce476570462 100644 --- a/drivers/infiniband/hw/hfi1/trace_rc.h +++ b/drivers/infiniband/hw/hfi1/trace_rc.h @@ -1,5 +1,5 @@ /* -* Copyright(c) 2015, 2016 Intel Corporation. +* Copyright(c) 2015, 2016, 2017 Intel Corporation. * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. @@ -104,11 +104,6 @@ DEFINE_EVENT(hfi1_rc_template, hfi1_ack, TP_ARGS(qp, psn) ); -DEFINE_EVENT(hfi1_rc_template, hfi1_timeout, - TP_PROTO(struct rvt_qp *qp, u32 psn), - TP_ARGS(qp, psn) -); - DEFINE_EVENT(hfi1_rc_template, hfi1_rcv_error, TP_PROTO(struct rvt_qp *qp, u32 psn), TP_ARGS(qp, psn) |