projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b42386e
)
bce: Put per RX ring received packets debug stats under BCE_RSS_DEBUG
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 6 Mar 2013 13:11:32 +0000 (21:11 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 6 Mar 2013 13:11:32 +0000 (21:11 +0800)
sys/dev/netif/bce/if_bce.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/netif/bce/if_bce.c
b/sys/dev/netif/bce/if_bce.c
index
06627af
..
c833bb3
100644
(file)
--- a/
sys/dev/netif/bce/if_bce.c
+++ b/
sys/dev/netif/bce/if_bce.c
@@
-4568,7
+4568,9
@@
bce_rx_int_next_rx:
l2fhdr->l2_fhdr_vlan_tag;
}
ifp->if_input(ifp, m);
+#ifdef BCE_RSS_DEBUG
rxr->rx_pkts++;
+#endif
}
}