Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c320 rulei->act_block = afa_block; in mlxsw_sp_acl_rulei_create()
324 rulei->act_block = mlxsw_afa_block_create(acl->mlxsw_sp->afa); in mlxsw_sp_acl_rulei_create()
325 if (IS_ERR(rulei->act_block)) { in mlxsw_sp_acl_rulei_create()
326 err = PTR_ERR(rulei->act_block); in mlxsw_sp_acl_rulei_create()
340 mlxsw_afa_block_destroy(rulei->act_block); in mlxsw_sp_acl_rulei_destroy()
346 return mlxsw_afa_block_commit(rulei->act_block); in mlxsw_sp_acl_rulei_commit()
374 return mlxsw_afa_block_continue(rulei->act_block); in mlxsw_sp_acl_rulei_act_continue()
380 return mlxsw_afa_block_jump(rulei->act_block, group_id); in mlxsw_sp_acl_rulei_act_jump()
385 return mlxsw_afa_block_terminate(rulei->act_block); in mlxsw_sp_acl_rulei_act_terminate()
393 return mlxsw_afa_block_append_drop(rulei->act_block, ingress, in mlxsw_sp_acl_rulei_act_drop()
[all …]
Dspectrum2_acl_tcam.c27 struct mlxsw_afa_block *act_block; member
209 entry->act_block = rulei->act_block; in mlxsw_sp2_acl_tcam_entry_add()
235 entry->act_block = rulei->act_block; in mlxsw_sp2_acl_tcam_entry_action_replace()
248 return mlxsw_afa_block_activity_get(entry->act_block, activity); in mlxsw_sp2_acl_tcam_entry_activity_get()
Dspectrum_acl_ctcam.c72 act_set = mlxsw_afa_block_first_set(rulei->act_block); in mlxsw_sp_acl_ctcam_region_entry_insert()
231 rulei->act_block, in mlxsw_sp_acl_ctcam_entry_action_replace()
Dspectrum_acl_atcam.c399 kvdl_index = mlxsw_afa_block_first_kvdl_index(rulei->act_block); in mlxsw_sp_acl_atcam_region_entry_insert()
457 kvdl_index = mlxsw_afa_block_first_kvdl_index(rulei->act_block); in mlxsw_sp_acl_atcam_region_entry_action_replace()
Dspectrum.h807 struct mlxsw_afa_block *act_block; member