Home
last modified time | relevance | path

Searched refs:credit (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/
H A Ddn_sched_rr.c63 uint32_t credit; /* max bytes we can transmit */ member
87 q->credit = q->quantum; /* initialize credit */ in rr_append()
194 if (len > rrq->credit) { in rr_dequeue()
196 rrq->credit += rrq->quantum; in rr_dequeue()
200 rrq->credit -= len; in rr_dequeue()
271 q->credit = q->quantum; in rr_new_queue()
H A Dip_dn_io.c622 si->credit += (now - si->sched_time) * bw; in serve_sched()
624 si->credit = 0; in serve_sched()
627 while (si->credit >= 0 && (m = s->fp->dequeue(si)) != NULL) { in serve_sched()
633 si->credit -= len_scaled; in serve_sched()
644 if (si->credit >= 0) { in serve_sched()
649 t = div64(bw - 1 - si->credit, bw); in serve_sched()
937 si->credit = dn_cfg.io_fast ? p->bandwidth : 0; in dummynet_io()
942 si->credit += burst; in dummynet_io()
H A Dip_dn_private.h319 int64_t credit; /* bits I can transmit (more or less). */ member
H A Ddummynet.txt336 function is called until it has credit. If the dequeue() returns packets,
339 some credit, it means that is hasn't other packet to send and so the
H A Dip_dummynet.c608 si->credit = p->burst + (dn_cfg.io_fast ? p->bandwidth : 0); in si_reset_credit()
/f-stack/dpdk/doc/guides/eventdevs/
H A Ddlb.rst44 -- and others, like credit pools (one directed and one load-balanced pool per
50 regardless of whether it will consume a directed or load-balanced credit.
182 a member of a load-balanced credit pool and a directed credit pool. The
186 A DLB eventdev contains one load-balanced and one directed credit pool. These
211 Each port is a member of both credit pools. A port's credit allocation is
238 credit scheme on top of the hardware credit scheme in order to comply with
245 In the software credit scheme, a credit is consumed when a new (.op =
246 RTE_EVENT_OP_NEW) event is injected into the system, and the credit is
260 The out-of-credit situations are typically transient, and an eventdev
268 enter a credit deadlock scenario wherein the worker thread lacks the credit
[all …]
H A Ddlb2.rst42 -- and others, like credit pools (one directed and one load-balanced pool per
48 regardless of whether it will consume a directed or load-balanced credit.
173 a member of a load-balanced credit pool and a directed credit pool. The
177 A DLB2 eventdev contains one load-balanced and one directed credit pool. These
202 Each port is a member of both credit pools. A port's credit allocation is
229 credit scheme on top of the hardware credit scheme in order to comply with
236 In the software credit scheme, a credit is consumed when a new (.op =
237 RTE_EVENT_OP_NEW) event is injected into the system, and the credit is
251 The out-of-credit situations are typically transient, and an eventdev
259 enter a credit deadlock scenario wherein the worker thread lacks the credit
[all …]
H A Dsw.rst70 The credit quanta is the number of credits that a port will fetch at a time from
71 the instance's credit pool. Higher numbers will cause less overhead in the
72 atomic credit fetch code, however it also reduces the overall number of credits
/f-stack/freebsd/mips/nlm/dev/net/
H A Dnae.c706 if (credit > max_credit) in config_egress_fifo_credits()
707 credit = max_credit; in config_egress_fifo_credits()
708 data = credit << 16 | in config_egress_fifo_credits()
718 if (credit > max_credit) in config_egress_fifo_credits()
719 credit = max_credit; in config_egress_fifo_credits()
720 data = credit << 16 | in config_egress_fifo_credits()
730 if (credit > max_credit) in config_egress_fifo_credits()
731 credit = max_credit; in config_egress_fifo_credits()
732 data = credit << 16 | in config_egress_fifo_credits()
743 credit = max_credit; in config_egress_fifo_credits()
[all …]
/f-stack/freebsd/mips/nlm/
H A Dcms.c119 xlp_cms_credit_setup(int credit) in xlp_cms_credit_setup() argument
148 src, credit); in xlp_cms_credit_setup()
155 xlp_msgring_cpu_init(int node, int cpu, int credit) in xlp_msgring_cpu_init() argument
167 nlm_cms_setup_credits(cmsbase, qid, src, credit); in xlp_msgring_cpu_init()
/f-stack/freebsd/mips/nlm/hal/
H A Dfmn.c141 void nlm_cms_setup_credits(uint64_t base, int destid, int srcid, int credit) in nlm_cms_setup_credits() argument
145 val = (((uint64_t)credit << 24) | (destid << 12) | (srcid << 0)); in nlm_cms_setup_credits()
H A Dfmn.h217 extern void nlm_cms_setup_credits (uint64_t base, int destid, int srcid, int credit);
/f-stack/freebsd/contrib/ipfilter/netinet/
H A DIPFILTER.LICENCE10 and due credit is given to the original author and the contributors.
/f-stack/freebsd/contrib/ngatm/netnatm/saal/
H A Dsscoppriv.h260 int credit; /* send window not closed */ member
H A Dsaal_sscop.c1133 sscop->credit = 1; in m_initialize_state()
4283 if(sscop->credit) { in sscop_ready_stat()
4284 sscop->credit = 0; in sscop_ready_stat()
4287 } else if(!sscop->credit) { in sscop_ready_stat()
4292 sscop->credit = 1; in sscop_ready_stat()
/f-stack/dpdk/drivers/event/sw/
H A Dsw_evdev.c901 int *credit = opaque; in set_credit_quanta() local
902 *credit = atoi(value); in set_credit_quanta()
903 if (*credit < 0 || *credit >= 128) in set_credit_quanta()
/f-stack/dpdk/drivers/net/bnx2x/
H A Decore_sp.c3249 rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); in ecore_credit_pool_get()
3262 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); in ecore_credit_pool_put()
3274 cur_credit = ECORE_ATOMIC_READ(&o->credit); in ecore_credit_pool_check()
3359 int base, int credit) in ecore_init_credit_pool() argument
3368 ECORE_ATOMIC_SET(&p->credit, credit); in ecore_init_credit_pool()
3371 p->pool_sz = credit; in ecore_init_credit_pool()
3381 if (credit >= 0) { in ecore_init_credit_pool()
3461 int credit = MAX_VLAN_CREDIT_E2 / func_num; in ecore_init_vlan_credit_pool() local
3462 ecore_init_credit_pool(p, func_id * credit, credit); in ecore_init_vlan_credit_pool()
H A Decore_sp.h1071 ecore_atomic_t credit; member
1941 int base, int credit);
/f-stack/dpdk/doc/guides/prog_guide/
H A Dqos_framework.rst478 The scheduler needs to keep track of time advancement for the credit logic,
479 which requires credit updates based on time (for example, subport and pipe traffic shaping, traffic…
523 as this would result in credit loss (and therefore bandwidth loss) for the pipe.
555 As the greatest common divisor for all packet lengths is one byte, the unit of credit is selected a…
642 …| 1 | tb_time | Bytes | Time of the last credit update. Measured in bytes instead o…
643 …| | | | or CPU cycles for ease of credit consumption operation …
650 …| 2 | tb_period | Bytes | Time period that should elapse since the last credit update…
749 pipe levels is enforced by periodically refilling the subport / pipe traffic class credit counter,
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_prototype.h342 u16 seid, u16 credit, u8 max_credit,
358 u16 seid, u16 credit, u8 max_bw,
H A Di40e_adminq_cmd.h1709 __le16 credit; member
1777 __le16 credit; member
H A Di40e_common.c5315 u16 seid, u16 credit, u8 max_credit, in i40e_aq_config_vsi_bw_limit() argument
5327 cmd->credit = CPU_TO_LE16(credit); in i40e_aq_config_vsi_bw_limit()
5344 u16 seid, u16 credit, u8 max_bw, in i40e_aq_config_switch_comp_bw_limit() argument
5356 cmd->credit = CPU_TO_LE16(credit); in i40e_aq_config_switch_comp_bw_limit()
/f-stack/dpdk/doc/guides/contributing/
H A Dvulnerability.rst99 * Reporter credit