Searched refs:sparms (Results 1 – 9 of 9) sorted by relevance
560 sparms = parms->sparms; in tf_shadow_tcam_search()563 sparms->hit = 0; in tf_shadow_tcam_search()568 rcopy = sparms->result && sparms->result_size; in tf_shadow_tcam_search()583 !sparms->key || !sparms->mask || !len) { in tf_shadow_tcam_search()595 tkey[i] = sparms->key[i] & sparms->mask[i]; in tf_shadow_tcam_search()612 sparms->idx = 0; in tf_shadow_tcam_search()672 sparms->hit = 0; in tf_shadow_tcam_search()673 sparms->idx = 0; in tf_shadow_tcam_search()695 sparms = parms->sparms; in tf_shadow_tcam_insert()696 if (!sparms->result || !sparms->result_size) { in tf_shadow_tcam_insert()[all …]
582 sparms.dir = parms->dir; in tf_search_identifier()585 sparms.hit = &parms->hit; in tf_search_identifier()641 sparms.dir = parms->dir; in tf_search_tcam_entry()643 sparms.key = parms->key; in tf_search_tcam_entry()651 sparms.result_size = in tf_search_tcam_entry()664 parms->hit = sparms.hit; in tf_search_tcam_entry()667 parms->idx = sparms.idx; in tf_search_tcam_entry()776 sparms.dir = parms->dir; in tf_set_tcam_entry()778 sparms.idx = parms->idx; in tf_set_tcam_entry()779 sparms.key = parms->key; in tf_set_tcam_entry()[all …]
114 struct tf_shadow_ident_free_db_parms sparms = { 0 }; in tf_ident_unbind() local136 sparms.tf_shadow_ident_db = ident_shadow_db[i]; in tf_ident_unbind()137 rc = tf_shadow_ident_free_db(&sparms); in tf_ident_unbind()297 struct tf_shadow_ident_search_parms sparms = { 0 }; in tf_ident_search() local340 sparms.tf_shadow_ident_db = ident_shadow_db[parms->dir]; in tf_ident_search()341 sparms.type = parms->type; in tf_ident_search()342 sparms.search_id = base_id; in tf_ident_search()343 sparms.hit = parms->hit; in tf_ident_search()344 sparms.ref_cnt = parms->ref_cnt; in tf_ident_search()346 rc = tf_shadow_ident_search(&sparms); in tf_ident_search()
932 struct tf_tcam_set_parms sparms; in tf_tcam_shared_move_entry() local969 sparms.hcapi_type = hcapi_type; in tf_tcam_shared_move_entry()970 sparms.dir = dir; in tf_tcam_shared_move_entry()972 sparms.idx = dphy_idx; in tf_tcam_shared_move_entry()973 sparms.key = gparms.key; in tf_tcam_shared_move_entry()974 sparms.mask = gparms.mask; in tf_tcam_shared_move_entry()975 sparms.key_size = key_sz_bytes; in tf_tcam_shared_move_entry()976 sparms.result = gparms.result; in tf_tcam_shared_move_entry()977 sparms.result_size = remap_sz_bytes; in tf_tcam_shared_move_entry()986 sparms.idx, in tf_tcam_shared_move_entry()[all …]
134 struct tf_tcam_set_parms *sparms; member180 struct tf_tcam_alloc_search_parms *sparms; member
495 struct tf_shadow_tcam_search_parms sparms; in tf_tcam_alloc_search() local544 memset(&sparms, 0, sizeof(sparms)); in tf_tcam_alloc_search()545 sparms.sparms = parms; in tf_tcam_alloc_search()546 sparms.shadow_db = shadow_tcam_db[parms->dir]; in tf_tcam_alloc_search()548 rc = tf_shadow_tcam_search(&sparms); in tf_tcam_alloc_search()586 bparms.hb_handle = sparms.hb_handle; in tf_tcam_alloc_search()714 iparms.sparms = parms; in tf_tcam_set()
104 struct tf_rm_get_slices_parms sparms; in tf_tbl_sram_get_info() local121 sparms.rm_db = parms->rm_db; in tf_tbl_sram_get_info()122 sparms.subtype = parms->tbl_type; in tf_tbl_sram_get_info()123 sparms.slices = &slices; in tf_tbl_sram_get_info()125 rc = tf_rm_get_slices(&sparms); in tf_tbl_sram_get_info()
919 sparms.dir = tbl->direction; in ulp_mapper_ident_extract()929 sparms.search_id); in ulp_mapper_ident_extract()935 sparms.search_id); in ulp_mapper_ident_extract()1857 sparms.idx = idx; in ulp_mapper_tcam_tbl_entry_write()1866 tf_dir_2_str(sparms.dir), sparms.idx); in ulp_mapper_tcam_tbl_entry_write()1871 tf_dir_2_str(sparms.dir), sparms.idx); in ulp_mapper_tcam_tbl_entry_write()2635 sparms.type = tbl_type; in ulp_mapper_index_tbl_process()2637 sparms.idx = index; in ulp_mapper_index_tbl_process()2647 sparms.idx, rc); in ulp_mapper_index_tbl_process()2652 tf_dir_2_str(sparms.dir), sparms.idx); in ulp_mapper_index_tbl_process()[all …]
308 struct tf_set_tbl_entry_parms sparms = { 0 }; in ulp_fc_tf_flow_stat_get() local353 sparms.dir = res->direction; in ulp_fc_tf_flow_stat_get()354 sparms.type = stype; in ulp_fc_tf_flow_stat_get()355 sparms.idx = res->resource_hndl; in ulp_fc_tf_flow_stat_get()356 sparms.data = (uint8_t *)&stats; in ulp_fc_tf_flow_stat_get()357 sparms.data_sz_in_bytes = sizeof(uint64_t); in ulp_fc_tf_flow_stat_get()358 rc = tf_set_tbl_entry(tfp, &sparms); in ulp_fc_tf_flow_stat_get()361 sparms.idx, rc); in ulp_fc_tf_flow_stat_get()