Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_flex_actions.c13 u32 kvdl_index; in mlxsw_sp_act_kvdl_set_add() local
23 1, &kvdl_index); in mlxsw_sp_act_kvdl_set_add()
26 mlxsw_reg_pefa_pack(pefa_pl, kvdl_index, ca, enc_actions); in mlxsw_sp_act_kvdl_set_add()
30 *p_kvdl_index = kvdl_index; in mlxsw_sp_act_kvdl_set_add()
35 1, kvdl_index); in mlxsw_sp_act_kvdl_set_add()
53 static void mlxsw_sp_act_kvdl_set_del(void *priv, u32 kvdl_index, in mlxsw_sp_act_kvdl_set_del() argument
61 1, kvdl_index); in mlxsw_sp_act_kvdl_set_del()
64 static int mlxsw_sp1_act_kvdl_set_activity_get(void *priv, u32 kvdl_index, in mlxsw_sp1_act_kvdl_set_activity_get() argument
70 static int mlxsw_sp2_act_kvdl_set_activity_get(void *priv, u32 kvdl_index, in mlxsw_sp2_act_kvdl_set_activity_get() argument
77 mlxsw_reg_pefa_pack(pefa_pl, kvdl_index, true, NULL); in mlxsw_sp2_act_kvdl_set_activity_get()
[all …]
Dspectrum2_acl_tcam.c12 u32 kvdl_index; member
82 tcam->kvdl_count, &tcam->kvdl_index); in mlxsw_sp2_acl_tcam_init()
101 mlxsw_reg_pefa_pack(pefa_pl, tcam->kvdl_index + i, in mlxsw_sp2_acl_tcam_init()
107 mlxsw_reg_pgcr_pack(pgcr_pl, tcam->kvdl_index); in mlxsw_sp2_acl_tcam_init()
126 tcam->kvdl_count, tcam->kvdl_index); in mlxsw_sp2_acl_tcam_init()
136 tcam->kvdl_count, tcam->kvdl_index); in mlxsw_sp2_acl_tcam_fini()
Dcore_acl_flex_actions.h17 void (*kvdl_set_del)(void *priv, u32 kvdl_index, bool is_first);
18 int (*kvdl_set_activity_get)(void *priv, u32 kvdl_index,
21 void (*kvdl_fwd_entry_del)(void *priv, u32 kvdl_index);
88 bool rmid_valid, u32 kvdl_index);
Dspectrum2_kvdl.c107 u16 size, u32 kvdl_index) in mlxsw_sp2_kvdl_rec_del() argument
117 mlxsw_reg_iedr_rec_pack(iedr_pl, 0, res_type, size, kvdl_index); in mlxsw_sp2_kvdl_rec_del()
125 unsigned int size, u32 kvdl_index) in mlxsw_sp2_kvdl_part_free() argument
134 size, kvdl_index); in mlxsw_sp2_kvdl_part_free()
139 bit = kvdl_index / part->indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_free()
Dspectrum1_kvdl.c89 mlxsw_sp1_kvdl_index_part(struct mlxsw_sp1_kvdl *kvdl, u32 kvdl_index) in mlxsw_sp1_kvdl_index_part() argument
96 if (kvdl_index >= part->info.start_index && in mlxsw_sp1_kvdl_index_part()
97 kvdl_index <= part->info.end_index) in mlxsw_sp1_kvdl_index_part()
113 u32 kvdl_index) in mlxsw_sp1_kvdl_to_entry_index() argument
115 return (kvdl_index - info->start_index) / info->alloc_size; in mlxsw_sp1_kvdl_to_entry_index()
137 u32 kvdl_index) in mlxsw_sp1_kvdl_part_free() argument
142 entry_index = mlxsw_sp1_kvdl_to_entry_index(info, kvdl_index); in mlxsw_sp1_kvdl_part_free()
Dcore_acl_flex_actions.c92 u32 kvdl_index; member
122 u32 kvdl_index; member
304 &set->kvdl_index, in mlxsw_afa_set_share()
323 set->kvdl_index, in mlxsw_afa_set_unshare()
482 mlxsw_afa_set_next_set(prev_set, set->kvdl_index); in mlxsw_afa_block_commit()
511 return block->first_set->next->kvdl_index; in mlxsw_afa_block_first_kvdl_index()
517 u32 kvdl_index = mlxsw_afa_block_first_kvdl_index(block); in mlxsw_afa_block_activity_get() local
520 kvdl_index, activity); in mlxsw_afa_block_activity_get()
576 &fwd_entry->kvdl_index, in mlxsw_afa_fwd_entry_create()
594 fwd_entry->kvdl_index); in mlxsw_afa_fwd_entry_destroy()
[all …]
Dspectrum_nve.c69 u32 kvdl_index; member
276 &mc_record->kvdl_index); in mlxsw_sp_nve_mc_record_create()
300 mc_record->kvdl_index); in mlxsw_sp_nve_mc_record_destroy()
367 next_kvdl_index = next_record->kvdl_index; in mlxsw_sp_nve_mc_record_refresh()
372 mc_record->kvdl_index, next_valid, in mlxsw_sp_nve_mc_record_refresh()
512 swap(mc_record->kvdl_index, next_record->kvdl_index); in mlxsw_sp_nve_mc_record_entry_del()
600 return mlxsw_sp_fid_nve_flood_index_set(fid, mc_record->kvdl_index); in mlxsw_sp_nve_fid_flood_index_set()
Dspectrum_acl_atcam.c389 u32 kvdl_index, priority; in mlxsw_sp_acl_atcam_region_entry_insert() local
401 kvdl_index = mlxsw_afa_block_first_kvdl_index(rulei->act_block); in mlxsw_sp_acl_atcam_region_entry_insert()
409 kvdl_index); in mlxsw_sp_acl_atcam_region_entry_insert()
453 u32 kvdl_index, priority; in mlxsw_sp_acl_atcam_region_entry_action_replace() local
459 kvdl_index = mlxsw_afa_block_first_kvdl_index(rulei->act_block); in mlxsw_sp_acl_atcam_region_entry_action_replace()
467 kvdl_index); in mlxsw_sp_acl_atcam_region_entry_action_replace()
Dspectrum_mr_tcam.c29 u32 kvdl_index; member
93 erif_list->kvdl_index = sublist->rigr2_kvdl_index; in mlxsw_sp_mr_erif_list_add()
177 to->kvdl_index = from->kvdl_index; in mlxsw_sp_mr_erif_list_move()
228 erif_list->kvdl_index); in mlxsw_sp_mr_tcam_afa_block_create()