Skip to content

Commit

Permalink
- renamed errors to overruns to reduce kernel messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschultz committed Aug 30, 2011
1 parent 7f45543 commit 19e997d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/pna_main.c
Expand Up @@ -295,7 +295,7 @@ static void pna_perflog(struct sk_buff *skb, int dir)
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,34)
/* numbers from the NIC */
stats = dev_get_stats(dev);
pr_info("pna %s rx_stats: packets:%lu, fifo_errors:%lu\n",
pr_info("pna %s rx_stats: packets:%lu, fifo_overruns:%lu\n",
dev->name,
stats->rx_packets - perf->dev_last_rx[i],
stats->rx_fifo_errors - perf->dev_last_fifo[i]);
Expand All @@ -304,7 +304,7 @@ static void pna_perflog(struct sk_buff *skb, int dir)
#else
/* numbers from the NIC */
dev_get_stats(dev, &stats);
pr_info("pna %s rx_stats: packets:%llu, fifo_errors:%llu\n",
pr_info("pna %s rx_stats: packets:%llu, fifo_overruns:%llu\n",
dev->name,
stats.rx_packets - perf->dev_last_rx[i],
stats.rx_fifo_errors - perf->dev_last_fifo[i]);
Expand Down

0 comments on commit 19e997d

Please sign in to comment.