Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184265
b: refs/heads/master
c: abe1c36
h: refs/heads/master
i:
  184263: 4b087fb
v: v3
  • Loading branch information
Nick Nunley authored and David S. Miller committed Feb 17, 2010
1 parent cb7f423 commit d65faed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d0b0f693578109aff347e055d47f2797c802261
refs/heads/master: abe1c3638ccf8b68536afb52b111f6ad46d1cf71
4 changes: 4 additions & 0 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3260,6 +3260,10 @@ static void igb_update_ring_itr(struct igb_q_vector *q_vector)
else
new_val = avg_wire_size / 2;

/* when in itr mode 3 do not exceed 20K ints/sec */
if (adapter->rx_itr_setting == 3 && new_val < 196)
new_val = 196;

set_itr_val:
if (new_val != q_vector->itr_val) {
q_vector->itr_val = new_val;
Expand Down

0 comments on commit d65faed

Please sign in to comment.