Home
last modified time | relevance | path

Searched refs:ainfo (Results 1 – 5 of 5) sorted by relevance

/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_tcam.c42 struct tf_rm_get_alloc_info_parms ainfo; in tf_tcam_bind() local
128 ainfo.rm_db = tcam_db->tcam_db[d]; in tf_tcam_bind()
130 ainfo.info = &info; in tf_tcam_bind()
131 rc = tf_rm_get_info(&ainfo); in tf_tcam_bind()
157 ainfo.rm_db = tcam_db->tcam_db[d]; in tf_tcam_bind()
158 ainfo.subtype = i; in tf_tcam_bind()
159 ainfo.info = &info; in tf_tcam_bind()
160 rc = tf_rm_get_info(&ainfo); in tf_tcam_bind()
832 ainfo.rm_db = tcam_db->tcam_db[d]; in tf_tcam_get_resc_info()
834 if (!ainfo.rm_db) in tf_tcam_get_resc_info()
[all …]
H A Dtf_em_internal.c364 struct tf_rm_get_alloc_info_parms ainfo; in tf_em_get_resc_info() local
380 ainfo.rm_db = em_db->em_db[d]; in tf_em_get_resc_info()
383 if (!ainfo.rm_db) in tf_em_get_resc_info()
386 ainfo.info = (struct tf_rm_alloc_info *)dinfo; in tf_em_get_resc_info()
387 ainfo.subtype = 0; in tf_em_get_resc_info()
388 rc = tf_rm_get_all_info(&ainfo, TF_EM_TBL_TYPE_MAX); in tf_em_get_resc_info()
H A Dtf_identifier.c365 struct tf_rm_get_alloc_info_parms ainfo; in tf_ident_get_resc_info() local
381 ainfo.rm_db = ident_db->ident_db[d]; in tf_ident_get_resc_info()
383 if (!ainfo.rm_db) in tf_ident_get_resc_info()
388 ainfo.info = (struct tf_rm_alloc_info *)dinfo; in tf_ident_get_resc_info()
389 ainfo.subtype = 0; in tf_ident_get_resc_info()
390 rc = tf_rm_get_all_info(&ainfo, TF_IDENT_TYPE_MAX); in tf_ident_get_resc_info()
H A Dtf_tbl.c551 struct tf_rm_get_alloc_info_parms ainfo; in tf_tbl_get_resc_info() local
579 ainfo.rm_db = tbl_db->tbl_db[d]; in tf_tbl_get_resc_info()
582 if (!ainfo.rm_db) in tf_tbl_get_resc_info()
585 ainfo.info = (struct tf_rm_alloc_info *)dinfo; in tf_tbl_get_resc_info()
586 ainfo.subtype = 0; in tf_tbl_get_resc_info()
587 rc = tf_rm_get_all_info(&ainfo, TF_TBL_TYPE_MAX); in tf_tbl_get_resc_info()
H A Dtf_tcam_shared.c198 struct tf_rm_get_alloc_info_parms ainfo; in tf_tcam_shared_get_rm_info() local
228 ainfo.rm_db = tcam_db->tcam_db[dir]; in tf_tcam_shared_get_rm_info()
229 ainfo.subtype = TF_TCAM_TBL_TYPE_WC_TCAM; in tf_tcam_shared_get_rm_info()
230 ainfo.info = info; in tf_tcam_shared_get_rm_info()
232 rc = tf_rm_get_info(&ainfo); in tf_tcam_shared_get_rm_info()