Home
last modified time | relevance | path

Searched refs:rxq_allocated (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/sfc/
H A Dsfc.c215 uint32_t rxq_allocated; in sfc_estimate_resource_limits() local
270 rxq_allocated = MIN(rxq_allocated, limits.edl_max_rxq_count); in sfc_estimate_resource_limits()
292 if (rxq_allocated > 0 && evq_allocated > 0) { in sfc_estimate_resource_limits()
294 rxq_allocated--; in sfc_estimate_resource_limits()
304 rxq_allocated > 0 && evq_allocated > 0) { in sfc_estimate_resource_limits()
305 rxq_allocated--; in sfc_estimate_resource_limits()
315 rxq_allocated >= SFC_REPR_PROXY_NB_RXQ_MIN && in sfc_estimate_resource_limits()
320 rxq_allocated -= SFC_REPR_PROXY_NB_RXQ_MIN; in sfc_estimate_resource_limits()
328 extra = MIN(evq_allocated, rxq_allocated); in sfc_estimate_resource_limits()
332 rxq_allocated -= extra; in sfc_estimate_resource_limits()
[all …]
/dpdk/drivers/vdpa/sfc/
H A Dsfc_vdpa_hw.c233 uint32_t rxq_allocated; in sfc_vdpa_estimate_resource_limits() local
269 rc = efx_nic_get_vi_pool(sva->nic, &evq_allocated, &rxq_allocated, in sfc_vdpa_estimate_resource_limits()
278 rxq_allocated = RTE_MIN(rxq_allocated, limits.edl_max_rxq_count); in sfc_vdpa_estimate_resource_limits()
282 max_queue_cnt = RTE_MIN(rxq_allocated, txq_allocated); in sfc_vdpa_estimate_resource_limits()