| /dpdk/drivers/net/ionic/ |
| H A D | ionic_regs.h | 18 uint32_t credits; member 69 cred = ioread32(&intr_ctrl[intr_idx].credits); in ionic_intr_credits() 73 iowrite32(cred | flags, &intr_ctrl[intr_idx].credits); in ionic_intr_credits() 82 cred = ioread32(&intr_ctrl[intr_idx].credits); in ionic_intr_clean() 85 iowrite32(cred, &intr_ctrl[intr_idx].credits); in ionic_intr_clean()
|
| /dpdk/drivers/net/enic/base/ |
| H A D | vnic_intr.h | 55 unsigned int credits, int unmask, int reset_timer) in vnic_intr_return_credits() argument 60 uint32_t int_credit_return = (credits & 0xffff) | in vnic_intr_return_credits() 74 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits() local 78 vnic_intr_return_credits(intr, credits, unmask, reset_timer); in vnic_intr_return_all_credits()
|
| /dpdk/doc/guides/eventdevs/ |
| H A D | dlb2.rst | 41 directed queues, ports, credits, and other hardware resources. Some 149 directed credit pool. The load-balanced credits are used to enqueue to 150 load-balanced queues, and directed credits are used for directed queues. 153 nb_events_limit credits, and the directed pool is sized to contain 154 nb_events_limit/2 credits. The directed pool size can be overridden with the 171 to control how many load-balanced credits each application uses, particularly 186 worth of credits. For example, if an eventdev contains four ports with enqueue 188 with 32 load-balanced credits, and there will be 3968 credits available to 194 If a port attempts to enqueue and has no credits available, the enqueue 220 to enqueue if it lacks enough hardware credits to enqueue; load-balanced [all …]
|
| H A D | sw.rst | 70 The credit quanta is the number of credits that a port will fetch at a time from 72 atomic credit fetch code, however it also reduces the overall number of credits 74 of credits are pre-allocated at a time, while also mitigating performance impact 78 at the cost of the whole system having less credits. On the other hand, 80 system with a higher number of credits at all times.
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | qos_framework.rst | 436 #. *Read* pipe data structure. Update the credits for the current pipe and its subport. 541 * Subport S has enough credits to send the packet; 543 * Subport S has enough credits for traffic class TC to send the packet; 545 * Pipe P has enough credits to send the packet; 547 * Pipe P has enough credits for traffic class TC to send the packet. 557 The number of credits required for the transmission of a packet of n bytes is equal to (n+h), 751 out of which credits are consumed every time a packet is scheduled for that subport / pipe, 809 …| (on packet scheduling) | necessary number of credits. The packet can only be sent if enough cr… 1139 but in order to detect whether a specific pipe has enough credits, 1145 if the pipe does not have enough credits, [all …]
|
| /dpdk/drivers/event/dsw/ |
| H A D | dsw_event.c | 20 int32_t credits) in dsw_port_acquire_credits() argument 23 int32_t missing_credits = credits - inflight_credits; in dsw_port_acquire_credits() 30 port->inflight_credits -= credits; in dsw_port_acquire_credits() 61 port->inflight_credits -= credits; in dsw_port_acquire_credits() 68 int32_t credits) in dsw_port_return_credits() argument 70 port->inflight_credits += credits; in dsw_port_return_credits()
|
| /dpdk/drivers/event/sw/ |
| H A D | sw_evdev_xstats.c | 16 credits, enumerator 82 case credits: return p->inflight_credits; in get_port_stat() 200 inflight, pkt_cycles, credits, in sw_xstats_init() enumerator
|
| H A D | sw_evdev.c | 637 uint32_t credits = sw->nb_events_limit - inflights; in sw_dump() local 638 fprintf(f, "\tinflight %d, credits: %d\n", inflights, credits); in sw_dump()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | sge.c | 838 int credits, wr_size; in should_tx_packet_coalesce() local 870 credits = txq_avail(q) - ndesc; in should_tx_packet_coalesce() 879 if (unlikely(credits < 0)) { in should_tx_packet_coalesce() 903 credits = txq_avail(q) - ndesc; in should_tx_packet_coalesce() 908 if (unlikely(credits < 0)) in should_tx_packet_coalesce() 1053 int should_coal, credits; in t4_eth_xmit() local 1106 credits = txq_avail(&txq->q) - ndesc; in t4_eth_xmit() 1108 if (unlikely(credits < 0)) { in t4_eth_xmit() 1110 __func__, txq->q.cntxt_id, credits); in t4_eth_xmit()
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_rx.c | 915 uint32_t credits; in ef10_rx_qpush_ps_credits() local 927 credits = MIN(rxq_state->eers_rx_packed_stream_credits, in ef10_rx_qpush_ps_credits() 933 ERF_DZ_RX_DESC_MAGIC_DATA, credits); in ef10_rx_qpush_ps_credits()
|
| /dpdk/drivers/event/dlb2/ |
| H A D | dlb2.c | 1511 qm_port->credits = credit_high_watermark; in dlb2_hw_create_ldb_port() 1517 qm_port->credits); in dlb2_hw_create_ldb_port() 1709 qm_port->credits = credit_high_watermark; in dlb2_hw_create_dir_port() 2452 uint32_t credits = *qm_port->credit_pool[type]; in dlb2_port_credits_get() local 2456 if (unlikely(credits < batch_size)) in dlb2_port_credits_get() 2457 batch_size = credits; in dlb2_port_credits_get() 2459 if (likely(credits && in dlb2_port_credits_get() 2462 &credits, credits - batch_size, false, in dlb2_port_credits_get()
|
| H A D | dlb2_priv.h | 351 uint16_t credits; member
|
| H A D | dlb2_xstats.c | 1133 p->qm_port.credits); in dlb2_eventdev_dump()
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_adminq_cmd.h | 1783 __le16 credits[8]; member
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 5556 rte_le_to_cpu_16(ets_sla_config.credits[i]); in i40e_vsi_get_bw_config()
|