PERFORCE change 132739 for review

Steve Wise swise at FreeBSD.org
Mon Jan 7 13:20:46 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132739

Change 132739 by swise at swise:vic10:iwarp on 2008/01/07 21:20:13

	Use nsegs to determine if there are any mbuf sgls...

Affected files ...

.. //depot/projects/iwarp/sys/dev/cxgb/cxgb_sge.c#7 edit

Differences ...

==== //depot/projects/iwarp/sys/dev/cxgb/cxgb_sge.c#7 (text+ko) ====

@@ -1927,7 +1927,7 @@
 	struct tx_desc *d = &q->desc[pidx];
 	struct txq_state txqs;
 	
-	if (immediate(m) && segs == NULL) {
+	if (immediate(m) && nsegs == 0) {
 		write_imm(d, m, m->m_len, gen);
 		return;
 	}


More information about the p4-projects mailing list