Date: Tue, 22 Mar 2011 21:05:56 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219883 - head/sys/dev/cxgbe Message-ID: <201103222105.p2ML5uoE071206@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Mar 22 21:05:56 2011 New Revision: 219883 URL: http://svn.freebsd.org/changeset/base/219883 Log: Fix an error while constructing the table that maps context id -> egress queue. MFC after: 1 day Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c ============================================================================== --- head/sys/dev/cxgbe/t4_sge.c Tue Mar 22 20:27:26 2011 (r219882) +++ head/sys/dev/cxgbe/t4_sge.c Tue Mar 22 21:05:56 2011 (r219883) @@ -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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103222105.p2ML5uoE071206>