Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 93) sorted by relevance

1234

/dpdk/app/test/
H A Dtest_lcores.c133 unsigned int init; member
143 l->init++; in limit_lcores_init()
144 if (l->init > l->max) in limit_lcores_init()
176 if (l.init != eal_threads_count) { in test_lcores_callback()
178 eal_threads_count, l.init); in test_lcores_callback()
203 if (l.init != eal_threads_count) { in test_lcores_callback()
205 eal_threads_count, l.init); in test_lcores_callback()
260 if (l[0].init != eal_threads_count || l[1].init != eal_threads_count) { in test_non_eal_lcores_callback()
263 l[0].init, l[1].init); in test_non_eal_lcores_callback()
282 if (l[0].init != eal_threads_count + 1 || in test_non_eal_lcores_callback()
[all …]
/dpdk/drivers/net/thunderx/
H A Dnicvf_rxtx.h63 union mbuf_initializer init = {.value = mbuf_init}; in nicvf_mbuff_init_update() local
65 init.fields.data_off += apad; in nicvf_mbuff_init_update()
67 init.value += apad; in nicvf_mbuff_init_update()
69 *(uint64_t *)(&pkt->rearm_data) = init.value; in nicvf_mbuff_init_update()
76 union mbuf_initializer init = {.value = mbuf_init}; in nicvf_mbuff_init_mseg_update() local
78 init.fields.data_off += apad; in nicvf_mbuff_init_mseg_update()
80 init.value += apad; in nicvf_mbuff_init_mseg_update()
82 init.fields.nb_segs = nb_segs; in nicvf_mbuff_init_mseg_update()
83 *(uint64_t *)(&pkt->rearm_data) = init.value; in nicvf_mbuff_init_mseg_update()
/dpdk/drivers/common/sfc_efx/base/
H A Defx_hash.c92 __in uint32_t init) in efx_hash_dwords() argument
100 (((uint32_t)count) * sizeof (uint32_t)) + init; in efx_hash_dwords()
141 __in uint32_t init) in efx_hash_bytes() argument
148 a = b = c = EFX_HASH_INITIAL_VALUE + (uint32_t)length + init; in efx_hash_bytes()
224 __in uint32_t init) in efx_hash_bytes() argument
231 a = b = c = EFX_HASH_INITIAL_VALUE + (uint32_t)length + init; in efx_hash_bytes()
/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_hash.c82 tf_hash_calc_crc32i(uint32_t init, uint8_t *buf, uint32_t len) in tf_hash_calc_crc32i() argument
84 uint32_t crc = init; in tf_hash_calc_crc32i()
H A Dtf_hash.h17 tf_hash_calc_crc32i(uint32_t init, uint8_t *buf, uint32_t len);
/dpdk/drivers/net/netvsc/
H A Dhn_nvs.c155 struct hn_nvs_init init; in hn_nvs_doinit() local
160 memset(&init, 0, sizeof(init)); in hn_nvs_doinit()
161 init.type = NVS_TYPE_INIT; in hn_nvs_doinit()
162 init.ver_min = nvs_ver; in hn_nvs_doinit()
163 init.ver_max = nvs_ver; in hn_nvs_doinit()
165 error = hn_nvs_execute(hv, &init, sizeof(init), in hn_nvs_doinit()
/dpdk/drivers/common/mlx5/
H A Dmlx5_malloc.c16 uint32_t init:1; /* Memory allocator initialized. */ member
43 .init = 0,
303 if (!mlx5_sys_mem.init) { in mlx5_malloc_mem_select()
306 mlx5_sys_mem.init = 1; in mlx5_malloc_mem_select()
/dpdk/drivers/net/dpaa2/base/
H A Ddpaa2_tlu_hash.c147 static int init; in rte_pmd_dpaa2_get_tlu_hash() local
149 if (~init) in rte_pmd_dpaa2_get_tlu_hash()
151 init = 1; in rte_pmd_dpaa2_get_tlu_hash()
/dpdk/dts/framework/params/
H A Dtestpmd.py119 default=True, init=False, metadata=Params.long("disable-rss")
127 _rss_ip: Literal[True] = field(default=True, init=False, metadata=Params.long("rss-ip"))
134 _rss_udp: Literal[True] = field(default=True, init=False, metadata=Params.long("rss-udp"))
183 default="txonly", init=False, metadata=Params.long("forward-mode")
204 default="flowgen", init=False, metadata=Params.long("forward-mode")
231 default="noisy", init=False, metadata=Params.long("forward-mode")
389 _mp_alloc: Literal["anon"] = field(default="anon", init=False, metadata=Params.long("mp-alloc"))
/dpdk/lib/eal/common/
H A Deal_common_lcore.c238 rte_lcore_init_cb init; member
248 if (callback->init == NULL) in callback_init()
252 return callback->init(lcore_id, callback->arg); in callback_init()
273 rte_lcore_callback_register(const char *name, rte_lcore_init_cb init, in rte_lcore_callback_register() argument
289 callback->init = init; in rte_lcore_callback_register()
293 if (callback->init == NULL) in rte_lcore_callback_register()
315 callback->name, callback->init == NULL ? "NO " : "", in rte_lcore_callback_register()
/dpdk/drivers/event/sw/
H A Dsw_evdev_selftest.c156 init(struct test *t, int nb_queues, int nb_ports) in init() function
462 if (init(t, 3, 3) < 0 || in test_single_directed_packet()
542 if (init(t, 1, 1) < 0 || in test_directed_forward_credits()
584 if (init(t, 1, 1) < 0 || in test_priority_directed()
602 if (init(t, 1, 1) < 0 || in test_priority_atomic()
625 if (init(t, 1, 1) < 0 || in test_priority_ordered()
648 if (init(t, 1, 1) < 0 || in test_priority_unordered()
677 if (init(t, 2, 2) < 0 || in burst_packets()
786 if (init(t, 1, 4) < 0 || in abuse_inflights()
843 if (init(t, 1, 4) < 0 || in xstats_tests()
[all …]
/dpdk/lib/graph/
H A Dnode.c108 node->init = reg->init; in __rte_node_register()
171 reg->init = node->init; in rte_node_clone()
/dpdk/drivers/net/nfp/
H A Dnfp_logs.c10 RTE_LOG_REGISTER_SUFFIX(nfp_logtype_init, init, NOTICE);
/dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dinit.h41 int init(int argc, char *argv[]);
H A Dmeson.build14 'init.c',
/dpdk/examples/server_node_efd/efd_server/
H A Dinit.h45 int init(int argc, char *argv[]);
H A Dmeson.build11 sources += files('args.c', 'init.c', 'main.c')
/dpdk/drivers/raw/ifpga/base/
H A Difpga_port.c332 .init = port_hdr_init,
360 .init = port_stp_init,
405 .init = port_uint_init,
427 .init = port_afu_init,
H A Difpga_fme.c208 .init = fme_hdr_init,
509 .init = fme_thermal_mgmt_init,
755 .init = fme_power_mgmt_init,
773 .init = fme_hssi_eth_init,
789 .init = fme_emif_init,
1083 .init = fme_spi_init,
1286 .init = fme_nios_spi_init,
1371 .init = fme_i2c_init,
1410 .init = fme_eth_group_init,
1658 .init = fme_pmci_init,
/dpdk/app/test-pipeline/
H A Dmeson.build12 'init.c',
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_aesni_gcm.c12 ops[GCM_KEY_128].init = mb_mgr->gcm128_init; in aesni_gcm_set_ops()
28 ops[GCM_KEY_192].init = mb_mgr->gcm192_init; in aesni_gcm_set_ops()
44 ops[GCM_KEY_256].init = mb_mgr->gcm256_init; in aesni_gcm_set_ops()
323 ops->init(&session->gdata_key, &qp_data->gcm_ctx_data, iv_ptr, in process_gcm_crypto_op()
358 ops->init(&session->gdata_key, &qp_data->gcm_ctx_data, iv_ptr, in process_gcm_crypto_op()
574 ops.init(&s->gdata_key, gdata_ctx, iv, aad, in aesni_gcm_process_gcm_sgl_op()
604 ops.init(&s->gdata_key, gdata_ctx, iv, sgl->vec[0].base, in aesni_gcm_process_gmac_sgl_op()
717 if (unlikely(RTE_PER_LCORE(gcm_ops)[s->key_length].init == NULL)) in aesni_gcm_process_bulk()
/dpdk/examples/qos_sched/
H A Dmeson.build16 'init.c',
/dpdk/lib/eventdev/
H A Devent_timer_adapter_pmd.h61 rte_event_timer_adapter_init_t init; /**< Set up adapter */
65 rte_event_timer_adapter_init_t init; /**< Set up adapter */ global() member
/dpdk/lib/eal/include/
H A Drte_lcore.h256 * This function calls the init callback with all initialized lcores.
257 * Any error reported by the init callback triggers a rollback calling the
267 * @param init
269 * init can be NULL.
279 * error is returned by the init callback itself), returns NULL.
282 rte_lcore_callback_register(const char *name, rte_lcore_init_cb init,
315 * Note: as opposed to init/uninit callbacks, iteration callbacks can be
/dpdk/lib/node/
H A Dethdev_tx.c71 .init = ethdev_tx_node_init,

1234