bce: Put per RX ring received packets debug stats under BCE_RSS_DEBUG
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 6 Mar 2013 13:11:32 +0000 (21:11 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 6 Mar 2013 13:11:32 +0000 (21:11 +0800)
sys/dev/netif/bce/if_bce.c

index 06627af..c833bb3 100644 (file)
@@ -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
                }
        }