Searched refs:budget (Results 226 - 250 of 379) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c2578 static int igc_clean_rx_irq(struct igc_q_vector *q_vector, const int budget) argument
2587 while (likely(total_packets < budget)) {
2688 /* update budget accounting */
2763 static int igc_clean_rx_irq_zc(struct igc_q_vector *q_vector, const int budget) argument
2778 while (likely(total_packets < budget)) {
2859 return failure ? budget : total_packets;
2966 u16 budget, ntu; local
2977 budget = igc_desc_unused(ring);
2979 while (xsk_tx_peek_desc(pool, &xdp_desc) && budget--) {
3042 unsigned int budget local
4658 igc_poll(struct napi_struct *napi, int budget) argument
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c1888 * @budget: polling budget
1896 static int ofld_poll(struct napi_struct *napi, int budget) argument
1903 while (work_done < budget) {
1920 if (work_done >= budget)
2311 * @budget: how many responses can be processed in this round
2313 * Process responses from an SGE response queue up to the supplied budget.
2316 * A negative budget is effectively unlimited.
2323 int budget)
2327 int budget_left = budget;
2322 process_responses(struct adapter *adap, struct sge_qset *qs, int budget) argument
2474 napi_rx_handler(struct napi_struct *napi, int budget) argument
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c1692 nq->budget--;
1804 nq->budget++;
2945 nq->budget--;
3029 nq->budget++;
3671 int i, ncqe, budget; local
3688 budget = min_t(u32, num_entries, cq->max_cql);
3689 num_entries = budget;
3695 while (budget) {
3697 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp);
3710 if (ncqe < budget)
[all...]
/linux-master/drivers/net/ethernet/toshiba/
H A Dtc35815.c481 static int tc35815_poll(struct napi_struct *napi, int budget);
1617 static int tc35815_poll(struct napi_struct *napi, int budget) argument
1626 if (budget <= 0)
1636 handled = tc35815_do_interrupt(dev, status, budget - received);
1642 if (received >= budget)
1649 if (received < budget) {
H A Dps3_gelic_net.c1093 * @budget: number of packets we can pass to the stack at most
1098 static int gelic_net_poll(struct napi_struct *napi, int budget) argument
1103 while (packets_done < budget) {
1110 if (packets_done < budget) {
H A Dspider_net.c1238 * @budget: number of packets we can pass to the stack at most
1247 static int spider_net_poll(struct napi_struct *napi, int budget) argument
1252 while (packets_done < budget) {
1261 packets_done = budget;
1273 if (packets_done < budget) {
/linux-master/drivers/net/ethernet/broadcom/
H A Db44.c753 static int b44_rx(struct b44 *bp, int budget) argument
763 while (cons != prod && budget > 0) {
827 budget--;
840 static int b44_poll(struct napi_struct *napi, int budget) argument
866 work_done += b44_rx(bp, budget);
878 if (work_done < budget) {
H A Dsb1250-mac.c301 static int sbmac_poll(struct napi_struct *napi, int budget);
2502 static int sbmac_poll(struct napi_struct *napi, int budget) argument
2507 work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1);
2510 if (work_done < budget) {
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c2260 * @budget: The maximum number of a packet
2265 static int pch_gbe_napi_poll(struct napi_struct *napi, int budget) argument
2273 netdev_dbg(adapter->netdev, "budget : %d\n", budget);
2275 pch_gbe_clean_rx(adapter, adapter->rx_ring, &work_done, budget);
2279 work_done = budget;
2283 if (work_done < budget)
2297 "poll_end_flag : %d work_done : %d budget : %d\n",
2298 poll_end_flag, work_done, budget);
/linux-master/drivers/net/ethernet/tehuti/
H A Dtehuti.c77 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget);
289 static int bdx_poll(struct napi_struct *napi, int budget) argument
296 work_done = bdx_rx_receive(priv, &priv->rxd_fifo0, budget);
297 if ((work_done < budget) ||
1184 * @budget: maximum number of packets to receive
1189 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget) argument
1206 max_done = budget;
/linux-master/drivers/net/ethernet/rdc/
H A Dr6040.c625 static int r6040_poll(struct napi_struct *napi, int budget) argument
635 work_done = r6040_rx(dev, budget);
637 if (work_done < budget) {
/linux-master/drivers/net/ethernet/
H A Dkorina.c703 static int korina_poll(struct napi_struct *napi, int budget) argument
710 work_done = korina_rx(dev, budget);
711 if (work_done < budget) {
/linux-master/drivers/net/ethernet/wiznet/
H A Dw5100.c891 static int w5100_napi_poll(struct napi_struct *napi, int budget) argument
896 for (rx_count = 0; rx_count < budget; rx_count++) {
905 if (rx_count < budget) {
/linux-master/drivers/net/wan/
H A Dfsl_ucc_hdlc.c623 static int ucc_hdlc_poll(struct napi_struct *napi, int budget) argument
636 howmany += hdlc_rx_done(priv, budget - howmany);
638 if (howmany < budget) {
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c3865 * @budget: how many responses can be processed in this round
3867 * Process responses from an SGE response queue up to the supplied budget.
3875 static int process_responses(struct sge_rspq *q, int budget) argument
3878 int budget_left = budget;
3960 return budget - budget_left;
3966 * @budget: how many packets we can process in this round
3974 static int napi_rx_handler(struct napi_struct *napi, int budget) argument
3981 work_done = process_responses(q, budget);
3982 if (likely(work_done < budget)) {
4274 unsigned int i, budget; local
[all...]
/linux-master/net/core/
H A Ddrop_monitor.c114 int work, int budget);
273 int work, int budget)
540 int work, int budget)
272 trace_napi_poll_hit(void *ignore, struct napi_struct *napi, int work, int budget) argument
538 net_dm_packet_trace_napi_poll_hit(void *ignore, struct napi_struct *napi, int work, int budget) argument
/linux-master/drivers/net/fjes/
H A Dfjes_main.c954 static int fjes_poll(struct napi_struct *napi, int budget) argument
979 while (work_done < budget) {
1023 if (work_done < budget) {
/linux-master/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dpearl_pcie.c703 static int qtnf_pcie_pearl_rx_poll(struct napi_struct *napi, int budget) argument
720 while (processed < budget) {
799 if (processed < budget) {
H A Dtopaz_pcie.c607 static int qtnf_topaz_rx_poll(struct napi_struct *napi, int budget) argument
625 while (processed < budget) {
711 if (processed < budget) {
/linux-master/block/
H A Dbfq-iosched.h145 * time to consume their budget and have true sequential behavior, and
176 /* budget, used also to calculate F_i: F_i = S_i + @budget / @weight */
177 int budget; member in struct:bfq_entity
293 /* maximum budget allowed from the feedback mechanism */
295 /* budget expiration (in jiffies) */
664 /* beginning of the last budget */
688 /* maximum budget allotted to a bfq_queue before rescheduling */
713 /* user-configured max budget value (0 for auto-tuning) */
716 * Timeout for bfq_queues to consume their budget; use
[all...]
/linux-master/drivers/net/ethernet/aeroflex/
H A Dgreth.c970 static int greth_poll(struct napi_struct *napi, int budget) argument
981 work_done += greth_rx_gbit(greth->netdev, budget - work_done);
985 work_done += greth_rx(greth->netdev, budget - work_done);
988 if (work_done < budget) {
/linux-master/drivers/net/ethernet/socionext/
H A Dsni_ave.c817 static int ave_napi_poll_rx(struct napi_struct *napi, int budget) argument
826 num = ave_rx_receive(ndev, budget);
827 if (num < budget) {
837 static int ave_napi_poll_tx(struct napi_struct *napi, int budget) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Ddriver.c822 * @budget: polling budget
828 int handle_receive_interrupt_napi_fp(struct hfi1_ctxtdata *rcd, int budget) argument
836 while (packet.numpkt < budget) {
1101 * @budget: polling budget
1107 int handle_receive_interrupt_napi_sp(struct hfi1_ctxtdata *rcd, int budget) argument
1118 while (last != RCV_PKT_DONE && packet.numpkt < budget) {
/linux-master/fs/
H A Deventpoll.c233 /* busy poll packet budget */
442 u16 budget = READ_ONCE(ep->busy_poll_budget); local
445 if (!budget)
446 budget = BUSY_POLL_BUDGET;
450 ep, prefer_busy_poll, budget);
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dpci.c1646 static int rtw_pci_napi_poll(struct napi_struct *napi, int budget) argument
1656 while (work_done < budget) {
1660 budget - work_done);
1665 if (work_done < budget) {

Completed in 495 milliseconds

1234567891011>>