Home
last modified time | relevance | path

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

/dpdk/drivers/vdpa/sfc/
H A Dsfc_vdpa_hw.c234 uint32_t txq_allocated; in sfc_vdpa_estimate_resource_limits() local
270 &txq_allocated); in sfc_vdpa_estimate_resource_limits()
279 txq_allocated = RTE_MIN(txq_allocated, limits.edl_max_txq_count); in sfc_vdpa_estimate_resource_limits()
282 max_queue_cnt = RTE_MIN(rxq_allocated, txq_allocated); in sfc_vdpa_estimate_resource_limits()
/dpdk/drivers/net/sfc/
H A Dsfc.c216 uint32_t txq_allocated; in sfc_estimate_resource_limits() local
264 &txq_allocated); in sfc_estimate_resource_limits()
271 txq_allocated = MIN(txq_allocated, limits.edl_max_txq_count); in sfc_estimate_resource_limits()
297 if (txq_allocated > 0 && evq_allocated > 0) { in sfc_estimate_resource_limits()
299 txq_allocated--; in sfc_estimate_resource_limits()
316 txq_allocated >= SFC_REPR_PROXY_NB_TXQ_MIN) { in sfc_estimate_resource_limits()
319 txq_allocated -= SFC_REPR_PROXY_NB_TXQ_MIN; in sfc_estimate_resource_limits()
336 extra = MIN(evq_allocated, txq_allocated); in sfc_estimate_resource_limits()
340 txq_allocated -= extra; in sfc_estimate_resource_limits()
349 sa->txq_max += MIN(txq_allocated, evq_allocated - sa->rxq_max); in sfc_estimate_resource_limits()