diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-12-01 04:42:39 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-12-01 04:42:39 +0000 |
commit | c01bdc3f8dcf1d229e47558dd96a42555fe8c94b (patch) | |
tree | 8d098d84b98b2f09ec2c23198c10b330a3f7fcab /sys/dev/cxgb | |
parent | b67850a351f5000498d192a9961b924227d627d7 (diff) | |
download | FreeBSD-src-c01bdc3f8dcf1d229e47558dd96a42555fe8c94b.zip FreeBSD-src-c01bdc3f8dcf1d229e47558dd96a42555fe8c94b.tar.gz |
don't manually track statistics
Diffstat (limited to 'sys/dev/cxgb')
-rw-r--r-- | sys/dev/cxgb/cxgb_sge.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c index 94689a7..c0f8b9d 100644 --- a/sys/dev/cxgb/cxgb_sge.c +++ b/sys/dev/cxgb/cxgb_sge.c @@ -1890,11 +1890,6 @@ t3_free_tx_desc(struct sge_txq *q, int reclaimable) buf_ring_scan(&q->txq_mr, txsd->mi.mi_base, __FILE__, __LINE__); #endif txsd->mi.mi_base = NULL; - /* - * XXX check for cache hit rate here - * - */ - q->port->ifp->if_opackets++; } else q->txq_skipped++; @@ -2509,7 +2504,6 @@ t3_rx_eth(struct adapter *adap, struct sge_rspq *rq, struct mbuf *m, int ethpad) m->m_pkthdr.rcvif = ifp; m->m_pkthdr.header = mtod(m, uint8_t *) + sizeof(*cpl) + ethpad; - ifp->if_ipackets++; #ifndef DISABLE_MBUF_IOVEC m_explode(m); #endif |