Searched refs:evq_allocated (Results 1 – 2 of 2) sorted by relevance
214 uint32_t evq_allocated; in sfc_estimate_resource_limits() local269 evq_allocated = MIN(evq_allocated, limits.edl_max_evq_count); in sfc_estimate_resource_limits()281 if (evq_allocated == 0) { in sfc_estimate_resource_limits()286 evq_allocated--; in sfc_estimate_resource_limits()295 evq_allocated--; in sfc_estimate_resource_limits()300 evq_allocated--; in sfc_estimate_resource_limits()306 evq_allocated--; in sfc_estimate_resource_limits()328 extra = MIN(evq_allocated, rxq_allocated); in sfc_estimate_resource_limits()331 evq_allocated -= extra; in sfc_estimate_resource_limits()336 extra = MIN(evq_allocated, txq_allocated); in sfc_estimate_resource_limits()[all …]
232 uint32_t evq_allocated; in sfc_vdpa_estimate_resource_limits() local269 rc = efx_nic_get_vi_pool(sva->nic, &evq_allocated, &rxq_allocated, in sfc_vdpa_estimate_resource_limits()277 evq_allocated = RTE_MIN(evq_allocated, limits.edl_max_evq_count); in sfc_vdpa_estimate_resource_limits()284 max_queue_cnt = RTE_MIN(evq_allocated - 1, max_queue_cnt); in sfc_vdpa_estimate_resource_limits()