| /dpdk/app/test/ |
| H A D | test_telemetry_json.c | 14 const char *expected = "[\"meaning of life\",42]"; in test_basic_array() local 27 printf("buf = '%s', expected = '%s'\n", buf, expected); in test_basic_array() 28 if (used != (int)strlen(expected)) in test_basic_array() 30 return strncmp(expected, buf, sizeof(buf)); in test_basic_array() 36 const char *expected = "{\"weddings\":4,\"funerals\":1}"; in test_basic_obj() local 45 printf("%s: buf = '%s', expected = '%s'\n", __func__, buf, expected); in test_basic_obj() 46 if (used != (int)strlen(expected)) in test_basic_obj() 48 return strncmp(expected, buf, sizeof(buf)); in test_basic_obj() 56 const char *expected = "[\"Arsenal\",\"Chelsea\"]"; in test_overflow_array() local 64 printf("%s: buf = '%s', expected = '%s'\n", __func__, buf, expected); in test_overflow_array() [all …]
|
| H A D | test_atomic.c | 266 rte_int128_t expected; in test_atomic128_cmp_exchange() local 273 expected = count128; in test_atomic128_cmp_exchange() 279 desired.val[0] = expected.val[0] + 2; in test_atomic128_cmp_exchange() 280 desired.val[1] = expected.val[1] + 1; in test_atomic128_cmp_exchange() 283 &expected, &desired, 1, in test_atomic128_cmp_exchange() 290 desired.val[0] = expected.val[0] + 2; in test_atomic128_cmp_exchange() 291 desired.val[1] = expected.val[1] + 1; in test_atomic128_cmp_exchange() 294 &expected, &desired, 1, in test_atomic128_cmp_exchange() 301 desired.val[0] = expected.val[0] + 2; in test_atomic128_cmp_exchange() 302 desired.val[1] = expected.val[1] + 1; in test_atomic128_cmp_exchange() [all …]
|
| H A D | test_net_ether.c | 69 const struct rte_ether_addr expected = { in test_unformat_addr() local 82 RTE_TEST_ASSERT(rte_is_same_ether_addr(&expected, &result), in test_unformat_addr() 89 RTE_TEST_ASSERT(rte_is_same_ether_addr(&expected, &result), in test_unformat_addr() 96 RTE_TEST_ASSERT(rte_is_same_ether_addr(&expected, &result), in test_unformat_addr()
|
| H A D | test_table.h | 83 #define VERIFY_TRAFFIC(ring, sent, expected) do { \ argument 97 printf("Expected %d, got %d\n", expected, n); \ 98 if (n != (expected)) { \
|
| H A D | test_telemetry_data.c | 85 check_output(const char *func_name, const char *expected) in check_output() argument 101 printf("%s: buf = '%s', expected = '%s'\n", func_name, buf, expected); in check_output() 102 return strncmp(expected, buf, sizeof(buf)); in check_output()
|
| H A D | test_pdcp.c | 525 pdcp_known_vec_verify(struct rte_mbuf *m, const uint8_t *expected, uint32_t expected_pkt_len) in pdcp_known_vec_verify() argument 532 debug_hexdump(stdout, "Expected:", expected, expected_pkt_len); in pdcp_known_vec_verify() 539 TEST_ASSERT_BUFFERS_ARE_EQUAL(actual, expected, expected_pkt_len, in pdcp_known_vec_verify() 880 const uint8_t *data, *expected; in create_test_conf_from_index() local 1024 expected = pdcp_test_data_out_get(suite_type, index); in create_test_conf_from_index() 1026 expected = pdcp_test_data_in_get(suite_type, index); in create_test_conf_from_index() 1033 expected += pdcp_hdr_sz; in create_test_conf_from_index() 1042 memcpy(conf->output, expected, expected_len); in create_test_conf_from_index()
|
| H A D | test_cryptodev_crosscheck.c | 804 buffers_compare(const uint8_t *expected, uint16_t expected_len, in buffers_compare() argument 810 if (memcmp(expected, received, expected_len)) { in buffers_compare() 811 rte_hexdump(rte_log_get_stream(), "expected", expected, expected_len); in buffers_compare()
|
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_pause.h | 35 * Wait for *addr to be updated with a 16-bit expected value, with a relaxed 40 * @param expected 41 * A 16-bit expected value to be in the memory location. 47 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, 51 * Wait for *addr to be updated with a 32-bit expected value, with a relaxed 56 * @param expected 57 * A 32-bit expected value to be in the memory location. 63 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, 67 * Wait for *addr to be updated with a 64-bit expected value, with a relaxed 72 * @param expected 80 rte_wait_until_equal_16(volatile uint16_t * addr,uint16_t expected,rte_memory_order memorder) rte_wait_until_equal_16() argument 91 rte_wait_until_equal_32(volatile uint32_t * addr,uint32_t expected,rte_memory_order memorder) rte_wait_until_equal_32() argument 102 rte_wait_until_equal_64(volatile uint64_t * addr,uint64_t expected,rte_memory_order memorder) rte_wait_until_equal_64() argument 128 RTE_WAIT_UNTIL_MASKED(addr,mask,cond,expected,memorder) global() argument [all...] |
| /dpdk/lib/eal/arm/include/ |
| H A D | rte_pause_64.h | 164 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, in rte_wait_until_equal_16() 173 if (value != expected) { in rte_wait_until_equal_32() 178 } while (value != expected); in rte_wait_until_equal_32() 183 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, in rte_wait_until_equal_32() 192 if (value != expected) { in rte_wait_until_equal_64() 197 } while (value != expected); in rte_wait_until_equal_64() 202 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, in rte_wait_until_equal_64() 211 if (value != expected) { 216 } while (value != expected); 220 #define RTE_WAIT_UNTIL_MASKED(addr, mask, cond, expected, memorde 152 rte_wait_until_equal_16(volatile uint16_t * addr,uint16_t expected,rte_memory_order memorder) rte_wait_until_equal_16() argument 171 rte_wait_until_equal_32(volatile uint32_t * addr,uint32_t expected,rte_memory_order memorder) rte_wait_until_equal_32() argument 190 rte_wait_until_equal_64(volatile uint64_t * addr,uint64_t expected,rte_memory_order memorder) rte_wait_until_equal_64() argument 208 RTE_WAIT_UNTIL_MASKED(addr,mask,cond,expected,memorder) global() argument [all...] |
| H A D | rte_atomic_64.h | 114 rte_int128_t expected = *exp; in rte_atomic128_cmp_exchange() local 170 if (likely(old.int128 == expected.int128)) { in rte_atomic128_cmp_exchange() 177 * weak == 0 is implemented), expected should contain in rte_atomic128_cmp_exchange() 198 return (old.int128 == expected.int128); in rte_atomic128_cmp_exchange()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_stdatomic.h | 77 #define rte_atomic_compare_exchange_strong_explicit(ptr, expected, desired, \ 79 atomic_compare_exchange_strong_explicit(ptr, expected, desired, \ 82 #define rte_atomic_compare_exchange_weak_explicit(ptr, expected, desired, \ 84 atomic_compare_exchange_weak_explicit(ptr, expected, desired, \ 144 #define rte_atomic_compare_exchange_strong_explicit(ptr, expected, desired, \ 146 __atomic_compare_exchange_n(ptr, expected, desired, 0, \ 149 #define rte_atomic_compare_exchange_weak_explicit(ptr, expected, desired, \ 151 __atomic_compare_exchange_n(ptr, expected, desired, 1, \ 81 rte_atomic_compare_exchange_strong_explicit(ptr,expected,desired,succ_memorder,fail_memorder) global() argument 86 rte_atomic_compare_exchange_weak_explicit(ptr,expected,desired,succ_memorder,fail_memorder) global() argument
|
| H A D | rte_mcslock.h | 150 rte_mcslock_t *expected = NULL; in rte_mcslock_trylock() local 158 return rte_atomic_compare_exchange_strong_explicit(msl, &expected, me, in rte_mcslock_trylock()
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_memalloc.c | 90 rte_iova_t cur, expected; in eal_memalloc_is_contig() local 101 expected = cur + pgsz; in eal_memalloc_is_contig() 106 if (cur != expected) in eal_memalloc_is_contig() 109 expected += pgsz; in eal_memalloc_is_contig() 113 rte_iova_t cur, expected; in eal_memalloc_is_contig() local 130 expected = cur + pgsz; in eal_memalloc_is_contig() 137 cur_seg++, expected += pgsz) { in eal_memalloc_is_contig() 140 if (ms->iova != expected) in eal_memalloc_is_contig()
|
| H A D | eal_common_proc.c | 1280 uint8_t expected; in set_mp_status() local 1283 expected = MP_STATUS_UNKNOWN; in set_mp_status() 1285 if (rte_atomic_compare_exchange_strong_explicit(&mcfg->mp_status, &expected, desired, in set_mp_status()
|
| /dpdk/doc/guides/tools/ |
| H A D | testbbdev.rst | 105 - Compares the dequeued data buffer with a expected values in the test 134 - Dequeued data is not validated against expected values stored in TV 233 rate matching is expected, or crc_fail when a CRC failure is expected. 474 Chain of operation statuses that are expected after operation is performed. 485 ``OK`` means no errors are expected. Cannot be used with other values. 557 Chain of operation statuses that are expected after operation is performed. 566 ``OK`` means no errors are expected. Cannot be used with other values. 678 Chain of operation statuses that are expected after operation is performed. 689 ``OK`` means no errors are expected. Cannot be used with other values. 788 Chain of operation statuses that are expected after operation is performed. [all …]
|
| /dpdk/drivers/raw/cnxk_gpio/ |
| H A D | cnxk_gpio_selftest.c | 66 cnxk_gpio_validate_attr(char *attr, const char *expected) in cnxk_gpio_validate_attr() argument 75 if (strncmp(buf, expected, sizeof(buf))) in cnxk_gpio_validate_attr()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | fips_validation.rst | 37 * The application does not supply the test vectors. The user is expected to 57 * The application does not supply the test vectors. The user is expected to
|
| H A D | test_pipeline.rst | 64 …The key size specialized implementations are expected to provide better performance for 8-byte and… 65 …while the key-size-non-specialized implementation is expected to provide better performance for la…
|
| H A D | qos_metering.rst | 80 and green, the expected output traffic should be marked as shown in the following table:
|
| /dpdk/lib/efd/ |
| H A D | rte_efd.c | 427 * expected bit should be set in the lookup_table in efd_search_hash() 437 efd_lookuptbl_t expected = in efd_search_hash() local 441 * Add the expected bit (if set) to a map in efd_search_hash() 445 lookup_table |= expected << bucket_idx; in efd_search_hash() 446 lookup_table_complement |= (1 - expected) in efd_search_hash()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | pdcp_lib.rst | 112 For example, when control PDUs are received, no cryptodev enqueue-dequeue is expected 113 for the same and lib PDCP is expected to handle it differently.
|
| H A D | glossary.rst | 64 services expected from the EAL are: development kit loading and launching,
|
| /dpdk/doc/guides/nics/ |
| H A D | build_and_test.rst | 46 on data path APIs, so performance downgrade is expected when enabling those options.
|
| /dpdk/lib/vhost/ |
| H A D | vhost.h | 952 bool expected = false; 955 if (rte_atomic_compare_exchange_strong_explicit(&vq->irq_pending, &expected, true, in vhost_vring_call_split() 917 bool expected = false; vhost_vring_inject_irq() local
|
| /dpdk/doc/guides/dmadevs/ |
| H A D | ioat.rst | 95 It is expected that, for efficiency reasons, a burst of operations will be enqueued to the
|