Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 25 of 25) sorted by relevance

/dpdk/lib/ring/
H A Drte_ring_generic_pvt.h60 const uint32_t capacity = r->capacity; in __rte_ring_move_prod_head() local
81 *free_entries = (capacity + r->cons.tail - *old_head); in __rte_ring_move_prod_head()
H A Drte_ring_c11_pvt.h59 const uint32_t capacity = r->capacity; in __rte_ring_move_prod_head() local
83 *free_entries = (capacity + cons_tail - *old_head); in __rte_ring_move_prod_head()
H A Drte_ring.h511 return (count > r->capacity) ? r->capacity : count; in rte_ring_count()
525 return r->capacity - rte_ring_count(r); in rte_ring_free_count()
587 return r->capacity; in rte_ring_get_capacity()
H A Drte_ring.c216 r->capacity = count; in rte_ring_init()
226 r->capacity = r->mask; in rte_ring_init()
231 rte_ring_set_prod_htd_max(r, r->capacity / HTD_MAX_DEF); in rte_ring_init()
233 rte_ring_set_cons_htd_max(r, r->capacity / HTD_MAX_DEF); in rte_ring_init()
368 fprintf(f, " capacity=%"PRIu32"\n", r->capacity); in rte_ring_dump()
H A Drte_ring_rts_elem_pvt.h77 const uint32_t capacity = r->capacity; in __rte_ring_rts_move_prod_head() local
98 *free_entries = capacity + r->cons.tail - oh.val.pos; in __rte_ring_rts_move_prod_head()
H A Drte_ring_hts_elem_pvt.h62 const uint32_t capacity = r->capacity; in __rte_ring_hts_move_prod_head() local
83 *free_entries = capacity + r->cons.tail - op.pos.head; in __rte_ring_hts_move_prod_head()
H A Drte_ring_core.h128 uint32_t capacity; /**< Usable size of ring */ member
/dpdk/lib/metrics/
H A Drte_metrics.h161 uint16_t capacity);
188 uint16_t capacity);
H A Drte_metrics.c227 uint16_t capacity) in rte_metrics_get_names() argument
241 if (capacity < stats->cnt_stats) { in rte_metrics_get_names()
259 uint16_t capacity) in rte_metrics_get_values() argument
279 if (capacity < stats->cnt_stats) { in rte_metrics_get_values()
/dpdk/drivers/event/dsw/
H A Ddsw_xstats.c224 unsigned int capacity; member
238 if (ctx->count < ctx->capacity) { in dsw_xstats_store_stat()
251 unsigned int *ids, unsigned int capacity) in dsw_xstats_get_names() argument
258 .capacity = capacity in dsw_xstats_get_names()
/dpdk/drivers/net/qede/base/
H A Decore_chain.h100 u32 capacity; member
211 return (u16)(p_chain->capacity - used); in ecore_chain_get_elem_left()
228 return p_chain->capacity - used; in ecore_chain_get_elem_left_u32()
235 p_chain->capacity); in ecore_chain_is_full()
238 p_chain->capacity); in ecore_chain_is_full()
443 return p_chain->capacity; in ecore_chain_get_capacity()
546 for (i = 0; i < p_chain->capacity; i++) in ecore_chain_reset()
593 p_chain->capacity = p_chain->usable_per_page * page_cnt; in ecore_chain_init_params()
H A Decore_spq.c518 u32 i, capacity; in ecore_spq_setup() local
531 capacity = ecore_chain_get_capacity(&p_spq->chain); in ecore_spq_setup()
532 for (i = 0; i < capacity; i++) { in ecore_spq_setup()
582 u32 capacity; in ecore_spq_alloc() local
605 capacity = ecore_chain_get_capacity(&p_spq->chain); in ecore_spq_alloc()
607 capacity * in ecore_spq_alloc()
633 u32 capacity; in ecore_spq_free() local
643 capacity = ecore_chain_get_capacity(&p_spq->chain); in ecore_spq_free()
647 capacity * in ecore_spq_free()
/dpdk/lib/stack/
H A Drte_stack.h79 uint32_t capacity; /**< Usable size of the stack. */ member
177 return s->capacity - rte_stack_count(s); in rte_stack_free_count()
H A Drte_stack_std.h34 if ((stack->len + n) > s->capacity) { in __rte_stack_std_push()
H A Drte_stack.c117 s->capacity = count; in rte_stack_create()
/dpdk/examples/vhost_blk/
H A Dvhost_blk_compat.c56 blkcfg.capacity = (blkcnt * blk_size) / 512; in vhost_blk_get_config()
/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_cat.rst27 ``cbm`` or capacity bitmask.
95 where ``cbm`` stands for capacity bitmask and must be expressed in
/dpdk/doc/guides/rawdevs/
H A Dcnxk_bphy.rst35 available queues with ``rte_rawdev_queue_count()`` and capacity of each
H A Dcnxk_gpio.rst58 ones. The latter call simply returns queue capacity.
/dpdk/app/proc-info/
H A Dmain.c1274 ptr->capacity); in show_ring()
/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c1039 if (offset >= rxq->rx_ring->capacity) in hn_dev_rx_queue_status()
/dpdk/doc/guides/prog_guide/
H A Dhash_lib.rst117 …isms) in order to free the empty buckets and deleted keys, to maintain the 100% capacity guarantee.
H A Dqos_framework.rst1196 This occurs when a packet queue has reached maximum capacity and cannot store any more packets.
/dpdk/doc/guides/rel_notes/
H A Drelease_18_11.rst224 the capacity specified by the user by extending hash table with extra
/dpdk/doc/guides/nics/
H A Dmlx5.rst1043 The capacity of the value is specified by the firmware and the initialization