Searched refs:numRings (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c44 u32_t numRings = pUM->devParams.numRings; local
52 if (!numRings)
135 numRings);
143 numRings);
149 ring = (pHdr[19] % numRings);
156 ring = (pHdr[19] % numRings);
161 ring = (pMblk->b_band % numRings);
170 ring = (pHdr[5] % numRings);
175 ring = (pMblk->b_band % numRings);
[all...]
H A Dbnxe_cfg.c319 pUM->devParams.numRings = USER_OPTION_NUM_RINGS_DEFAULT;
463 pUM->devParams.numRings,
465 pUM->devParams.numRings = (option < USER_OPTION_NUM_RINGS_MIN) ?
472 if (pUM->devParams.numRings == USER_OPTION_NUM_RINGS_DEFAULT)
474 pUM->devParams.numRings = (IS_MULTI_VNIC(&pUM->lm_dev)) ?
479 /* numRings must be a power of two and <= max rss chains allowed */
480 for (i = 1; pUM->devParams.numRings >> i; i++) { ; }
481 pUM->devParams.numRings = (1 << (i - 1));
482 if (pUM->devParams.numRings > LM_MAX_RSS_CHAINS(&pUM->lm_dev))
484 pUM->devParams.numRings
[all...]
H A Dbnxe_intr.c1326 pUM->devParams.numRings = 0;
1332 while (pUM->devParams.numRings > 0)
1336 pUM->devParams.numRings,
1340 pUM->devParams.numRings,
1342 pUM->devParams.numRings >>= 1;
1349 if (pUM->devParams.numRings == 0)
1359 intrTotalAlloc += pUM->rssIntr.intrCount; /* intrCount <= numRings */
1410 pUM->devParams.numRings = pUM->rssIntr.intrCount;
1417 pUM->devParams.numRings = 0;
H A Dbnxe_gld.c1668 ASSERT(ringIndex < pUM->devParams.numRings);
1695 ASSERT(ringIndex < pUM->devParams.numRings);
1740 pGroupInfo->mgi_count = (pUM->devParams.numRings /
1803 if (!pUM->devParams.numRings)
1815 pCapRings->mr_rnum = pUM->devParams.numRings;
2028 pUM->devParams.numRings = (uint32_t)result;
2525 value = pUM->devParams.numRings;
3033 (!pUM->devParams.numRings) ? BnxeMacUnicast : NULL;
H A Dbnxe_hw.c83 if (!pUM->devParams.numRings)
91 indirectionTable[i] = (i % pUM->devParams.numRings);
H A Dbnxe.h233 u32_t numRings; /* number of rings */ member in struct:_BnxeDevParams

Completed in 98 milliseconds