| /dpdk/drivers/net/ice/base/ |
| H A D | ice_flow.c | 1092 prof = params->prof; in ice_flow_proc_seg_hdrs() 1907 prof = p; in ice_flow_find_prof_conds() 1913 return prof; in ice_flow_find_prof_conds() 2255 *prof = params->prof; in ice_flow_add_prof_sync() 3446 e->prof = prof; in ice_flow_add_entry() 3508 prof = entry->prof; in ice_flow_rem_entry() 3510 if (prof) { in ice_flow_rem_entry() 4021 &prof->segs[prof->segs_cnt - 1]; in ice_rss_update_symm() 4222 if (prof) { in ice_add_rss_cfg_sync() 4236 if (prof) { in ice_add_rss_cfg_sync() [all …]
|
| H A D | ice_parser.c | 497 ice_memset(prof, 0, sizeof(*prof), ICE_NONDMA_MEM); in ice_parser_profile_init() 500 prof->flags = rslt->flags_sw; in ice_parser_profile_init() 506 prof->flags = rslt->flags_fd; in ice_parser_profile_init() 520 if (prof->fv_num >= 32) in ice_parser_profile_init() 523 prof->fv[prof->fv_num].proto_id = proto_id; in ice_parser_profile_init() 524 prof->fv[prof->fv_num].offset = proto_off; in ice_parser_profile_init() 525 prof->fv[prof->fv_num].spec = *(const u16 *)&pkt_buf[off]; in ice_parser_profile_init() 526 prof->fv[prof->fv_num].msk = *(const u16 *)&msk_buf[off]; in ice_parser_profile_init() 527 prof->fv_num++; in ice_parser_profile_init() 549 prof->fv[i].proto_id, prof->fv[i].offset, in ice_parser_profile_dump() [all …]
|
| H A D | ice_flex_pipe.c | 4122 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_clear_hw_tbls() local 4150 ice_memset(prof->t, 0, prof->count * sizeof(*prof->t), in ice_clear_hw_tbls() 4181 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_init_hw_tbls() local 4243 ice_calloc(hw, prof->count, sizeof(*prof->t)); in ice_init_hw_tbls() 4245 if (!prof->t) in ice_init_hw_tbls() 4939 prof->ptg[prof->ptg_cnt] = ptg; in ice_add_prof_attrib() 4941 &prof->attr[prof->ptg_cnt]); in ice_add_prof_attrib() 5058 if (!prof) in ice_add_prof() 5106 prof->ptg[prof->ptg_cnt] = ptg; in ice_add_prof() 5107 prof->attr[prof->ptg_cnt].flags = 0; in ice_add_prof() [all …]
|
| H A D | ice_parser.h | 110 struct ice_parser_profile *prof); 112 struct ice_parser_profile *prof);
|
| H A D | ice_flow.h | 455 struct ice_flow_prof *prof; member 504 struct ice_parser_profile prof; member 555 struct ice_flow_prof **prof); 560 struct ice_flow_prof *prof, u16 vsi_handle); 566 u16 fdir_vsi_handle, struct ice_parser_profile *prof,
|
| H A D | ice_flex_pipe.h | 28 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
|
| H A D | ice_flex_type.h | 968 struct ice_prof_tcam prof; member
|
| H A D | ice_switch.c | 2255 u8 i, prof, idx, prot = 0; in ice_get_recp_frm_fw() local 2275 prof = ice_find_first_bit(recipe_to_profile[idx], in ice_get_recp_frm_fw() 2293 if (ice_is_bit_set(hw->switch_info->prof_res_bm[prof], in ice_get_recp_frm_fw() 2299 ice_find_prot_off(hw, ICE_BLK_SW, prof, in ice_get_recp_frm_fw()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_bpf.c | 637 aq->prof.lmode = cfg->lmode; in roc_nix_bpf_config() 723 nix_lf_bpf_dump(&rsp->prof); in roc_nix_bpf_dump() 806 aq->prof.pc_mode = pc_mode; in roc_nix_bpf_pre_color_tbl_setup() 807 aq->prof.tnl_ena = tn_ena; in roc_nix_bpf_pre_color_tbl_setup() 841 aq->prof.hl_en = false; in roc_nix_bpf_connect() 844 aq->prof.hl_en = true; in roc_nix_bpf_connect() 972 aq->prof.green_pkt_pass = 0; in roc_nix_bpf_stats_reset() 1010 aq->prof.red_pkt_pass = 0; in roc_nix_bpf_stats_reset() 1014 aq->prof.red_octs_pass = 0; in roc_nix_bpf_stats_reset() 1018 aq->prof.red_pkt_drop = 0; in roc_nix_bpf_stats_reset() [all …]
|
| H A D | roc_mbox.h | 831 __io struct nix_band_prof_s prof; member 858 struct nix_band_prof_s prof; member
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_mtr.c | 78 struct mrvl_mtr_profile *prof; in mrvl_meter_profile_add() local 97 prof = mrvl_mtr_profile_from_id(priv, meter_profile_id); in mrvl_meter_profile_add() 98 if (prof) in mrvl_meter_profile_add() 103 prof = rte_zmalloc_socket(NULL, sizeof(*prof), 0, rte_socket_id()); in mrvl_meter_profile_add() 104 if (!prof) in mrvl_meter_profile_add() 109 prof->profile_id = meter_profile_id; in mrvl_meter_profile_add() 110 memcpy(&prof->profile, profile, sizeof(*profile)); in mrvl_meter_profile_add() 112 LIST_INSERT_HEAD(&priv->profiles, prof, next); in mrvl_meter_profile_add()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_hash.c | 654 struct ice_parser_profile prof; in ice_hash_parse_raw_pattern() local 722 pkt_len, ICE_BLK_RSS, true, &prof)) in ice_hash_parse_raw_pattern() 725 rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); in ice_hash_parse_raw_pattern() 1213 struct ice_parser_profile *prof = &cfg->prof; in ice_hash_add_raw_cfg() local 1224 if (rss_prof->prof.fv_num) { in ice_hash_add_raw_cfg() 1226 if (rss_prof->prof.fv[i].proto_id != in ice_hash_add_raw_cfg() 1227 prof->fv[i].proto_id || in ice_hash_add_raw_cfg() 1228 rss_prof->prof.fv[i].offset != in ice_hash_add_raw_cfg() 1229 prof->fv[i].offset) in ice_hash_add_raw_cfg() 1265 ice_memcpy(&rss_prof->prof, prof, in ice_hash_add_raw_cfg() [all …]
|
| H A D | ice_fdir_filter.c | 850 struct ice_flow_prof *prof; in ice_fdir_hw_tbl_conf() local 1339 pi->prof.fv[i].offset != in ice_fdir_create_filter() 1341 pi->prof.fv[i].msk != in ice_fdir_create_filter() 1342 filter->prof->fv[i].msk) in ice_fdir_create_filter() 1363 pi->prof.fv[i].proto_id = in ice_fdir_create_filter() 1365 pi->prof.fv[i].offset = in ice_fdir_create_filter() 1367 pi->prof.fv[i].msk = filter->prof->fv[i].msk; in ice_fdir_create_filter() 1465 rte_free(filter->prof); in ice_fdir_create_filter() 1515 rte_free(filter->prof); in ice_fdir_destroy_filter() 1944 if (!filter->prof) in ice_fdir_parse_pattern() [all …]
|
| H A D | ice_ethdev.h | 345 struct ice_parser_profile *prof; member 522 struct ice_parser_profile prof; member 530 struct ice_parser_profile prof; member
|
| /dpdk/app/test/ |
| H A D | test_pie.c | 729 struct rdtsc_prof *prof) in enqueue_dequeue_perf() argument 751 rdtsc_prof_start(prof); in enqueue_dequeue_perf() 754 rdtsc_prof_end(prof); in enqueue_dequeue_perf() 763 rdtsc_prof_start(prof); in enqueue_dequeue_perf() 765 rdtsc_prof_end(prof); in enqueue_dequeue_perf() 808 rdtsc_prof_init(&prof, "enqueue"); in perf_test() 831 &prof); in perf_test() 841 rdtsc_prof_print(&prof); in perf_test() 885 rdtsc_prof_init(&prof, "enqueue"); in perf_test2() 909 &prof); in perf_test2() [all …]
|
| H A D | test_red.c | 1215 struct rdtsc_prof *prof) in enqueue_dequeue_perf() argument 1226 rdtsc_prof_start(prof); in enqueue_dequeue_perf() 1228 rdtsc_prof_end(prof); in enqueue_dequeue_perf() 1294 struct rdtsc_prof prof = {0, 0, 0, 0, 0.0, NULL}; in perf1_test() local 1299 rdtsc_prof_init(&prof, "enqueue"); in perf1_test() 1332 &prof); in perf1_test() 1340 rdtsc_prof_print(&prof); in perf1_test() 1432 rdtsc_prof_init(&prof, "enqueue"); in perf2_test() 1484 rdtsc_prof_start(&prof); in perf2_test() 1487 rdtsc_prof_end(&prof); in perf2_test() [all …]
|