Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6096
b: refs/heads/master
c: 7b89178
h: refs/heads/master
v: v3
  • Loading branch information
Malli Chilakala authored and Jeff Garzik committed Aug 11, 2005
1 parent 8c8d6e0 commit 8089488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 8908c6cd1d6889850148aeb50bb14301959adaa7
refs/heads/master: 7b89178d1d803c854dfd6f4e81633109a1238884
3 changes: 2 additions & 1 deletion trunk/drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,8 @@ ixgb_update_stats(struct ixgb_adapter *adapter)

multi |= ((u64)IXGB_READ_REG(&adapter->hw, MPRCH) << 32);
/* fix up multicast stats by removing broadcasts */
multi -= bcast;
if(multi >= bcast)
multi -= bcast;

adapter->stats.mprcl += (multi & 0xFFFFFFFF);
adapter->stats.mprch += (multi >> 32);
Expand Down

0 comments on commit 8089488

Please sign in to comment.