Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 10:10:18 +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: r291856 - head/sys/dev/cxgbe
Message-ID:  <201512051010.tB5AAIGX014283@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Sat Dec  5 10:10:18 2015
New Revision: 291856
URL: https://svnweb.freebsd.org/changeset/base/291856

Log:
  Fix RSS build.
  
  Reported by:	arybchik@

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Sat Dec  5 10:00:01 2015	(r291855)
+++ head/sys/dev/cxgbe/t4_main.c	Sat Dec  5 10:10:18 2015	(r291856)
@@ -3916,7 +3916,7 @@ vi_full_init(struct vi_info *vi)
 	for (i = 0; i < vi->rss_size;) {
 #ifdef RSS
 		j = rss_get_indirection_to_bucket(i);
-		j %= pi->vrxq;
+		j %= vi->nrxq;
 		rxq = &sc->sge.rxq[vi->first_rxq + j];
 		rss[i++] = rxq->iq.abs_id;
 #else



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