aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/qp.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-02-04 10:59:27 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:38:03 -0500
commit3c9d149bdc797a7dfb48bcf327f9ceeb6060a512 (patch)
treee897ad9242cfca20c3f6515eec045341d0ce309a /drivers/staging/rdma/hfi1/qp.c
parentstaging/rdma/hfi1: use mod_timer when appropriate (diff)
downloadlinux-dev-3c9d149bdc797a7dfb48bcf327f9ceeb6060a512.tar.xz
linux-dev-3c9d149bdc797a7dfb48bcf327f9ceeb6060a512.zip
staging/rdma/hfi1: add unique rnr timer
Add a new rnr timer to hfi1. This allows for future optimizations having the retry and rnr timers separate. Reviewed-by: Jubin John <jubin.john@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/qp.c')
-rw-r--r--drivers/staging/rdma/hfi1/qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/qp.c b/drivers/staging/rdma/hfi1/qp.c
index b78c8eadcd95..a5f0e2e41eb1 100644
--- a/drivers/staging/rdma/hfi1/qp.c
+++ b/drivers/staging/rdma/hfi1/qp.c
@@ -607,7 +607,7 @@ void *qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp,
kfree(priv);
return ERR_PTR(-ENOMEM);
}
-
+ setup_timer(&priv->s_rnr_timer, hfi1_rc_rnr_retry, (unsigned long)qp);
return priv;
}