| /dpdk/lib/eal/x86/include/ |
| H A D | rte_atomic_32.h | 86 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 D | rte_atomic_64.h | 191 int success, in rte_atomic128_cmp_exchange() argument 195 RTE_SET_USED(success); in rte_atomic128_cmp_exchange()
|
| /dpdk/app/test/ |
| H A D | virtual_pmd.h | 40 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 D | virtual_pmd.c | 245 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 D | test_rwlock.c | 61 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 D | test_atomic.c | 267 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 D | test_hash_perf.c | 161 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 D | rte_rwlock.h | 64 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 D | rte_atomic.h | 779 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 D | rte_atomic_64.h | 100 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 D | rte_ring_generic_pvt.h | 62 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 D | rte_ring_c11_pvt.h | 62 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 D | rte_stack_lf_c11.h | 40 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 D | rte_stack_lf_generic.h | 40 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 D | rte_rcu_qsbr.c | 84 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 D | roc_se.c | 410 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 D | flow_classify_lib.rst | 54 * 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 D | rte_timer.c | 228 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 D | axgbe_i2c.c | 267 goto success; in axgbe_i2c_xfer() 277 success: in axgbe_i2c_xfer()
|
| H A D | axgbe_dev.c | 115 goto success; in axgbe_read_ext_mii_regs() 121 success: in axgbe_read_ext_mii_regs()
|
| /dpdk/doc/guides/nics/ |
| H A D | null.rst | 7 NULL PMD is a simple virtual driver mainly for testing. It always returns success for all packets f…
|
| /dpdk/drivers/event/opdl/ |
| H A D | opdl_ring.c | 426 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 D | cpt_ucode.h | 260 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 D | e1000_phy.h | 57 u32 usec_interval, bool *success);
|
| /dpdk/drivers/net/igc/base/ |
| H A D | igc_phy.h | 57 u32 usec_interval, bool *success);
|