Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c388 char perpt_pl[MLXSW_REG_PERPT_LEN]; in mlxsw_sp_acl_erp_table_erp_add() local
393 mlxsw_reg_perpt_pack(perpt_pl, erpt_bank, erpt_index, key_size, erp->id, in mlxsw_sp_acl_erp_table_erp_add()
396 mlxsw_reg_perpt_erp_vector_pack(perpt_pl, erp_table->erp_index_bitmap, in mlxsw_sp_acl_erp_table_erp_add()
398 mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, true); in mlxsw_sp_acl_erp_table_erp_add()
399 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl); in mlxsw_sp_acl_erp_table_erp_add()
408 char perpt_pl[MLXSW_REG_PERPT_LEN]; in mlxsw_sp_acl_erp_table_erp_del() local
413 mlxsw_reg_perpt_pack(perpt_pl, erpt_bank, erpt_index, key_size, erp->id, in mlxsw_sp_acl_erp_table_erp_del()
415 mlxsw_reg_perpt_erp_vector_pack(perpt_pl, erp_table->erp_index_bitmap, in mlxsw_sp_acl_erp_table_erp_del()
417 mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, false); in mlxsw_sp_acl_erp_table_erp_del()
418 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl); in mlxsw_sp_acl_erp_table_erp_del()