Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122778
b: refs/heads/master
c: d231776
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Dangaard Brouer authored and David S. Miller committed Dec 19, 2008
1 parent 1301169 commit 2d54118
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b8a606b871d37e03b92be1bd3deedeee97ea4f13
refs/heads/master: d231776fda4a1ed754298720c5fbc29eb34f130c
6 changes: 6 additions & 0 deletions trunk/drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3558,6 +3558,9 @@ static inline void niu_sync_rx_discard_stats(struct niu *np,
if (unlikely(misc & RXMISC_OFLOW))
dev_err(np->device, "rx-%d: Counter overflow "
"RXMISC discard\n", rx_channel);

niudbg(RX_ERR, "%s-rx-%d: MISC drop=%u over=%u\n",
np->dev->name, rx_channel, misc, misc-limit);
}

/* WRED (Weighted Random Early Discard) by hardware */
Expand All @@ -3569,6 +3572,9 @@ static inline void niu_sync_rx_discard_stats(struct niu *np,
if (unlikely(wred & RED_DIS_CNT_OFLOW))
dev_err(np->device, "rx-%d: Counter overflow "
"WRED discard\n", rx_channel);

niudbg(RX_ERR, "%s-rx-%d: WRED drop=%u over=%u\n",
np->dev->name, rx_channel, wred, wred-limit);
}
}

Expand Down

0 comments on commit 2d54118

Please sign in to comment.