Home
last modified time | relevance | path

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

12

/dpdk/lib/eal/x86/include/
H A Drte_atomic_32.h86 int success = 0; in rte_atomic64_init() local
89 while (success == 0) { in rte_atomic64_init()
99 int success = 0; in rte_atomic64_read() local
102 while (success == 0) { in rte_atomic64_read()
114 int success = 0; in rte_atomic64_set() local
117 while (success == 0) { in rte_atomic64_set()
127 int success = 0; in rte_atomic64_add() local
130 while (success == 0) { in rte_atomic64_add()
140 int success = 0; in rte_atomic64_sub() local
165 int success = 0; in rte_atomic64_add_return() local
[all …]
H A Drte_atomic_64.h191 int success, in rte_atomic128_cmp_exchange() argument
195 RTE_SET_USED(success); in rte_atomic128_cmp_exchange()
/dpdk/app/test/
H A Dvirtual_pmd.h40 virtual_ethdev_start_fn_set_success(uint16_t port_id, uint8_t success);
43 virtual_ethdev_stop_fn_set_success(uint16_t port_id, uint8_t success);
46 virtual_ethdev_configure_fn_set_success(uint16_t port_id, uint8_t success);
50 uint8_t success);
54 uint8_t success);
57 virtual_ethdev_link_update_fn_set_success(uint16_t port_id, uint8_t success);
60 virtual_ethdev_rx_burst_fn_set_success(uint16_t port_id, uint8_t success);
63 virtual_ethdev_tx_burst_fn_set_success(uint16_t port_id, uint8_t success);
H A Dvirtual_pmd.c245 virtual_ethdev_start_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_start_fn_set_success() argument
251 if (success) in virtual_ethdev_start_fn_set_success()
259 virtual_ethdev_configure_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_configure_fn_set_success() argument
265 if (success) in virtual_ethdev_configure_fn_set_success()
278 if (success) in virtual_ethdev_rx_queue_setup_fn_set_success()
291 if (success) in virtual_ethdev_tx_queue_setup_fn_set_success()
304 if (success) in virtual_ethdev_link_update_fn_set_success()
413 virtual_ethdev_rx_burst_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_rx_burst_fn_set_success() argument
419 if (success) in virtual_ethdev_rx_burst_fn_set_success()
429 virtual_ethdev_tx_burst_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_tx_burst_fn_set_success() argument
[all …]
H A Dtest_rwlock.c61 uint64_t success; member
311 lcd->stat.success++; in try_read_lcore()
345 lcd->stat.success++; in try_write_lcore()
366 s = RTE_MAX(tlc->stat.success, 1ULL); in print_try_lcore_stats()
382 tlc->stat.success, in print_try_lcore_stats()
385 (tlc->stat.fail + tlc->stat.success), in print_try_lcore_stats()
387 (long double)tlc->stat.success / f); in print_try_lcore_stats()
396 tlc->stat.success += lc->stat.success; in collect_try_lcore_stats()
H A Dtest_atomic.c267 int success; in test_atomic128_cmp_exchange() local
282 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange()
285 } while (success == 0); in test_atomic128_cmp_exchange()
293 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange()
296 } while (success == 0); in test_atomic128_cmp_exchange()
304 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange()
307 } while (success == 0); in test_atomic128_cmp_exchange()
315 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange()
318 } while (success == 0); in test_atomic128_cmp_exchange()
H A Dtest_hash_perf.c161 unsigned bucket_idx, incr, success = 1; in get_input_keys() local
197 if (success == 1) in get_input_keys()
203 if (success == 1) in get_input_keys()
214 success = 0; in get_input_keys()
237 success = 1; in get_input_keys()
/dpdk/lib/eal/include/generic/
H A Drte_rwlock.h64 int success = 0; in rte_rwlock_read_lock() local
66 while (success == 0) { in rte_rwlock_read_lock()
73 success = __atomic_compare_exchange_n(&rwl->cnt, &x, x + 1, 1, in rte_rwlock_read_lock()
96 int success = 0; in rte_rwlock_read_trylock() local
98 while (success == 0) { in rte_rwlock_read_trylock()
103 success = __atomic_compare_exchange_n(&rwl->cnt, &x, x + 1, 1, in rte_rwlock_read_trylock()
159 int success = 0; in rte_rwlock_write_lock() local
161 while (success == 0) { in rte_rwlock_write_lock()
168 success = __atomic_compare_exchange_n(&rwl->cnt, &x, -1, 1, in rte_rwlock_write_lock()
H A Drte_atomic.h779 int success = 0; in rte_atomic64_init()
782 while (success == 0) { in rte_atomic64_init()
784 success = rte_atomic64_cmpset((volatile uint64_t *)&v->cnt, in rte_atomic64_init()
809 int success = 0; in rte_atomic64_read()
812 while (success == 0) { in rte_atomic64_read()
815 success = rte_atomic64_cmpset((volatile uint64_t *)&v->cnt, in rte_atomic64_read()
841 int success = 0; in rte_atomic64_set()
844 while (success == 0) { in rte_atomic64_set()
846 success = rte_atomic64_cmpset((volatile uint64_t *)&v->cnt, in rte_atomic64_set()
1111 int success,
/dpdk/lib/eal/arm/include/
H A Drte_atomic_64.h100 const rte_int128_t *src, unsigned int weak, int success, in rte_atomic128_cmp_exchange() argument
110 RTE_ASSERT(success == __ATOMIC_RELAXED || in rte_atomic128_cmp_exchange()
111 success == __ATOMIC_ACQUIRE || in rte_atomic128_cmp_exchange()
112 success == __ATOMIC_RELEASE || in rte_atomic128_cmp_exchange()
113 success == __ATOMIC_ACQ_REL || in rte_atomic128_cmp_exchange()
114 success == __ATOMIC_SEQ_CST); in rte_atomic128_cmp_exchange()
121 if (success == __ATOMIC_RELAXED) in rte_atomic128_cmp_exchange()
123 else if (success == __ATOMIC_ACQUIRE) in rte_atomic128_cmp_exchange()
125 else if (success == __ATOMIC_RELEASE) in rte_atomic128_cmp_exchange()
135 int ldx_mo = __HAS_ACQ(success) ? __ATOMIC_ACQUIRE : __ATOMIC_RELAXED; in rte_atomic128_cmp_exchange()
[all …]
/dpdk/lib/ring/
H A Drte_ring_generic_pvt.h62 int success; in __rte_ring_move_prod_head() local
93 r->prod.head = *new_head, success = 1; in __rte_ring_move_prod_head()
95 success = rte_atomic32_cmpset(&r->prod.head, in __rte_ring_move_prod_head()
97 } while (unlikely(success == 0)); in __rte_ring_move_prod_head()
131 int success; in __rte_ring_move_cons_head() local
163 success = 1; in __rte_ring_move_cons_head()
165 success = rte_atomic32_cmpset(&r->cons.head, *old_head, in __rte_ring_move_cons_head()
168 } while (unlikely(success == 0)); in __rte_ring_move_cons_head()
H A Drte_ring_c11_pvt.h62 int success; in __rte_ring_move_prod_head() local
95 r->prod.head = *new_head, success = 1; in __rte_ring_move_prod_head()
98 success = __atomic_compare_exchange_n(&r->prod.head, in __rte_ring_move_prod_head()
102 } while (unlikely(success == 0)); in __rte_ring_move_prod_head()
137 int success; in __rte_ring_move_cons_head() local
170 r->cons.head = *new_head, success = 1; in __rte_ring_move_cons_head()
173 success = __atomic_compare_exchange_n(&r->cons.head, in __rte_ring_move_cons_head()
177 } while (unlikely(success == 0)); in __rte_ring_move_cons_head()
/dpdk/lib/stack/
H A Drte_stack_lf_c11.h40 int success; in __rte_stack_lf_push_elems() local
58 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_push_elems()
64 } while (success == 0); in __rte_stack_lf_push_elems()
80 int success; in __rte_stack_lf_pop_elems() local
158 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_pop_elems()
164 } while (success == 0); in __rte_stack_lf_pop_elems()
H A Drte_stack_lf_generic.h40 int success; in __rte_stack_lf_push_elems() local
63 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_push_elems()
69 } while (success == 0); in __rte_stack_lf_push_elems()
81 int success = 0; in __rte_stack_lf_pop_elems() local
140 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_pop_elems()
146 } while (success == 0); in __rte_stack_lf_pop_elems()
/dpdk/lib/rcu/
H A Drte_rcu_qsbr.c84 unsigned int i, id, success; in rte_rcu_qsbr_thread_register() local
112 success = __atomic_compare_exchange( in rte_rcu_qsbr_thread_register()
117 if (success) in rte_rcu_qsbr_thread_register()
125 } while (success == 0); in rte_rcu_qsbr_thread_register()
136 unsigned int i, id, success; in rte_rcu_qsbr_thread_unregister() local
168 success = __atomic_compare_exchange( in rte_rcu_qsbr_thread_unregister()
173 if (success) in rte_rcu_qsbr_thread_unregister()
181 } while (success == 0); in rte_rcu_qsbr_thread_unregister()
/dpdk/drivers/common/cnxk/
H A Droc_se.c410 goto success; in roc_se_ciph_key_set()
454 goto success; in roc_se_ciph_key_set()
468 goto success; in roc_se_ciph_key_set()
476 goto success; in roc_se_ciph_key_set()
481 goto success; in roc_se_ciph_key_set()
485 goto success; in roc_se_ciph_key_set()
498 success: in roc_se_ciph_key_set()
/dpdk/doc/guides/prog_guide/
H A Dflow_classify_lib.rst54 * Handle to flow classifier instance on success or NULL otherwise
65 * 0 on success, error code otherwise
78 * 0 on success, error code otherwise
99 * 0 on success, error code otherwise
125 * A valid handle in case of success, NULL otherwise.
143 * 0 on success, error code otherwise.
164 * 0 on success, error code otherwise.
/dpdk/lib/timer/
H A Drte_timer.c228 int success = 0; in timer_set_config_state() local
237 while (success == 0) { in timer_set_config_state()
258 success = __atomic_compare_exchange_n(&tim->status.u32, in timer_set_config_state()
277 int success = 0; in timer_set_running_state() local
283 while (success == 0) { in timer_set_running_state()
297 success = __atomic_compare_exchange_n(&tim->status.u32, in timer_set_running_state()
/dpdk/drivers/net/axgbe/
H A Daxgbe_i2c.c267 goto success; in axgbe_i2c_xfer()
277 success: in axgbe_i2c_xfer()
H A Daxgbe_dev.c115 goto success; in axgbe_read_ext_mii_regs()
121 success: in axgbe_read_ext_mii_regs()
/dpdk/doc/guides/nics/
H A Dnull.rst7 NULL PMD is a simple virtual driver mainly for testing. It always returns success for all packets f…
/dpdk/drivers/event/opdl/
H A Dopdl_ring.c426 bool success; in move_head_atomically() local
444 success = __atomic_compare_exchange_n(&s->shared.head, old_head, in move_head_atomically()
449 if (likely(success)) in move_head_atomically()
/dpdk/drivers/common/cpt/
H A Dcpt_ucode.h260 goto success; in cpt_fc_ciph_set_key()
296 goto success; in cpt_fc_ciph_set_key()
310 goto success; in cpt_fc_ciph_set_key()
313 goto success; in cpt_fc_ciph_set_key()
316 goto success; in cpt_fc_ciph_set_key()
319 goto success; in cpt_fc_ciph_set_key()
332 success: in cpt_fc_ciph_set_key()
/dpdk/drivers/net/e1000/base/
H A De1000_phy.h57 u32 usec_interval, bool *success);
/dpdk/drivers/net/igc/base/
H A Digc_phy.h57 u32 usec_interval, bool *success);

12