Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/dpdk/app/test/
H A Dtest_member_perf.c228 data[type][i]); in timed_adds()
233 printf(" value=%d, type: %d\n", data[type][i], type); in timed_adds()
269 if (result != data[type][j]) in timed_lookups()
345 "type %d\n", ret, type); in timed_lookups_multimatch()
347 if (type == HT && ret == 0) { in timed_lookups_multimatch()
388 params->setsum[type], in timed_lookups_multimatch_bulk()
430 if (type == VBF) in timed_deletes()
435 data[type][i]); in timed_deletes()
436 if (type != CACHE && ret < 0) { in timed_deletes()
460 data[type][i]); in timed_miss_lookup()
[all …]
H A Dtest_cmdline_num.c222 switch (type) { in can_parse_unsigned()
260 switch (type) { in can_parse_signed()
370 enum cmdline_numtype type; in test_parse_num_invalid_data() local
378 for (type = RTE_UINT8; type <= RTE_INT64; type++) { in test_parse_num_invalid_data()
379 token.num_data.type = type; in test_parse_num_invalid_data()
417 for (type = RTE_UINT8; type <= RTE_INT64; type++) { in test_parse_num_valid()
418 token.num_data.type = type; in test_parse_num_valid()
470 switch (type) { in test_parse_num_valid()
495 for (type = RTE_UINT8; type <= RTE_INT64; type++) { in test_parse_num_valid()
496 token.num_data.type = type; in test_parse_num_valid()
[all …]
H A Dtest_cryptodev_security_ipsec.h100 enum rte_crypto_sym_xform_type type; member
113 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
118 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
123 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
131 .type = RTE_CRYPTO_SYM_XFORM_CIPHER,
164 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
168 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
174 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
180 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
186 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
[all …]
H A Dtest_cryptodev_security_ipsec_test_vectors.h113 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
212 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
314 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
430 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
521 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
633 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
738 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
846 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
951 .type = RTE_CRYPTO_SYM_XFORM_AUTH,
1052 .type = RTE_CRYPTO_SYM_XFORM_AEAD,
[all …]
H A Dtest_crc.c53 enum rte_net_crc_type type) in crc_calc() argument
56 uint32_t ret = rte_net_crc_calc(vec, vec_len, type); in crc_calc()
68 enum rte_net_crc_type type; in test_crc_calc() local
74 type = RTE_NET_CRC32_ETH; in test_crc_calc()
76 result = crc_calc(crc_vec, CRC_VEC_LEN, type); in test_crc_calc()
86 result = crc_calc(test_data, CRC32_VEC_LEN1, type); in test_crc_calc()
96 result = crc_calc(test_data, CRC32_VEC_LEN2, type); in test_crc_calc()
103 type = RTE_NET_CRC16_CCITT; in test_crc_calc()
104 result = crc_calc(crc_vec, CRC_VEC_LEN, type); in test_crc_calc()
110 result = crc_calc(crc16_vec1, CRC16_VEC_LEN1, type); in test_crc_calc()
[all …]
/dpdk/lib/cryptodev/
H A Drte_crypto.h89 uint8_t type; member
155 op->type = type; in __rte_crypto_op_reset()
159 switch (type) { in __rte_crypto_op_reset()
176 enum rte_crypto_op_type type; member
238 enum rte_crypto_op_type type, in __rte_crypto_op_raw_bulk_alloc() argument
244 if (unlikely(priv->type != type && in __rte_crypto_op_raw_bulk_alloc()
245 priv->type != RTE_CRYPTO_OP_TYPE_UNDEFINED)) in __rte_crypto_op_raw_bulk_alloc()
274 __rte_crypto_op_reset(op, type); in rte_crypto_op_alloc()
296 enum rte_crypto_op_type type, in rte_crypto_op_bulk_alloc() argument
306 __rte_crypto_op_reset(ops[i], type); in rte_crypto_op_bulk_alloc()
[all …]
/dpdk/lib/telemetry/
H A Dtelemetry_data.c19 d->type = array_types[type]; in rte_tel_data_start_array()
27 d->type = RTE_TEL_DICT; in rte_tel_data_start_dict()
35 d->type = RTE_TEL_STRING; in rte_tel_data_string()
102 if (d->type != RTE_TEL_DICT) in rte_tel_data_add_dict_string()
108 e->type = RTE_TEL_STRING_VAL; in rte_tel_data_add_dict_string()
121 if (d->type != RTE_TEL_DICT) in rte_tel_data_add_dict_int()
127 e->type = RTE_TEL_INT_VAL; in rte_tel_data_add_dict_int()
138 if (d->type != RTE_TEL_DICT) in rte_tel_data_add_dict_u64()
144 e->type = RTE_TEL_U64_VAL; in rte_tel_data_add_dict_u64()
156 if (d->type != RTE_TEL_DICT || (val->type != RTE_TEL_ARRAY_U64 in rte_tel_data_add_dict_container()
[all …]
/dpdk/lib/eal/windows/include/sys/
H A Dqueue.h141 #define QUEUE_TYPEOF(type) type argument
143 #define QUEUE_TYPEOF(type) struct type argument
149 #define SLIST_HEAD(name, type) \ argument
162 #define SLIST_ENTRY(type) \ argument
167 #define SLIST_CLASS_ENTRY(type) \ argument
281 #define STAILQ_HEAD(name, type) \ argument
296 #define STAILQ_ENTRY(type) \ argument
414 #define LIST_HEAD(name, type) \ argument
427 #define LIST_ENTRY(type) \ argument
433 #define LIST_CLASS_ENTRY(type) \ argument
[all …]
/dpdk/
H A Dmeson_options.txt3 option('check_includes', type: 'boolean', value: false, description:
5 option('cpu_instruction_set', type: 'string', value: 'auto',
7 option('developer_mode', type: 'feature', description:
9 option('disable_drivers', type: 'string', value: '', description:
11 option('disable_libs', type: 'string', value: '', description:
17 option('enable_drivers', type: 'string', value: '', description:
23 option('examples', type: 'string', value: '', description:
25 option('flexran_sdk', type: 'string', value: '', description:
31 option('kernel_dir', type: 'string', value: '', description:
33 option('machine', type: 'string', value: 'auto', description:
[all …]
/dpdk/lib/eal/windows/include/
H A Drte_os.h24 #define RTE_TAILQ_HEAD(name, type) \ argument
26 struct type *tqh_first; \
27 struct type **tqh_last; \
29 #define RTE_TAILQ_ENTRY(type) \ argument
31 struct type *tqe_next; \
32 struct type **tqe_prev; \
40 #define RTE_STAILQ_HEAD(name, type) \ argument
42 struct type *stqh_first; \
43 struct type **stqh_last; \
45 #define RTE_STAILQ_ENTRY(type) \ argument
[all …]
/dpdk/drivers/net/netvsc/
H A Dhn_nvs.h71 uint32_t type; member
75 uint32_t type; /* NVS_TYPE_INIT */ member
82 uint32_t type; /* NVS_TYPE_INIT_RESP */ member
90 uint32_t type; /* NVS_TYPE_NDIS_CONF */ member
102 uint32_t type; /* NVS_TYPE_NDIS_INIT */ member
125 uint32_t type; /* NVS_TYPE_RXBUF_CONN */ member
153 uint32_t type; /* NVS_TYPE_CHIM_CONN */ member
175 uint32_t type; /* NVS_TYPE_SUBCH_REQ */ member
182 uint32_t type; /* NVS_TYPE_SUBCH_RESP */ member
189 uint32_t type; /* NVS_TYPE_RNDIS */ member
[all …]
H A Drndis.h133 uint32_t type; member
143 uint32_t type; member
222 uint32_t type; member
233 uint32_t type; member
242 uint32_t type; member
264 uint32_t type; member
274 uint32_t type; member
288 uint32_t type; member
305 uint32_t type; member
319 uint32_t type; member
[all …]
/dpdk/lib/eal/include/
H A Drte_log.h371 #define RTE_LOG_REGISTER_IMPL(type, name, level) \ argument
372 int type; \
373 RTE_INIT(__##type) \
375 type = rte_log_register_type_and_pick_level(name, RTE_LOG_##level); \
377 type = RTE_LOGTYPE_EAL; \
396 #define RTE_LOG_REGISTER(type, name, level) \ argument
397 RTE_LOG_REGISTER_IMPL(type, RTE_STR(name), level)
406 #define RTE_LOG_REGISTER_DEFAULT(type, level) \ argument
407 RTE_LOG_REGISTER_IMPL(type, RTE_STR(RTE_LOG_DEFAULT_LOGTYPE), level)
416 #define RTE_LOG_REGISTER_SUFFIX(type, suffix, level) \ argument
[all …]
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_cfg.c26 __rte_unused enum func_type type) in hinic_parse_shared_res_cap() argument
51 enum func_type type) in hinic_parse_l2nic_res_cap() argument
55 if (type == TYPE_PF || type == TYPE_PPF) { in hinic_parse_l2nic_res_cap()
110 enum func_type type) in hinic_parse_pub_res_cap() argument
119 if (type == TYPE_PF || type == TYPE_PPF) { in hinic_parse_pub_res_cap()
154 enum func_type type) in parse_dev_cap() argument
162 if (type == TYPE_PPF) in parse_dev_cap()
188 parse_dev_cap(dev, &dev_cap, type); in get_cap_from_fw()
219 switch (type) { in get_dev_cap()
222 err = get_cap_from_fw(dev, type); in get_dev_cap()
[all …]
/dpdk/drivers/net/hns3/
H A Dhns3_mp.c30 enum hns3_mp_req_type type) in mp_init_msg() argument
37 param->type = type; in mp_init_msg()
86 switch (param->type) { in mp_secondary_handle()
126 type == HNS3_MP_REQ_STOP_RXTX || in mp_req_type_is_valid()
127 type == HNS3_MP_REQ_START_TX || in mp_req_type_is_valid()
128 type == HNS3_MP_REQ_STOP_TX; in mp_req_type_is_valid()
155 if (!mp_req_type_is_valid(type)) { in mp_req_on_rxtx()
157 dev->data->port_id, type); in mp_req_on_rxtx()
160 mp_init_msg(dev, &mp_req, type); in mp_req_on_rxtx()
166 dev->data->port_id, type); in mp_req_on_rxtx()
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c625 MAC_TYPE_FILTER_SUP_EXT(hw->mac.type); in ixgbe_parse_ntuple_filter()
865 MAC_TYPE_FILTER_SUP(hw->mac.type); in ixgbe_parse_ethertype_filter()
1154 MAC_TYPE_FILTER_SUP(hw->mac.type); in ixgbe_parse_syn_filter()
1363 if (hw->mac.type != ixgbe_mac_X550 && in ixgbe_parse_l2_tn_filter()
1364 hw->mac.type != ixgbe_mac_X550EM_x && in ixgbe_parse_l2_tn_filter()
1365 hw->mac.type != ixgbe_mac_X550EM_a) { in ixgbe_parse_l2_tn_filter()
1712 if (eth_mask->type || in ixgbe_parse_fdir_filter_normal()
2645 if (eth_mask->type) { in ixgbe_parse_fdir_filter_tunnel()
2764 hw->mac.type != ixgbe_mac_X540 && in ixgbe_parse_fdir_filter()
2765 hw->mac.type != ixgbe_mac_X550 && in ixgbe_parse_fdir_filter()
[all …]
H A Dixgbe_tm.c151 error->type = RTE_TM_ERROR_TYPE_NONE; in ixgbe_tm_capabilities_get()
468 error->type = RTE_TM_ERROR_TYPE_NODE_ID; in ixgbe_node_param_check()
501 error->type = in ixgbe_node_param_check()
507 error->type = in ixgbe_node_param_check()
513 error->type = in ixgbe_node_param_check()
531 error->type = in ixgbe_node_param_check()
537 error->type = in ixgbe_node_param_check()
543 error->type = in ixgbe_node_param_check()
593 error->type = RTE_TM_ERROR_TYPE_NODE_ID; in ixgbe_node_add()
603 error->type = in ixgbe_node_add()
[all …]
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_mp_os.c41 switch (param->type) { in mlx5_mp_os_handle_port_agnostic()
43 mp_init_port_agnostic_msg(&mp_res, param->type); in mlx5_mp_os_handle_port_agnostic()
50 mp_init_port_agnostic_msg(&mp_res, param->type); in mlx5_mp_os_handle_port_agnostic()
91 switch (param->type) { in mlx5_mp_os_primary_handle()
169 switch (param->type) { in mlx5_mp_os_secondary_handle()
234 if (type != MLX5_MP_REQ_START_RXTX && type != MLX5_MP_REQ_STOP_RXTX) { in mp_req_on_rxtx()
236 dev->data->port_id, type); in mp_req_on_rxtx()
239 mp_init_msg(&priv->mp_id, &mp_req, type); in mp_req_on_rxtx()
240 if (type == MLX5_MP_REQ_START_RXTX) { in mp_req_on_rxtx()
249 dev->data->port_id, type); in mp_req_on_rxtx()
[all …]
/dpdk/drivers/net/dpaa2/base/
H A Ddpaa2_hw_dpni.c233 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
247 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
263 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
279 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
296 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
313 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
323 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
333 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
356 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
366 kg_cfg->extracts[i].type = in dpaa2_distset_to_dpkg_profile_cfg()
[all …]
/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_device_p58.c450 switch (parms->type) { in tf_dev_p58_get_shared_tbl_increment()
491 switch (type) { in tf_dev_p58_is_sram_managed()
550 parms.subtype = type; in tf_dev_p58_get_sram_tbl_info()
716 uint8_t type; in tf_dev_p58_set_sram_policy() local
720 type <= TF_TBL_TYPE_ACT_MODIFY_64B; type++) { in tf_dev_p58_set_sram_policy()
724 rm_cfg[type].hcapi_type = sram_bank_hcapi_type[bank_id[type]]; in tf_dev_p58_set_sram_policy()
726 parent[bank_id[type]] = type; in tf_dev_p58_set_sram_policy()
733 rm_cfg[type].parent_subtype = parent[bank_id[type]]; in tf_dev_p58_set_sram_policy()
757 uint8_t type; in tf_dev_p58_get_sram_policy() local
760 type < TF_TBL_TYPE_ACT_MODIFY_64B + 1; type++) in tf_dev_p58_get_sram_policy()
[all …]
/dpdk/drivers/net/mlx4/
H A Dmlx4_utils.c53 mlx4_mallocv_inline(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_mallocv_inline() argument
84 data = rte_malloc_socket(type, size, least, socket); in mlx4_mallocv_inline()
86 data = rte_zmalloc_socket(type, size, least, socket); in mlx4_mallocv_inline()
138 mlx4_mallocv(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_mallocv() argument
141 return mlx4_mallocv_inline(type, vec, cnt, 0, SOCKET_ID_ANY); in mlx4_mallocv()
151 mlx4_zmallocv(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_zmallocv() argument
154 return mlx4_mallocv_inline(type, vec, cnt, 1, SOCKET_ID_ANY); in mlx4_zmallocv()
170 mlx4_mallocv_socket(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_mallocv_socket() argument
173 return mlx4_mallocv_inline(type, vec, cnt, 0, socket); in mlx4_mallocv_socket()
184 mlx4_zmallocv_socket(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_zmallocv_socket() argument
[all …]
/dpdk/drivers/raw/cnxk_bphy/
H A Drte_pmd_bphy.h110 enum cnxk_bphy_cgx_msg_type type; member
138 enum cnxk_bphy_irq_msg_type type; member
194 .type = CNXK_BPHY_IRQ_MSG_TYPE_INIT, in rte_pmd_bphy_intr_init()
205 .type = CNXK_BPHY_IRQ_MSG_TYPE_FINI, in rte_pmd_bphy_intr_fini()
224 .type = CNXK_BPHY_IRQ_MSG_TYPE_REGISTER, in rte_pmd_bphy_intr_register()
239 .type = CNXK_BPHY_IRQ_MSG_TYPE_UNREGISTER, in rte_pmd_bphy_intr_unregister()
251 .type = CNXK_BPHY_IRQ_MSG_TYPE_MEM_GET, in rte_pmd_bphy_intr_mem_get()
262 .type = CNXK_BPHY_MSG_TYPE_NPA_PF_FUNC, in rte_pmd_bphy_npa_pf_func_get()
273 .type = CNXK_BPHY_MSG_TYPE_SSO_PF_FUNC, in rte_pmd_bphy_sso_pf_func_get()
371 .type = CNXK_BPHY_CGX_MSG_TYPE_STOP_RXTX, in rte_pmd_bphy_cgx_stop_rxtx()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_flow.c83 if (next->type != RTE_FLOW_ITEM_TYPE_VOID) in next_no_void_pattern()
97 if (next->type != RTE_FLOW_ACTION_TYPE_VOID) in next_no_void_action()
204 item->type != RTE_FLOW_ITEM_TYPE_IPV6) { in cons_parse_ntuple_filter()
206 item->type == RTE_FLOW_ITEM_TYPE_END) { in cons_parse_ntuple_filter()
217 item->type == RTE_FLOW_ITEM_TYPE_IPV6); in cons_parse_ntuple_filter()
224 if (item->type != RTE_FLOW_ITEM_TYPE_ETH && in cons_parse_ntuple_filter()
232 if (item->type == RTE_FLOW_ITEM_TYPE_ETH) { in cons_parse_ntuple_filter()
256 item->type != RTE_FLOW_ITEM_TYPE_VLAN) { in cons_parse_ntuple_filter()
1640 if (eth_mask->type || in txgbe_parse_fdir_filter_normal()
2367 if (eth_mask->type) { in txgbe_parse_fdir_filter_tunnel()
[all …]
/dpdk/drivers/net/cnxk/
H A Dcnxk_flow.c129 switch (actions->type) { in cnxk_map_actions()
152 in_actions[i].type = ROC_NPC_ACTION_TYPE_PF; in cnxk_map_actions()
156 in_actions[i].type = ROC_NPC_ACTION_TYPE_VF; in cnxk_map_actions()
206 in_actions[i].type = ROC_NPC_ACTION_TYPE_RSS; in cnxk_map_actions()
212 in_actions[i].type = ROC_NPC_ACTION_TYPE_SEC; in cnxk_map_actions()
223 in_actions[i].type = in cnxk_map_actions()
228 in_actions[i].type = in cnxk_map_actions()
238 actions->type); in cnxk_map_actions()
243 in_actions[i].type = ROC_NPC_ACTION_TYPE_END; in cnxk_map_actions()
269 in_pattern[i].type = term[pattern->type].item_type; in cnxk_map_flow_data()
[all …]
/dpdk/lib/bpf/
H A Dbpf_exec.c19 ((type)(reg)[(ins)->dst_reg] op (type)(reg)[(ins)->src_reg]) ? \
24 ((type)(reg)[(ins)->dst_reg] op (type)(ins)->imm) ? \
27 #define BPF_NEG_ALU(reg, ins, type) \ argument
35 (type)(reg)[(ins)->dst_reg] op (type)(reg)[(ins)->src_reg])
42 (type)(reg)[(ins)->dst_reg] op (type)(ins)->imm)
54 #define BPF_LD_REG(reg, ins, type) \ argument
58 #define BPF_ST_IMM(reg, ins, type) \ argument
60 (type)(ins)->imm)
64 (type)(reg)[(ins)->src_reg])
76 const type *p = bpf_ld_mbuf(bpf, reg, ins, (ins)->imm, sizeof(type)); \
[all …]

12345678910>>...42