Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361479
b: refs/heads/master
c: b009aac
h: refs/heads/master
i:
  361477: 8753756
  361475: 5d204ce
  361471: 5fc232c
v: v3
  • Loading branch information
Maciej Żenczykowski authored and David S. Miller committed Mar 18, 2013
1 parent 0d1d656 commit c2381f7
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: 46aa92d1ba162b4b3d6b7102440e459d4e4ee255
refs/heads/master: b009aac12cd0fe34293c68af8ac48b85be3bd858
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,9 @@ struct bnx2x_fw_port_stats_old {

#define UPDATE_QSTAT(s, t) \
do { \
qstats->t##_hi = qstats_old->t##_hi + le32_to_cpu(s.hi); \
qstats->t##_lo = qstats_old->t##_lo + le32_to_cpu(s.lo); \
qstats->t##_hi = qstats_old->t##_hi + le32_to_cpu(s.hi) \
+ ((qstats->t##_lo < qstats_old->t##_lo) ? 1 : 0); \
} while (0)

#define UPDATE_QSTAT_OLD(f) \
Expand Down

0 comments on commit c2381f7

Please sign in to comment.