commit | 633d27399514e7726633c9029e3947f0526d2565 | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | Thu Feb 04 10:59:18 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 10 20:38:03 2016 -0500 |
tree | d3e76cc796186cf2721885de2bcb2423485e7cf1 | |
parent | e6f8c2b31f107f39e7301a02b5a6808d79c9f1f0 [diff] |
staging/rdma/hfi1: use mod_timer when appropriate Use new timer API to optimize maintenance of timers during ACK processing. When we are still expecting ACKs, mod the timer to avoid a heavyweight delete/add. Otherwise, insure do_rc_ack() maintains the timer as it had. 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>