| /dpdk/app/test/ |
| H A D | test_telemetry_json.c | 14 const char *expected = "[\"meaning of life\",42]"; in test_basic_array() local 28 if (used != (int)strlen(expected)) in test_basic_array() 30 return strncmp(expected, buf, sizeof(buf)); in test_basic_array() 46 if (used != (int)strlen(expected)) in test_basic_obj() 48 return strncmp(expected, buf, sizeof(buf)); in test_basic_obj() 67 if (used != (int)strlen(expected)) in test_overflow_array() 69 return strncmp(expected, buf, sizeof(buf)); in test_overflow_array() 89 if (used != (int)strlen(expected)) in test_overflow_obj() 91 return strncmp(expected, buf, sizeof(buf)); in test_overflow_obj() 99 const char *expected = "ABC"; in test_large_array_element() local [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() 305 &expected, &desired, 1, in test_atomic128_cmp_exchange() [all …]
|
| H A D | test_common.c | 272 int expected, rc; in test_fls() local 287 expected = test[i].rc; in test_fls() 288 if (rc != expected) { in test_fls() 290 arg, rc, expected); in test_fls() 296 expected = test[i].rc; in test_fls() 297 if (rc != expected) { in test_fls() 299 arg, rc, expected); in test_fls() 306 expected = test[i].rc == 0 ? 0 : test[i].rc + 32; in test_fls() 307 if (rc != expected) { in test_fls() 309 arg64, rc, expected); in test_fls()
|
| 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 | 49 test_output(const char *func_name, const char *expected) in test_output() argument 65 printf("%s: buf = '%s', expected = '%s'\n", func_name, buf, expected); in test_output() 66 return strncmp(expected, buf, sizeof(buf)); in test_output()
|
| H A D | test_kvargs.c | 65 unsigned int expected; in test_valid_kvargs() member 230 if (test_kvargs_parsing(args, valid_inputs[i].expected)) in test_valid_kvargs()
|
| H A D | test_cryptodev_security_ipsec.c | 713 test_ipsec_ttl_or_hop_decrement_verify(void *received, void *expected) in test_ipsec_ttl_or_hop_decrement_verify() argument 718 if (is_ipv4(received) && is_ipv4(expected)) { in test_ipsec_ttl_or_hop_decrement_verify() 719 iph4_ex = expected; in test_ipsec_ttl_or_hop_decrement_verify() 724 } else if (!is_ipv4(received) && !is_ipv4(expected)) { in test_ipsec_ttl_or_hop_decrement_verify() 725 iph6_ex = expected; in test_ipsec_ttl_or_hop_decrement_verify()
|
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_pause.h | 45 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, 63 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, 81 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, 86 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, in rte_wait_until_equal_16() argument 91 while (__atomic_load_n(addr, memorder) != expected) in rte_wait_until_equal_16() 96 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, in rte_wait_until_equal_32() argument 101 while (__atomic_load_n(addr, memorder) != expected) in rte_wait_until_equal_32() 106 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, in rte_wait_until_equal_64() argument 111 while (__atomic_load_n(addr, memorder) != expected) in rte_wait_until_equal_64() 133 #define RTE_WAIT_UNTIL_MASKED(addr, mask, cond, expected, memorder) do { \ argument [all …]
|
| H A D | rte_mcslock.h | 146 rte_mcslock_t *expected = NULL; in rte_mcslock_trylock() local 154 return __atomic_compare_exchange_n(msl, &expected, me, 0, in rte_mcslock_trylock()
|
| /dpdk/lib/eal/arm/include/ |
| H A D | rte_pause_64.h | 127 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, in rte_wait_until_equal_16() argument 136 if (value != expected) { in rte_wait_until_equal_16() 141 } while (value != expected); in rte_wait_until_equal_16() 146 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, in rte_wait_until_equal_32() argument 155 if (value != expected) { in rte_wait_until_equal_32() 160 } while (value != expected); in rte_wait_until_equal_32() 165 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, in rte_wait_until_equal_64() argument 174 if (value != expected) { in rte_wait_until_equal_64() 179 } while (value != expected); in rte_wait_until_equal_64() 183 #define RTE_WAIT_UNTIL_MASKED(addr, mask, cond, expected, memorder) do { \ argument [all …]
|
| H A D | rte_atomic_64.h | 116 rte_int128_t expected = *exp; in rte_atomic128_cmp_exchange() local 172 if (likely(old.int128 == expected.int128)) { in rte_atomic128_cmp_exchange() 200 return (old.int128 == expected.int128); in rte_atomic128_cmp_exchange()
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_memalloc.c | 89 rte_iova_t cur, expected; in eal_memalloc_is_contig() local 100 expected = cur + pgsz; in eal_memalloc_is_contig() 105 if (cur != expected) in eal_memalloc_is_contig() 108 expected += pgsz; in eal_memalloc_is_contig() 112 rte_iova_t cur, expected; in eal_memalloc_is_contig() local 129 expected = cur + pgsz; in eal_memalloc_is_contig() 136 cur_seg++, expected += pgsz) { in eal_memalloc_is_contig() 139 if (ms->iova != expected) in eal_memalloc_is_contig()
|
| H A D | eal_common_proc.c | 1270 uint8_t expected; in set_mp_status() local 1273 expected = MP_STATUS_UNKNOWN; in set_mp_status() 1275 if (__atomic_compare_exchange_n(&mcfg->mp_status, &expected, desired, in set_mp_status()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_cpr.h | 142 bool expected, valid; in bnxt_cpr_cmp_valid() local 144 expected = !(raw_cons & ring_size); in bnxt_cpr_cmp_valid() 146 if (valid == expected) { in bnxt_cpr_cmp_valid()
|
| /dpdk/doc/guides/tools/ |
| H A D | testbbdev.rst | 103 - Compares the dequeued data buffer with a expected values in the test 132 - Dequeued data is not validated against expected values stored in TV 231 rate matching is expected, or crc_fail when a CRC failure is expected. 472 Chain of operation statuses that are expected after operation is performed. 483 ``OK`` means no errors are expected. Cannot be used with other values. 555 Chain of operation statuses that are expected after operation is performed. 564 ``OK`` means no errors are expected. Cannot be used with other values. 676 Chain of operation statuses that are expected after operation is performed. 687 ``OK`` means no errors are expected. Cannot be used with other values. 786 Chain of operation statuses that are expected after operation is performed. [all …]
|
| H A D | proc_info.rst | 85 It is not expected that the user passes any EAL arguments.
|
| /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/lib/efd/ |
| H A D | rte_efd.c | 431 efd_lookuptbl_t expected = in efd_search_hash() local 439 lookup_table |= expected << bucket_idx; in efd_search_hash() 440 lookup_table_complement |= (1 - expected) in efd_search_hash()
|
| /dpdk/doc/guides/sample_app_ug/ |
| 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/doc/guides/nics/ |
| H A D | af_packet.rst | 38 As an example, if one changes ``framesz`` to be 1024B, it is expected that
|
| H A D | build_and_test.rst | 42 on data path APIs, so performance downgrade is expected when enabling those options.
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | glossary.rst | 64 services expected from the EAL are: development kit loading and launching,
|
| H A D | event_crypto_adapter.rst | 86 The application is expected to create an adapter which is associated with 121 expected to fill the ``struct rte_event_crypto_adapter_conf`` structure
|
| H A D | thread_safety_dpdk_functions.rst | 54 It is expected that, in most applications, the initial configuration of the network ports would be …
|