Home
last modified time | relevance | path

Searched refs:sh_idx (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_shadow_tcam.c186 uint16_t sh_idx, in tf_shadow_tcam_key_cmp() argument
189 if (size != ctxt->shadow_ctxt.sh_res_tbl[sh_idx].key_size || in tf_shadow_tcam_key_cmp()
204 uint16_t sh_idx, in tf_shadow_tcam_res_cpy() argument
210 if (ctxt->shadow_ctxt.sh_res_tbl[sh_idx].result_size != size) in tf_shadow_tcam_res_cpy()
214 ctxt->shadow_ctxt.sh_res_tbl[sh_idx].result, in tf_shadow_tcam_res_cpy()
333 uint16_t sh_idx) in tf_shadow_tcam_set_hash_entry() argument
337 uint64_t entry = sh_idx | TF_SHADOW_TCAM_BE_VALID; in tf_shadow_tcam_set_hash_entry()
391 uint16_t sh_idx) in tf_shadow_tcam_clear_sh_entry() argument
396 if (sh_idx >= tf_shadow_tcam_sh_num_entries_get(ctxt)) in tf_shadow_tcam_clear_sh_entry()
399 sk_entry = &ctxt->shadow_ctxt.sh_key_tbl[sh_idx]; in tf_shadow_tcam_clear_sh_entry()
[all …]
H A Dtf_shadow_tbl.c209 uint16_t sh_idx, in tf_shadow_tbl_key_cmp() argument
212 if (size != ctxt->shadow_ctxt.sh_res_tbl[sh_idx].key_size || in tf_shadow_tbl_key_cmp()
213 sh_idx >= tf_shadow_tbl_sh_num_entries_get(ctxt) || !key) in tf_shadow_tbl_key_cmp()
216 return memcmp(key, ctxt->shadow_ctxt.sh_key_tbl[sh_idx].key, size); in tf_shadow_tbl_key_cmp()
324 uint16_t sh_idx) in tf_shadow_tbl_set_hash_entry() argument
328 uint64_t entry = sh_idx | TF_SHADOW_BE_VALID; in tf_shadow_tbl_set_hash_entry()
382 uint16_t sh_idx) in tf_shadow_tbl_clear_sh_entry() argument
387 if (sh_idx >= tf_shadow_tbl_sh_num_entries_get(ctxt)) in tf_shadow_tbl_clear_sh_entry()
390 sk_entry = &ctxt->shadow_ctxt.sh_key_tbl[sh_idx]; in tf_shadow_tbl_clear_sh_entry()
391 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[sh_idx]; in tf_shadow_tbl_clear_sh_entry()