Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 20:22:06 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 126529 for review
Message-ID:  <200709172022.l8HKM6Wi077716@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126529

Change 126529 by kmacy@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709172022.l8HKM6Wi077716>