Searched refs:sh_idx (Results 1 – 2 of 2) sorted by relevance
186 uint16_t sh_idx, in tf_shadow_tcam_key_cmp() argument189 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() argument210 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() argument337 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() argument396 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 …]
209 uint16_t sh_idx, in tf_shadow_tbl_key_cmp() argument212 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() argument328 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() argument387 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()