Home
last modified time | relevance | path

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

/net/core/
A Dgro_cells.c51 static int gro_cell_poll(struct napi_struct *napi, int budget) in gro_cell_poll() argument
57 while (work_done < budget) { in gro_cell_poll()
65 if (work_done < budget) in gro_cell_poll()
A Ddrop_monitor.c115 int work, int budget);
275 int work, int budget) in trace_napi_poll_hit() argument
543 int work, int budget) in net_dm_packet_trace_napi_poll_hit() argument
A Ddev.c6662 unsigned flags, u16 budget) in busy_poll_stop() argument
6696 rc = napi->poll(napi, budget); in busy_poll_stop()
6701 trace_napi_poll(napi, rc, budget); in busy_poll_stop()
6703 if (rc == budget) in busy_poll_stop()
6711 void *loop_end_arg, unsigned flags, u16 budget) in __napi_busy_loop() argument
6757 work = napi_poll(napi, budget); in __napi_busy_loop()
6758 trace_napi_poll(napi, work, budget); in __napi_busy_loop()
6788 busy_poll_stop(napi, have_poll_lock, flags, budget); in __napi_busy_loop()
7651 int budget = READ_ONCE(net_hotdata.netdev_budget); in net_rx_action() local
7684 budget -= napi_poll(n, &repoll); in net_rx_action()
[all …]
A Dskbuff.c1457 void napi_consume_skb(struct sk_buff *skb, int budget) in napi_consume_skb() argument
1460 if (unlikely(!budget)) { in napi_consume_skb()
/net/sched/
A Dsch_qfq.c159 u32 initial_budget, budget; /* Initial and current budget. */ member
1035 agg->initial_budget - agg->budget); in charge_actual_service()
1118 if (len == 0 || in_serv_agg->budget < len) { in qfq_dequeue()
1122 in_serv_agg->initial_budget = in_serv_agg->budget = in qfq_dequeue()
1169 if (unlikely(in_serv_agg->budget < len)) in qfq_dequeue()
1170 in_serv_agg->budget = 0; in qfq_dequeue()
1172 in_serv_agg->budget -= len; in qfq_dequeue()
1345 agg->initial_budget = agg->budget = agg->budgetmax; /* recharge budg. */ in qfq_activate_agg()
A Dsch_taprio.c57 atomic_t budget[TC_MAX_QUEUE]; member
667 int tc, budget; in taprio_set_budgets() local
672 budget = INT_MAX; in taprio_set_budgets()
674 budget = div64_u64((u64)entry->gate_duration[tc] * PSEC_PER_NSEC, in taprio_set_budgets()
677 atomic_set(&entry->budget[tc], budget); in taprio_set_budgets()
685 int tc, budget, new_budget = 0; in taprio_update_budgets() local
688 budget = atomic_read(&entry->budget[tc]); in taprio_update_budgets()
690 if (budget == INT_MAX) { in taprio_update_budgets()
692 new_budget = budget; in taprio_update_budgets()
697 new_budget = atomic_sub_return(len, &entry->budget[tc]); in taprio_update_budgets()
[all …]
/net/xdp/
A Dxsk.c1446 unsigned int budget; in xsk_setsockopt() local
1448 if (optlen != sizeof(budget)) in xsk_setsockopt()
1450 if (copy_from_sockptr(&budget, optval, sizeof(budget))) in xsk_setsockopt()
1453 budget < TX_BATCH_SIZE || budget > xs->tx->nentries) in xsk_setsockopt()
1456 WRITE_ONCE(xs->max_tx_budget, budget); in xsk_setsockopt()
/net/mptcp/
A Dprotocol.c4046 static int mptcp_napi_poll(struct napi_struct *napi, int budget) in mptcp_napi_poll() argument
4071 if (++work_done == budget) in mptcp_napi_poll()
4072 return budget; in mptcp_napi_poll()

Completed in 60 milliseconds