Searched refs:rx_message (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/ethernet/eth_ivshmem_queue/src/ |
D | main.c | 20 static const void *rx_message; variable 52 rx_message = NULL; in test_setup() 77 zassert_ok(eth_ivshmem_queue_rx(&q2, &rx_message, &rx_len)); in ZTEST() 79 zassert_equal(*(int *)rx_message, x); in ZTEST() 96 zassert_ok(eth_ivshmem_queue_rx(&q2, &rx_message, &rx_len)); in ZTEST() 98 zassert_equal(*(int *)rx_message, q1_tx_data); in ZTEST() 102 zassert_ok(eth_ivshmem_queue_rx(&q1, &rx_message, &rx_len)); in ZTEST() 104 zassert_equal(*(int *)rx_message, q2_tx_data); in ZTEST() 111 zassert_equal(eth_ivshmem_queue_rx(&q1, &rx_message, &rx_len), -EWOULDBLOCK); in ZTEST() 141 zassert_ok(eth_ivshmem_queue_rx(&q2, &rx_message, &rx_len)); in ZTEST() [all …]
|