svn commit: r219924 - stable/8/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Wed Mar 23 17:33:05 UTC 2011


Author: np
Date: Wed Mar 23 17:33:04 2011
New Revision: 219924
URL: http://svn.freebsd.org/changeset/base/219924

Log:
  MFC r219883:
  
  Fix an error while constructing the table that maps context id -> egress
  queue

Modified:
  stable/8/sys/dev/cxgbe/t4_sge.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- stable/8/sys/dev/cxgbe/t4_sge.c	Wed Mar 23 17:18:31 2011	(r219923)
+++ stable/8/sys/dev/cxgbe/t4_sge.c	Wed Mar 23 17:33:04 2011	(r219924)
@@ -1134,7 +1134,7 @@ alloc_iq_fl(struct port_info *pi, struct
 		fl->cntxt_id = be16toh(c.fl0id);
 		fl->pidx = fl->cidx = 0;
 
-		cntxt_id = iq->cntxt_id - sc->sge.eq_start;
+		cntxt_id = fl->cntxt_id - sc->sge.eq_start;
 		KASSERT(cntxt_id < sc->sge.neq,
 		    ("%s: fl->cntxt_id (%d) more than the max (%d)", __func__,
 		    cntxt_id, sc->sge.neq - 1));


More information about the svn-src-all mailing list