svn commit: r193777 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb

Kip Macy kmacy at FreeBSD.org
Mon Jun 8 22:58:12 UTC 2009


Author: kmacy
Date: Mon Jun  8 22:58:12 2009
New Revision: 193777
URL: http://svn.freebsd.org/changeset/base/193777

Log:
  try to avoid missing on the tx descriptor

Modified:
  user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c

Modified: user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c	Mon Jun  8 22:05:47 2009	(r193776)
+++ user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c	Mon Jun  8 22:58:12 2009	(r193777)
@@ -1355,6 +1355,8 @@ t3_encap(struct sge_qset *qs, struct mbu
 	txd = &txq->desc[txq->pidx];
 	txsd = &txq->sdesc[txq->pidx];
 	sgl = txq->txq_sgl;
+
+	prefetch(txd);
 	m0 = *m;
 	
 	DPRINTF("t3_encap port_id=%d qsidx=%d ", pi->port_id, pi->first_qset);


More information about the svn-src-user mailing list