PERFORCE change 126529 for review
Kip Macy
kmacy at FreeBSD.org
Mon Sep 17 13:22:07 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126529
Change 126529 by kmacy at kmacy_home:ethng on 2007/09/17 20:21:38
add cleanq for deferring frees until after the tx lock is dropped, makes
tx performance more consistent but rate limits it somewhat in high pps
contexts due to all buffer having the left the cache
Affected files ...
.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_adapter.h#17 edit
Differences ...
==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_adapter.h#17 (text+ko) ====
@@ -275,6 +275,11 @@
bus_dmamap_t desc_map;
bus_dma_tag_t entry_tag;
struct mbuf_head sendq;
+ /*
+ * cleanq should really be an mbuf_ring to avoid extra
+ * mbuf touches
+ */
+ struct mbuf_head cleanq;
struct mbuf_ring txq_mr;
uint32_t txq_drops;
uint32_t txq_skipped;
More information about the p4-projects
mailing list