Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL (Results 1 – 16 of 16) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_service_cores.c143 TEST_ASSERT_EQUAL(-EINVAL, in dummy_register()
148 TEST_ASSERT_EQUAL(-EINVAL, in dummy_register()
169 TEST_ASSERT_EQUAL(-ENODEV, in service_get_by_name()
172 TEST_ASSERT_EQUAL(-EINVAL, in service_get_by_name()
179 TEST_ASSERT_EQUAL(-EINVAL, in service_get_by_name()
183 TEST_ASSERT_EQUAL(-EINVAL, in service_get_by_name()
200 TEST_ASSERT_EQUAL(-ENODEV, in service_get_by_name()
291 TEST_ASSERT_EQUAL(0, attr_value, in service_attr_get()
297 TEST_ASSERT_EQUAL(0, attr_value, in service_attr_get()
331 TEST_ASSERT_EQUAL(0, attr_value, in service_attr_get()
[all …]
H A Dtest_fbarray.c113 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid()
116 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid()
123 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid()
552 TEST_ASSERT_EQUAL(rte_fbarray_find_contig_free(arr, in test_biggest()
576 TEST_ASSERT_EQUAL(rte_fbarray_find_contig_free(arr, in test_biggest()
600 TEST_ASSERT_EQUAL(rte_fbarray_find_contig_free(arr, in test_biggest()
622 TEST_ASSERT_EQUAL(rte_fbarray_find_contig_used(arr, in ensure_correct()
635 TEST_ASSERT_EQUAL(rte_fbarray_find_next_n_used(arr, in ensure_correct()
645 TEST_ASSERT_EQUAL(rte_fbarray_find_prev_n_used(arr, in ensure_correct()
649 TEST_ASSERT_EQUAL(rte_fbarray_find_contig_free(arr, in ensure_correct()
[all …]
H A Dtest_event_timer_adapter.c726 TEST_ASSERT_EQUAL(ev_tim[j]->state, in _cancel_producer_burst()
733 TEST_ASSERT_EQUAL(ret, MAX_BURST, in _cancel_producer_burst()
738 TEST_ASSERT_EQUAL(arm_count, MAX_TIMERS, in _cancel_producer_burst()
800 TEST_ASSERT_EQUAL(ev_tim[i]->state, in _cancel_burst_thread()
814 TEST_ASSERT_EQUAL(cancel_count, MAX_TIMERS, in _cancel_burst_thread()
1007 TEST_ASSERT_EQUAL(info.event_dev_port_id, 1, in adapter_get_info()
1095 TEST_ASSERT_EQUAL(ret, num_evtims, in stat_inc_reset_ev_enq()
1311 TEST_ASSERT_EQUAL(evtim, evtim2, in event_timer_arm_expiry()
1361 TEST_ASSERT_EQUAL(evtim, evtim2, in event_timer_arm_rearm()
1381 TEST_ASSERT_EQUAL(evtim, evtim2, in event_timer_arm_rearm()
[all …]
H A Dtest_link_bonding.c1090 TEST_ASSERT_EQUAL(slave_count, 0, in test_set_bonded_port_initialization_mac_assignment()
1285 TEST_ASSERT_EQUAL(slave_count, 0, in test_status_interrupt()
1456 TEST_ASSERT_EQUAL(refcnt, val, in verify_mbufs_ref_count()
1932 TEST_ASSERT_EQUAL(slave_count, in test_roundrobin_verify_slave_link_status_change_behaviour()
1946 TEST_ASSERT_EQUAL( in test_roundrobin_verify_slave_link_status_change_behaviour()
1953 TEST_ASSERT_EQUAL( in test_roundrobin_verify_slave_link_status_change_behaviour()
2515 TEST_ASSERT_EQUAL(slave_count, 4, in test_activebackup_verify_slave_link_status_change_failover()
2521 TEST_ASSERT_EQUAL(slave_count, 4, in test_activebackup_verify_slave_link_status_change_failover()
4029 TEST_ASSERT_EQUAL(slave_count, 4, in test_broadcast_verify_slave_link_status_change_behaviour()
4035 TEST_ASSERT_EQUAL(slave_count, 4, in test_broadcast_verify_slave_link_status_change_behaviour()
[all …]
H A Dtest_sched.c166 TEST_ASSERT_EQUAL(err, 10, "Wrong enqueue, err=%d\n", err); in test_sched()
169 TEST_ASSERT_EQUAL(err, 10, "Wrong dequeue, err=%d\n", err); in test_sched()
176 TEST_ASSERT_EQUAL(color, RTE_COLOR_YELLOW, "Wrong color\n"); in test_sched()
181 TEST_ASSERT_EQUAL(subport, SUBPORT, "Wrong subport\n"); in test_sched()
182 TEST_ASSERT_EQUAL(pipe, PIPE, "Wrong pipe\n"); in test_sched()
183 TEST_ASSERT_EQUAL(traffic_class, TC, "Wrong traffic_class\n"); in test_sched()
184 TEST_ASSERT_EQUAL(queue, QUEUE, "Wrong queue\n"); in test_sched()
193 TEST_ASSERT_EQUAL(subport_stats.n_pkts_tc[TC-1], 10, "Wrong subport stats\n"); in test_sched()
199 TEST_ASSERT_EQUAL(queue_stats.n_pkts, 10, "Wrong queue stats\n"); in test_sched()
H A Dtest_link_bonding_mode4.c368 TEST_ASSERT_EQUAL(retval, 0, in remove_slaves_and_stop_bonded_device()
566 TEST_ASSERT_EQUAL(retval, lacp_tx_buf_cnt, in bond_handshake_reply()
687 TEST_ASSERT_EQUAL(retval, AGG_STABLE, in test_mode4_agg_mode_selection()
709 TEST_ASSERT_EQUAL(retval, AGG_BANDWIDTH, in test_mode4_agg_mode_selection()
729 TEST_ASSERT_EQUAL(retval, AGG_COUNT, in test_mode4_agg_mode_selection()
801 TEST_ASSERT_EQUAL(retval, count, in generate_and_put_packets()
1061 TEST_ASSERT_EQUAL(slow_cnt, 0, in test_mode4_tx_burst()
1141 TEST_ASSERT_EQUAL(slow_cnt, 0, in test_mode4_tx_burst()
1219 TEST_ASSERT_EQUAL(retval, 1, in test_mode4_marker()
1233 TEST_ASSERT_EQUAL(retval, 0, in test_mode4_marker()
[all …]
H A Dtest_efd.c133 TEST_ASSERT_EQUAL(rte_efd_lookup(handle, test_socket_id, &keys[0]), in test_add_delete()
140 TEST_ASSERT_EQUAL(prev_value, data[0], in test_add_delete()
175 TEST_ASSERT_EQUAL(rte_efd_lookup(handle, test_socket_id, &keys[1]), in test_add_update_delete()
184 TEST_ASSERT_EQUAL(rte_efd_lookup(handle, test_socket_id, &keys[1]), in test_add_update_delete()
190 TEST_ASSERT_EQUAL(prev_value, data[1], in test_add_update_delete()
222 TEST_ASSERT_EQUAL(result, handle, "could not find existing efd table"); in test_efd_find_existing()
276 TEST_ASSERT_EQUAL(result[i], data[i], in test_five_keys()
296 TEST_ASSERT_EQUAL(rte_efd_lookup(handle, test_socket_id, in test_five_keys()
307 TEST_ASSERT_EQUAL(prev_value, data[i], in test_five_keys()
H A Dtest_eventdev.c179 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
182 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
185 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
188 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
191 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
196 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
200 TEST_ASSERT_EQUAL(-EINVAL, in test_eventdev_configure()
365 TEST_ASSERT_EQUAL(priority, in test_eventdev_queue_attr_priority()
369 TEST_ASSERT_EQUAL(priority, in test_eventdev_queue_attr_priority()
456 TEST_ASSERT_EQUAL(nb_atomic_order_sequences, in test_eventdev_queue_attr_nb_atomic_order_sequences()
[all …]
H A Dtest_reorder.c49 TEST_ASSERT_EQUAL(b, test_params->b, in test_reorder_create()
98 TEST_ASSERT_EQUAL(b, test_params->b, in test_reorder_find_existing()
119 TEST_ASSERT_EQUAL(b1, b2, "Failed to find existing reorder buffer"); in test_reorder_free()
H A Dtest_ipsec.c844 TEST_ASSERT_EQUAL(ut_params->cop[i]->type, in lksd_proto_ipsec()
848 TEST_ASSERT_EQUAL(ut_params->cop[i]->status, in lksd_proto_ipsec()
852 TEST_ASSERT_EQUAL(ut_params->cop[i]->sess_type, in lksd_proto_ipsec()
1225 TEST_ASSERT_EQUAL(ut_params->obuf[j]->data_len, in crypto_inb_burst_null_null_check()
1228 TEST_ASSERT_EQUAL(ut_params->obuf[j]->data_len, in crypto_inb_burst_null_null_check()
1327 TEST_ASSERT_EQUAL(ut_params->obuf[j]->data_len, in crypto_outb_burst_null_null_check()
1330 TEST_ASSERT_EQUAL(ut_params->obuf[j]->pkt_len, in crypto_outb_burst_null_null_check()
1433 TEST_ASSERT_EQUAL(ut_params->ibuf[j]->data_len, in inline_inb_burst_null_null_check()
1436 TEST_ASSERT_EQUAL(ut_params->ibuf[j]->pkt_len, in inline_inb_burst_null_null_check()
1439 TEST_ASSERT_EQUAL(ut_params->ibuf[j]->data_len, in inline_inb_burst_null_null_check()
[all …]
H A Dtest_security.c137 TEST_ASSERT_EQUAL(exp_calls, mock_data.called, \
141 TEST_ASSERT_EQUAL(0, mock_data.failed, \
156 TEST_ASSERT_EQUAL(exp_ret, f_ret, "Expecting " RTE_STR(f_name) \
177 TEST_ASSERT_EQUAL(expected_sessions_count, \
197 TEST_ASSERT_EQUAL(expected_mempool_usage, mempool_usage, \
216 TEST_ASSERT_EQUAL(expected_priv_mp_usage, priv_mp_usage, \
283 TEST_ASSERT_EQUAL(0, ret, in mock_session_create()
724 TEST_ASSERT_EQUAL(sess, mock_session_create_exp.sess, in ut_setup_with_session()
914 TEST_ASSERT_EQUAL(0, ret, in test_session_create_mempool_empty()
919 TEST_ASSERT_EQUAL(0, ret, in test_session_create_mempool_empty()
[all …]
H A Dtest_event_eth_tx_adapter.c450 TEST_ASSERT_EQUAL(r, m, "mbuf comparison failed" in tx_adapter_single()
593 TEST_ASSERT_EQUAL(pbufs[i], &bufs[i], in tx_adapter_service()
604 TEST_ASSERT_EQUAL(stats.tx_packets, MAX_NUM_QUEUE * RING_SIZE, in tx_adapter_service()
614 TEST_ASSERT_EQUAL(stats.tx_packets, 0, in tx_adapter_service()
H A Dtest_cryptodev_asym.c646 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_one_by_one()
694 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_rsa_sign_verify()
742 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_rsa_enc_dec()
790 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_rsa_sign_verify_crt()
837 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_rsa_enc_dec_crt()
1592 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_mod_inv()
1715 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_mod_exp()
1734 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_dh_keygenration()
1740 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_dh_keygenration()
1746 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_dh_keygenration()
[all …]
H A Dtest_event_crypto_adapter.c114 TEST_ASSERT_EQUAL(ret, NUM, in send_recv_ev()
344 TEST_ASSERT_EQUAL(ret, NUM, "Failed to enqueue to cryptodev\n"); in send_op_recv_ev()
643 TEST_ASSERT_EQUAL(queue_count, 2, "Unexpected queue count\n"); in configure_eventdev()
663 TEST_ASSERT_EQUAL(port_count, 1, "Unexpected port count\n"); in configure_eventdev()
H A Dtest.h29 #define TEST_ASSERT_EQUAL RTE_TEST_ASSERT_EQUAL macro
H A Dtest_cryptodev.c1937 TEST_ASSERT_EQUAL(status, 0, "Test failed"); in test_blockcipher()
2031 TEST_ASSERT_EQUAL(status, 0, "session init failed"); in create_wireless_algo_hash_session()
2070 TEST_ASSERT_EQUAL(status, 0, "session init failed"); in create_wireless_algo_cipher_session()
2193 TEST_ASSERT_EQUAL(status, 0, "session init failed"); in create_wireless_algo_cipher_auth_session()
9320 TEST_ASSERT_EQUAL(ut_params->op->status, in test_authenticated_decryption()
9734 TEST_ASSERT_EQUAL(ut_params->op->status, in test_authenticated_decryption_oop()
9803 TEST_ASSERT_EQUAL(ut_params->op->sess_type, in test_authenticated_encryption_sessionless()
9911 TEST_ASSERT_EQUAL(ut_params->op->sess_type, in test_authenticated_decryption_sessionless()
9941 TEST_ASSERT_EQUAL(ut_params->op->status, in test_authenticated_decryption_sessionless()
10717 TEST_ASSERT_EQUAL( in test_null_burst_operation()
[all …]