Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c183 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_phys_configure() local
187 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_phys_configure()
189 mlxsw_reg_mpat_session_id_set(mpat_pl, sparms.session_id); in mlxsw_sp_span_entry_phys_configure()
190 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_phys_configure()
191 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_phys_configure()
193 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_phys_configure()
203 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_deconfigure_common() local
206 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, false, span_type); in mlxsw_sp_span_entry_deconfigure_common()
207 mlxsw_reg_mpat_session_id_set(mpat_pl, span_entry->parms.session_id); in mlxsw_sp_span_entry_deconfigure_common()
208 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_deconfigure_common()
[all …]