| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_tcam_shared.c | 250 int rc, dir; in tf_tcam_shared_bind() local 288 for (dir = 0; dir < TF_DIR_MAX; dir++) { in tf_tcam_shared_bind() 293 dir, in tf_tcam_shared_bind() 396 for (dir = 0; dir < TF_DIR_MAX; dir++) { in tf_tcam_shared_unbind() 403 dir, in tf_tcam_shared_unbind() 447 parms.dir = dir; in tf_tcam_shared_unbind() 762 nparms.dir = parms->dir; in tf_tcam_shared_set() 944 gparms.dir = dir; in tf_tcam_shared_move_entry() 970 sparms.dir = dir; in tf_tcam_shared_move_entry() 993 fparms.dir = dir; in tf_tcam_shared_move_entry() [all …]
|
| H A D | tf_tbl_sram.c | 221 iparms.dir = parms->dir; in tf_tbl_sram_alloc() 234 aparms.dir = parms->dir; in tf_tbl_sram_alloc() 255 dparms.dir = parms->dir; in tf_tbl_sram_alloc() 306 iparms.dir = parms->dir; in tf_tbl_sram_free() 326 dparms.dir = parms->dir; in tf_tbl_sram_free() 337 aparms.dir = parms->dir; in tf_tbl_sram_free() 357 fparms.dir = parms->dir; in tf_tbl_sram_free() 379 dparms.dir = parms->dir; in tf_tbl_sram_free() 433 iparms.dir = parms->dir; in tf_tbl_sram_set() 569 iparms.dir = parms->dir; in tf_tbl_sram_get() [all …]
|
| H A D | tf_core.c | 463 aparms.dir = parms->dir; in tf_alloc_identifier() 523 fparms.dir = parms->dir; in tf_free_identifier() 582 sparms.dir = parms->dir; in tf_search_identifier() 641 sparms.dir = parms->dir; in tf_search_tcam_entry() 714 aparms.dir = parms->dir; in tf_alloc_tcam_entry() 776 sparms.dir = parms->dir; in tf_set_tcam_entry() 840 gparms.dir = parms->dir; in tf_get_tcam_entry() 905 fparms.dir = parms->dir; in tf_free_tcam_entry() 1059 aparms.dir = parms->dir; in tf_alloc_tbl_entry() 1141 fparms.dir = parms->dir; in tf_free_tbl_entry() [all …]
|
| H A D | tf_em_host.c | 290 int dir) in tf_em_ctx_unreg() argument 325 int dir) in tf_em_ctx_reg() argument 367 enum tf_dir dir; in tf_em_ext_alloc() local 432 for (dir = 0; dir < TF_DIR_MAX; dir++) { in tf_em_ext_alloc() 434 dir, in tf_em_ext_alloc() 451 for (dir = 0; dir < TF_DIR_MAX; dir++) { in tf_em_ext_alloc() 472 dir); in tf_em_ext_alloc() 482 dir, in tf_em_ext_alloc() 541 enum tf_dir dir; in tf_em_ext_free() local 581 for (dir = 0; dir < TF_DIR_MAX; dir++) { in tf_em_ext_free() [all …]
|
| H A D | tf_tcam.c | 106 db_cfg.dir = d; in tf_tcam_bind() 192 fparms.dir = i; in tf_tcam_bind() 233 fparms.dir = i; in tf_tcam_unbind() 284 tf_dir_2_str(parms->dir), in tf_tcam_alloc() 370 tf_dir_2_str(parms->dir), in tf_tcam_free() 386 tf_dir_2_str(parms->dir), in tf_tcam_free() 413 tf_dir_2_str(parms->dir), in tf_tcam_free() 481 tf_dir_2_str(parms->dir), in tf_tcam_free() 569 aparms.dir = parms->dir; in tf_tcam_alloc_search() 579 bparms.dir = parms->dir; in tf_tcam_alloc_search() [all …]
|
| H A D | tf_tbl.c | 63 db_cfg.dir = d; in tf_tbl_bind() 106 fparms.dir = i; in tf_tbl_unbind() 159 tf_dir_2_str(parms->dir), in tf_tbl_alloc() 215 tf_dir_2_str(parms->dir), in tf_tbl_free() 243 parms->dir, in tf_tbl_free() 266 tf_dir_2_str(parms->dir), in tf_tbl_free() 342 tf_dir_2_str(parms->dir), in tf_tbl_set() 349 parms->dir, in tf_tbl_set() 419 tf_dir_2_str(parms->dir), in tf_tbl_get() 441 parms->dir, in tf_tbl_get() [all …]
|
| H A D | tf_core.h | 982 enum tf_dir dir; member 1000 enum tf_dir dir; member 1023 enum tf_dir dir; member 1279 enum tf_dir dir; member 1367 enum tf_dir dir; member 1440 enum tf_dir dir; member 1490 enum tf_dir dir; member 1540 enum tf_dir dir; member 1579 enum tf_dir dir; member 1612 enum tf_dir dir; member [all …]
|
| H A D | tf_msg.c | 380 enum tf_dir dir, in tf_msg_session_resc_qcaps() argument 456 enum tf_dir dir, in tf_msg_session_resc_alloc() argument 563 enum tf_dir dir, in tf_msg_session_resc_info() argument 669 enum tf_dir dir, in tf_msg_session_resc_flush() argument 1297 int dir, in tf_msg_em_qcaps() argument 1366 int dir) in tf_msg_em_cfg() argument 1427 enum tf_dir dir) in tf_msg_ext_em_cfg() argument 1498 int dir, in tf_msg_em_op() argument 1750 enum tf_dir dir, in tf_msg_set_tbl_entry() argument 1834 enum tf_dir dir, in tf_msg_get_tbl_entry() argument [all …]
|
| H A D | tf_msg.h | 169 enum tf_dir dir, 198 enum tf_dir dir, 226 enum tf_dir dir, 250 enum tf_dir dir, 456 int dir, 498 int dir); 530 enum tf_dir dir); 548 int dir, 624 enum tf_dir dir, 655 enum tf_dir dir, [all …]
|
| H A D | tf_identifier.c | 70 db_cfg.dir = i; in tf_ident_bind() 129 fparms.dir = i; in tf_ident_unbind() 177 aparms.rm_db = ident_db->ident_db[parms->dir]; in tf_ident_alloc() 185 tf_dir_2_str(parms->dir), in tf_ident_alloc() 199 tf_dir_2_str(parms->dir), in tf_ident_alloc() 247 tf_dir_2_str(parms->dir), in tf_ident_free() 264 tf_dir_2_str(parms->dir), in tf_ident_free() 282 tf_dir_2_str(parms->dir), in tf_ident_free() 308 tf_dir_2_str(parms->dir)); in tf_ident_search() 334 tf_dir_2_str(parms->dir), in tf_ident_search() [all …]
|
| H A D | tf_em_hash_internal.c | 59 pool = (struct dpool *)tfs->em_pool[parms->dir]; in tf_em_hash_insert_int_entry() 67 tf_dir_2_str(parms->dir)); in tf_em_hash_insert_int_entry() 101 parms->dir); in tf_em_hash_insert_int_entry() 132 tf_dir_2_str(parms->dir), in tf_em_hash_delete_int_entry() 141 pool = (struct dpool *)tfs->em_pool[parms->dir]; in tf_em_hash_delete_int_entry() 167 tf_dir_2_str(parms->dir), in tf_em_move_int_entry() 176 pool = (struct dpool *)tfs->em_pool[parms->dir]; in tf_em_move_int_entry()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_fc_mgr.c | 247 enum tf_dir dir, in ulp_bulk_get_flow_stats() argument 258 parms.dir = dir; in ulp_bulk_get_flow_stats() 274 parms.starting_idx, dir); in ulp_bulk_get_flow_stats() 332 parms.dir = res->direction; in ulp_fc_tf_flow_stat_get() 353 sparms.dir = res->direction; in ulp_fc_tf_flow_stat_get() 371 enum tf_dir dir, in ulp_get_single_flow_stat() argument 382 parms.dir = dir; in ulp_get_single_flow_stat() 686 enum tf_dir dir; in ulp_fc_mgr_query_count_get() local 728 dir = params.direction; in ulp_fc_mgr_query_count_get() 741 ulp_fc_info->shadow_hw_tbl[dir].start_idx; in ulp_fc_mgr_query_count_get() [all …]
|
| /dpdk/drivers/bus/auxiliary/linux/ |
| H A D | auxiliary.c | 84 DIR *dir; in auxiliary_dev_exists() local 89 dir = opendir(dirname); in auxiliary_dev_exists() 90 if (dir == NULL) in auxiliary_dev_exists() 92 closedir(dir); in auxiliary_dev_exists() 103 DIR *dir; in auxiliary_scan() local 107 dir = opendir(AUXILIARY_SYSFS_PATH); in auxiliary_scan() 108 if (dir == NULL) { in auxiliary_scan() 114 while ((e = readdir(dir)) != NULL) { in auxiliary_scan() 135 closedir(dir); in auxiliary_scan() 139 closedir(dir); in auxiliary_scan()
|
| /dpdk/devtools/ |
| H A D | parse-flow-support.sh | 8 dir=$1 # drivers/net/foo 11 if [ -z "$dir" ]; then 22 case $(basename $dir) in 25 $dir/tf_ulp/ulp_rte_handler_tbl.c | 37 case $(basename $dir) in 45 git grep -who "$2[[:alnum:]_]*" $dir |
|
| /dpdk/app/test-pmd/ |
| H A D | bpf_cmd.c | 57 cmdline_fixed_string_t dir; member 108 if (strcmp(res->dir, "rx") == 0) { in cmd_operate_bpf_ld_parsed() 112 } else if (strcmp(res->dir, "tx") == 0) { in cmd_operate_bpf_ld_parsed() 117 fprintf(stderr, "invalid value: %s\n", res->dir); in cmd_operate_bpf_ld_parsed() 125 dir, "rx#tx"); 155 cmdline_fixed_string_t dir; member 168 if (strcmp(res->dir, "rx") == 0) in cmd_operate_bpf_unld_parsed() 170 else if (strcmp(res->dir, "tx") == 0) in cmd_operate_bpf_unld_parsed() 173 fprintf(stderr, "invalid value: %s\n", res->dir); in cmd_operate_bpf_unld_parsed() 181 dir, "rx#tx");
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_common_auxiliary.c | 25 DIR *dir; in mlx5_auxiliary_get_child_name() local 29 dir = opendir(path); in mlx5_auxiliary_get_child_name() 30 if (dir == NULL) { in mlx5_auxiliary_get_child_name() 35 while ((dent = readdir(dir)) != NULL) { in mlx5_auxiliary_get_child_name() 39 closedir(dir); in mlx5_auxiliary_get_child_name() 55 char *dir; in mlx5_auxiliary_get_pci_path() local 61 dir = dirname(sysfs_real); in mlx5_auxiliary_get_pci_path() 62 if (dir == NULL) { in mlx5_auxiliary_get_pci_path() 66 if (rte_strscpy(sysfs_pci, dir, size) < 0) in mlx5_auxiliary_get_pci_path()
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_hugepage_info.c | 314 DIR *dir; in walk_hugedir() local 320 if (!dir) { in walk_hugedir() 325 dir_fd = dirfd(dir); in walk_hugedir() 327 dirent = readdir(dir); in walk_hugedir() 366 closedir(dir); in walk_hugedir() 370 if (dir) in walk_hugedir() 371 closedir(dir); in walk_hugedir() 481 DIR *dir; in hugepage_info_init() local 487 if (dir == NULL) { in hugepage_info_init() 494 for (dirent = readdir(dir); dirent != NULL; dirent = readdir(dir)) { in hugepage_info_init() [all …]
|
| /dpdk/drivers/common/dpaax/caamflib/desc/ |
| H A D | algo.h | 53 OP_ALG_AS_INITFINAL, 0, dir); in cnstr_shdsc_zuce() 150 OP_ALG_AS_INITFINAL, 0, dir); in cnstr_shdsc_snow_f8() 176 iv[12] = iv[4] | dir; in conv_to_zuc_eia_iv() 293 uint32_t ivlen, uint8_t dir) in cnstr_shdsc_blkcipher() argument 329 ICV_CHECK_DISABLE, dir); in cnstr_shdsc_blkcipher() 391 uint8_t storelen, opicv, dir; in cnstr_shdsc_hmac() local 424 dir = do_icv ? DIR_DEC : DIR_ENC; in cnstr_shdsc_hmac() 495 uint8_t storelen, opicv, dir; in cnstr_shdsc_hash() local 524 dir = do_icv ? DIR_DEC : DIR_ENC; in cnstr_shdsc_hash() 902 uint8_t opicv, dir; in cnstr_shdsc_aes_mac() local [all …]
|
| H A D | pdcp.h | 331 unsigned int dir, in pdcp_insert_cplane_null_op() argument 755 unsigned int dir, in pdcp_insert_uplane_snow_snow_op() argument 773 PROTOCOL(p, dir, pclid, in pdcp_insert_uplane_snow_snow_op() 888 PROTOCOL(p, dir, pclid, in pdcp_insert_uplane_zuc_zuc_op() 1114 unsigned int dir, in pdcp_insert_cplane_acc_op() argument 1382 PROTOCOL(p, dir, pclid, in pdcp_insert_cplane_aes_snow_op() 1494 PROTOCOL(p, dir, pclid, in pdcp_insert_cplane_snow_zuc_op() 1596 PROTOCOL(p, dir, pclid, in pdcp_insert_cplane_aes_zuc_op() 1703 PROTOCOL(p, dir, pclid, in pdcp_insert_cplane_zuc_snow_op() 1954 unsigned int dir, in pdcp_insert_uplane_no_int_op() argument [all …]
|
| /dpdk/app/test/ |
| H A D | process.h | 73 DIR *dir; in process_dup() local 79 dir = opendir(procdir); in process_dup() 80 if (dir == NULL) { in process_dup() 85 fdir = dirfd(dir); in process_dup() 88 closedir(dir); in process_dup() 94 while ((dirent = readdir(dir)) != NULL) { in process_dup() 113 closedir(dir); in process_dup()
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_device.c | 178 DIR *dir; in fsdev_find_all_devs() local 184 dir = opendir(path); in fsdev_find_all_devs() 185 if (dir == NULL) { in fsdev_find_all_devs() 190 while ((entry = readdir(dir)) != NULL) { in fsdev_find_all_devs() 198 closedir(dir); in fsdev_find_all_devs() 211 DIR *dir; in fsdev_find_sub_dir() local 214 dir = opendir(path); in fsdev_find_sub_dir() 215 if (dir == NULL) { in fsdev_find_sub_dir() 220 while ((entry = readdir(dir)) != NULL) { in fsdev_find_sub_dir() 223 closedir(dir); in fsdev_find_sub_dir() [all …]
|
| /dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_bus.c | 122 DIR *dir; in vmbus_get_uio_dev() local 128 dir = opendir(dirname); in vmbus_get_uio_dev() 129 if (dir == NULL) in vmbus_get_uio_dev() 133 while ((e = readdir(dir)) != NULL) { in vmbus_get_uio_dev() 148 closedir(dir); in vmbus_get_uio_dev() 346 DIR *dir; in rte_vmbus_scan() local 348 dir = opendir(SYSFS_VMBUS_DEVICES); in rte_vmbus_scan() 349 if (dir == NULL) { in rte_vmbus_scan() 358 while ((e = readdir(dir)) != NULL) { in rte_vmbus_scan() 365 closedir(dir); in rte_vmbus_scan() [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_trace_utils.c | 127 remaining = sizeof(trace->dir) - trace->dir_offset; in trace_dir_update() 128 rc = rte_strscpy(&trace->dir[0] + trace->dir_offset, str, remaining); in trace_dir_update() 251 if (strlen(val) >= sizeof(trace->dir) - 1) { in eal_trace_dir_args_save() 293 uint32_t size = sizeof(trace->dir); in trace_dir_default_path_get() 324 dir_path = calloc(1, sizeof(trace->dir)); in trace_mkdir() 344 rc = mkdir(trace->dir, 0700); in trace_mkdir() 346 trace_err("mkdir %s failed [%s]", trace->dir, strerror(errno)); in trace_mkdir() 358 rc = mkdir(trace->dir, 0700); in trace_mkdir() 360 trace_err("mkdir %s failed [%s]", trace->dir, strerror(errno)); in trace_mkdir() 365 RTE_LOG(INFO, EAL, "Trace dir: %s\n", trace->dir); in trace_mkdir() [all …]
|
| /dpdk/drivers/raw/ioat/ |
| H A D | dpdk_idxd_cfg.py | 50 for dir in dirs: 51 if pci in dir: 52 return os.path.join(base_dir, dir) 60 for dir in dirs: 61 if dir.startswith('dsa') and 'wq' not in dir: 62 return int(dir[3:])
|
| /dpdk/drivers/dma/idxd/ |
| H A D | dpdk_idxd_cfg.py | 50 for dir in dirs: 51 if pci in dir: 52 return os.path.join(base_dir, dir) 60 for dir in dirs: 61 if dir.startswith('dsa') and 'wq' not in dir: 62 return int(dir[3:])
|