Home
last modified time | relevance | path

Searched refs:budget (Results 1 – 21 of 21) sorted by relevance

/f-stack/freebsd/net/
H A Dmp_ring.c96 drain_ring_locked(struct ifmp_ring *r, union ring_state os, uint16_t prev, int budget) in drain_ring_locked() argument
136 if (cidx != pidx && pending < 64 && total < budget) in drain_ring_locked()
141 ns.flags = state_to_flags(ns, total >= budget); in drain_ring_locked()
215 if (cidx != pidx && pending < 64 && total < budget) in drain_ring_lockless()
222 ns.flags = state_to_flags(ns, total >= budget); in drain_ring_lockless()
321 ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget, int abdicate) in ifmp_ring_enqueue() argument
388 drain_ring_locked(r, ns, os.flags, budget); in ifmp_ring_enqueue()
470 drain_ring_lockless(r, ns, os.flags, budget); in ifmp_ring_enqueue()
478 ifmp_ring_check_drainage(struct ifmp_ring *r, int budget) in ifmp_ring_check_drainage() argument
499 drain_ring_locked(r, ns, os.flags, budget); in ifmp_ring_check_drainage()
[all …]
H A Diflib.h185 int (*ift_rxd_available) (void *, uint16_t qsidx, qidx_t pidx, qidx_t budget);
H A Diflib.c1349 #define netmap_rx_irq(ifp, qid, budget) (0) argument
2868 iflib_rxeof(iflib_rxq_t rxq, qidx_t budget) in iflib_rxeof() argument
2894 MPASS(budget > 0); in iflib_rxeof()
3706 iflib_txq_check_drain(iflib_txq_t txq, int budget) in iflib_txq_check_drain() argument
3709 ifmp_ring_check_drainage(txq->ift_br, budget); in iflib_txq_check_drain()
3927 uint16_t budget; in _task_fn_rx() local
3946 budget = ctx->ifc_sysctl_rx_budget; in _task_fn_rx()
3947 if (budget == 0) in _task_fn_rx()
3948 budget = 16; /* XXX */ in _task_fn_rx()
3949 more = iflib_rxeof(rxq, budget); in _task_fn_rx()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/soc/fsl/cpm_qe/qe/
H A Dusb.txt17 - hub-power-budget : USB power budget for the root hub, in mA.
/f-stack/freebsd/contrib/zstd/lib/dictBuilder/
H A Ddivsufsort.c1051 budget->chance = chance; in trbudget_init()
1052 budget->remain = budget->incval = incval; in trbudget_init()
1057 trbudget_check(trbudget_t *budget, int size) { in trbudget_check() argument
1058 if(size <= budget->remain) { budget->remain -= size; return 1; } in trbudget_check()
1059 if(budget->chance == 0) { budget->count += size; return 0; } in trbudget_check()
1060 budget->remain += budget->incval - size; in trbudget_check()
1061 budget->chance -= 1; in trbudget_check()
1177 trbudget_t *budget) { in tr_introsort() argument
1405 trbudget_t budget; in trsort() local
1420 budget.count = 0; in trsort()
[all …]
/f-stack/dpdk/drivers/crypto/bcmfs/hw/
H A Dbcmfs5_rm.c455 bcmfs5_dequeue_qp(struct bcmfs_qp *qp, void **ops, uint16_t budget) in bcmfs5_dequeue_qp() argument
469 if (budget > qp->nb_pending_requests) in bcmfs5_dequeue_qp()
470 budget = qp->nb_pending_requests; in bcmfs5_dequeue_qp()
489 while ((cmpl_read_offset != cmpl_write_offset) && (budget > 0)) { in bcmfs5_dequeue_qp()
520 budget--; in bcmfs5_dequeue_qp()
H A Dbcmfs4_rm.c524 bcmfs4_dequeue_qp(struct bcmfs_qp *qp, void **ops, uint16_t budget) in bcmfs4_dequeue_qp() argument
538 if (budget > qp->nb_pending_requests) in bcmfs4_dequeue_qp()
539 budget = qp->nb_pending_requests; in bcmfs4_dequeue_qp()
558 while ((cmpl_read_offset != cmpl_write_offset) && (budget > 0)) { in bcmfs4_dequeue_qp()
589 budget--; in bcmfs4_dequeue_qp()
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_lif.h141 int ionic_qcq_service(struct ionic_qcq *qcq, int budget, ionic_cq_cb cb,
188 int ionic_notifyq_handler(struct ionic_lif *lif, int budget);
H A Dionic_main.c150 int budget = 8; in ionic_wait_ctx_for_completion() local
159 ionic_qcq_service(qcq, budget, ionic_adminq_service, NULL); in ionic_wait_ctx_for_completion()
H A Dionic_lif.c1060 ionic_qcq_service(struct ionic_qcq *qcq, int budget, ionic_cq_cb cb, in ionic_qcq_service() argument
1066 work_done = ionic_cq_service(cq, budget, cb, cb_arg); in ionic_qcq_service()
1136 ionic_notifyq_handler(struct ionic_lif *lif, int budget) in ionic_notifyq_handler() argument
1150 work_done = ionic_qcq_service(qcq, budget, ionic_notifyq_cb, lif); in ionic_notifyq_handler()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_ethdev.c199 unsigned int i, work_done, budget = 32; in cxgbe_dev_link_update() local
206 cxgbe_poll(&s->fw_evtq, NULL, budget, &work_done); in cxgbe_dev_link_update()
235 unsigned int work_done, budget = 32; in cxgbe_dev_set_link_up() local
243 cxgbe_poll(&s->fw_evtq, NULL, budget, &work_done); in cxgbe_dev_set_link_up()
264 unsigned int work_done, budget = 32; in cxgbe_dev_set_link_down() local
272 cxgbe_poll(&s->fw_evtq, NULL, budget, &work_done); in cxgbe_dev_set_link_down()
H A Dsge.c1569 static int process_responses(struct sge_rspq *q, int budget, in process_responses() argument
1573 int budget_left = budget; in process_responses()
1654 rx_pkts[budget - budget_left] = pkt; in process_responses()
1686 return budget - budget_left; in process_responses()
1690 unsigned int budget, unsigned int *work_done) in cxgbe_poll() argument
1702 *work_done = process_responses(q, budget, rx_pkts); in cxgbe_poll()
H A Dcxgbe_main.c252 unsigned int work_done, budget = 32; in cxgbe_poll_for_completion() local
258 cxgbe_poll(q, NULL, budget, &work_done); in cxgbe_poll_for_completion()
/f-stack/dpdk/drivers/net/pfe/
H A Dpfe_hif.h148 int pfe_hif_rx_process(struct pfe *pfe, int budget);
H A Dpfe_hif.c338 pfe_hif_rx_process(struct pfe *pfe, int budget) in pfe_hif_rx_process() argument
355 while (rx_processed < budget) { in pfe_hif_rx_process()
426 rx_processed = budget; in pfe_hif_rx_process()
/f-stack/freebsd/contrib/device-tree/Bindings/media/
H A Drc.yaml44 - rc-budget-ci-old
/f-stack/dpdk/drivers/net/liquidio/
H A Dlio_rxtx.h718 uint16_t budget);
H A Dlio_rxtx.c626 uint16_t budget) in lio_dev_recv_pkts() argument
639 if (pkt_count > budget) in lio_dev_recv_pkts()
640 pkt_count = budget; in lio_dev_recv_pkts()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dadapter.h837 unsigned int budget, unsigned int *work_done);
/f-stack/dpdk/doc/guides/contributing/
H A Ddesign.rst119 have to be spent out of the application budget and the counters collected by
/f-stack/dpdk/doc/guides/howto/
H A Ddebug_troubleshoot.rst347 * If services share the lcore, overall execution should fit budget.