Home
last modified time | relevance | path

Searched refs:sparms (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_shadow_tcam.c559 sparms = parms->sparms; in tf_shadow_tcam_search()
562 sparms->hit = 0; in tf_shadow_tcam_search()
567 rcopy = sparms->result && sparms->result_size; in tf_shadow_tcam_search()
582 !sparms->key || !sparms->mask || !len) { in tf_shadow_tcam_search()
594 tkey[i] = sparms->key[i] & sparms->mask[i]; in tf_shadow_tcam_search()
611 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 …]
H A Dtf_shadow_tbl.c538 sparms = parms->sparms; in tf_shadow_tbl_search()
544 sparms->hit = 0; in tf_shadow_tbl_search()
547 sparms->ref_cnt = 0; in tf_shadow_tbl_search()
582 sparms->idx = 0; in tf_shadow_tbl_search()
610 sparms->hit = 1; in tf_shadow_tbl_search()
615 sparms->ref_cnt = in tf_shadow_tbl_search()
630 sparms->hit = 0; in tf_shadow_tbl_search()
631 sparms->idx = 0; in tf_shadow_tbl_search()
654 sparms = parms->sparms; in tf_shadow_tbl_insert()
655 if (!sparms->data || !sparms->data_sz_in_bytes) { in tf_shadow_tbl_insert()
[all …]
H A Dtf_core.c581 sparms.dir = parms->dir; in tf_search_identifier()
640 sparms.dir = parms->dir; in tf_search_tcam_entry()
642 sparms.key = parms->key; in tf_search_tcam_entry()
650 sparms.result_size = in tf_search_tcam_entry()
663 parms->hit = sparms.hit; in tf_search_tcam_entry()
666 parms->idx = sparms.idx; in tf_search_tcam_entry()
774 sparms.dir = parms->dir; in tf_set_tcam_entry()
776 sparms.idx = parms->idx; in tf_set_tcam_entry()
777 sparms.key = parms->key; in tf_set_tcam_entry()
985 sparms.dir = parms->dir; in tf_search_tbl_entry()
[all …]
H A Dtf_identifier.c104 struct tf_shadow_ident_free_db_parms sparms = { 0 }; in tf_ident_unbind() local
124 sparms.tf_shadow_ident_db = ident_shadow_db[i]; in tf_ident_unbind()
125 rc = tf_shadow_ident_free_db(&sparms); in tf_ident_unbind()
279 struct tf_shadow_ident_search_parms sparms = { 0 }; in tf_ident_search() local
318 sparms.tf_shadow_ident_db = ident_shadow_db[parms->dir]; in tf_ident_search()
319 sparms.type = parms->type; in tf_ident_search()
320 sparms.search_id = base_id; in tf_ident_search()
321 sparms.hit = parms->hit; in tf_ident_search()
322 sparms.ref_cnt = parms->ref_cnt; in tf_ident_search()
324 rc = tf_shadow_ident_search(&sparms); in tf_ident_search()
H A Dtf_shadow_tbl.h90 struct tf_tbl_alloc_search_parms *sparms; member
142 struct tf_tbl_set_parms *sparms; member
H A Dtf_shadow_tcam.h134 struct tf_tcam_set_parms *sparms; member
180 struct tf_tcam_alloc_search_parms *sparms; member
H A Dtf_tcam.c450 struct tf_shadow_tcam_search_parms sparms; in tf_tcam_alloc_search() local
506 memset(&sparms, 0, sizeof(sparms)); in tf_tcam_alloc_search()
507 sparms.sparms = parms; in tf_tcam_alloc_search()
508 sparms.shadow_db = shadow_tcam_db[parms->dir]; in tf_tcam_alloc_search()
510 rc = tf_shadow_tcam_search(&sparms); in tf_tcam_alloc_search()
548 bparms.hb_handle = sparms.hb_handle; in tf_tcam_alloc_search()
672 iparms.sparms = parms; in tf_tcam_set()
H A Dtf_tbl.c319 struct tf_shadow_tbl_search_parms sparms; in tf_tbl_alloc_search() local
331 memset(&sparms, 0, sizeof(sparms)); in tf_tbl_alloc_search()
332 sparms.sparms = parms; in tf_tbl_alloc_search()
333 sparms.shadow_db = shadow_tbl_db[parms->dir]; in tf_tbl_alloc_search()
334 rc = tf_shadow_tbl_search(&sparms); in tf_tbl_alloc_search()
397 bparms.hb_handle = sparms.hb_handle; in tf_tbl_alloc_search()
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_mapper.c719 sparms.dir = tbl->direction; in ulp_mapper_ident_extract()
728 sparms.search_id); in ulp_mapper_ident_extract()
733 sparms.search_id); in ulp_mapper_ident_extract()
1457 sparms.idx = idx; in ulp_mapper_tcam_tbl_entry_write()
1473 tf_dir_2_str(sparms.dir), sparms.idx); in ulp_mapper_tcam_tbl_entry_write()
1478 tf_dir_2_str(sparms.dir), sparms.idx); in ulp_mapper_tcam_tbl_entry_write()
2015 sparms.type, in ulp_mapper_index_tbl_process()
2017 sparms.idx, in ulp_mapper_index_tbl_process()
2095 sparms.idx = index; in ulp_mapper_index_tbl_process()
2101 sparms.type, in ulp_mapper_index_tbl_process()
[all …]