svn commit: r291856 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Sat Dec 5 10:10:19 UTC 2015
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
More information about the svn-src-head
mailing list