Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 80) sorted by relevance

1234

/dpdk/app/test/
H A Dtest_telemetry_json.c14 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 Dtest_atomic.c266 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 Dtest_common.c272 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 Dtest_table.h83 #define VERIFY_TRAFFIC(ring, sent, expected) do { \ argument
97 printf("Expected %d, got %d\n", expected, n); \
98 if (n != (expected)) { \
H A Dtest_telemetry_data.c49 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 Dtest_kvargs.c65 unsigned int expected; in test_valid_kvargs() member
230 if (test_kvargs_parsing(args, valid_inputs[i].expected)) in test_valid_kvargs()
H A Dtest_cryptodev_security_ipsec.c713 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 Drte_pause.h45 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 Drte_mcslock.h146 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 Drte_pause_64.h127 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 Drte_atomic_64.h116 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 Deal_common_memalloc.c89 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 Deal_common_proc.c1270 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 Dbnxt_cpr.h142 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 Dtestbbdev.rst103 - 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 Dproc_info.rst85 It is not expected that the user passes any EAL arguments.
/dpdk/drivers/raw/cnxk_gpio/
H A Dcnxk_gpio_selftest.c66 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 Drte_efd.c431 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 Dtest_pipeline.rst64 …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 Dqos_metering.rst80 and green, the expected output traffic should be marked as shown in the following table:
/dpdk/doc/guides/nics/
H A Daf_packet.rst38 As an example, if one changes ``framesz`` to be 1024B, it is expected that
H A Dbuild_and_test.rst42 on data path APIs, so performance downgrade is expected when enabling those options.
/dpdk/doc/guides/prog_guide/
H A Dglossary.rst64 services expected from the EAL are: development kit loading and launching,
H A Devent_crypto_adapter.rst86 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 Dthread_safety_dpdk_functions.rst54 It is expected that, in most applications, the initial configuration of the network ports would be …

1234