Lines Matching refs:mpat_pl
182 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_phys_configure() local
186 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_phys_configure()
188 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_phys_configure()
189 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_phys_configure()
191 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_phys_configure()
201 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_deconfigure_common() local
204 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, false, span_type); in mlxsw_sp_span_entry_deconfigure_common()
205 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_deconfigure_common()
480 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_gretap4_configure() local
484 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_gretap4_configure()
486 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_gretap4_configure()
487 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_gretap4_configure()
488 mlxsw_reg_mpat_eth_rspan_pack(mpat_pl, sparms.vid); in mlxsw_sp_span_entry_gretap4_configure()
489 mlxsw_reg_mpat_eth_rspan_l2_pack(mpat_pl, in mlxsw_sp_span_entry_gretap4_configure()
492 mlxsw_reg_mpat_eth_rspan_l3_ipv4_pack(mpat_pl, in mlxsw_sp_span_entry_gretap4_configure()
497 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_gretap4_configure()
584 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_gretap6_configure() local
588 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_gretap6_configure()
590 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_gretap6_configure()
591 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_gretap6_configure()
592 mlxsw_reg_mpat_eth_rspan_pack(mpat_pl, sparms.vid); in mlxsw_sp_span_entry_gretap6_configure()
593 mlxsw_reg_mpat_eth_rspan_l2_pack(mpat_pl, in mlxsw_sp_span_entry_gretap6_configure()
596 mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(mpat_pl, sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap6_configure()
600 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_gretap6_configure()
650 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_vlan_configure() local
653 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_vlan_configure()
655 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_vlan_configure()
656 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_vlan_configure()
657 mlxsw_reg_mpat_eth_rspan_pack(mpat_pl, sparms.vid); in mlxsw_sp_span_entry_vlan_configure()
659 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_vlan_configure()