Lines Matching refs:evq_max
125 unsigned int evq_max;
141 evq_max = MIN(MAX(rss_getnumbuckets(), 1), EFX_MAXRSS);
143 evq_max = MIN(mp_ncpus, EFX_MAXRSS);
146 evq_max = MIN(evq_max, sc->max_rss_channels);
151 limits.edl_max_evq_count = evq_max;
153 limits.edl_max_txq_count = evq_max + SFXGE_EVQ0_N_TXQ(sc) - 1;
155 limits.edl_max_rxq_count = evq_max;
172 sc->evq_max = MIN(evq_allocated, evq_max);
173 sc->evq_max = MIN(rxq_allocated, sc->evq_max);
174 sc->evq_max = MIN(txq_allocated - (SFXGE_EVQ0_N_TXQ(sc) - 1),
175 sc->evq_max);
177 KASSERT(sc->evq_max <= evq_max,
181 if (sc->evq_max < rss_getnumbuckets())
185 sc->evq_max, rss_getnumbuckets());