Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110671
b: refs/heads/master
c: 27ffed6
h: refs/heads/master
i:
  110669: b171157
  110667: 051e779
  110663: c1b8986
  110655: 709f94c
v: v3
  • Loading branch information
John Lacombe authored and Roland Dreier committed Sep 30, 2008
1 parent 692692e commit c94e6b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a06fd26d48eb3304db246f3f4a0aa5a50afb10ec
refs/heads/master: 27ffed603f555ce0a644de6e550d3462ff51d64f
9 changes: 4 additions & 5 deletions trunk/drivers/infiniband/hw/nes/nes_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,10 @@ static void nes_nic_tune_timer(struct nes_device *nesdev)
}

/* boundary checking */
if (shared_timer->timer_in_use > NES_NIC_FAST_TIMER_HIGH)
shared_timer->timer_in_use = NES_NIC_FAST_TIMER_HIGH;
else if (shared_timer->timer_in_use < NES_NIC_FAST_TIMER_LOW) {
shared_timer->timer_in_use = NES_NIC_FAST_TIMER_LOW;
}
if (shared_timer->timer_in_use > shared_timer->threshold_high)
shared_timer->timer_in_use = shared_timer->threshold_high;
else if (shared_timer->timer_in_use < shared_timer->threshold_low)
shared_timer->timer_in_use = shared_timer->threshold_low;

nesdev->currcq_count = 0;

Expand Down

0 comments on commit c94e6b1

Please sign in to comment.