• Home
  • Raw
  • Download

Lines Matching refs:mpat_pl

183 	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_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_phys_configure()
190 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_phys_configure()
192 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_phys_configure()
202 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_deconfigure_common() local
205 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, false, span_type); in mlxsw_sp_span_entry_deconfigure_common()
206 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_deconfigure_common()
482 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_gretap4_configure() local
486 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_gretap4_configure()
488 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_gretap4_configure()
489 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_gretap4_configure()
490 mlxsw_reg_mpat_eth_rspan_pack(mpat_pl, sparms.vid); in mlxsw_sp_span_entry_gretap4_configure()
491 mlxsw_reg_mpat_eth_rspan_l2_pack(mpat_pl, in mlxsw_sp_span_entry_gretap4_configure()
494 mlxsw_reg_mpat_eth_rspan_l3_ipv4_pack(mpat_pl, in mlxsw_sp_span_entry_gretap4_configure()
499 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_gretap4_configure()
586 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_gretap6_configure() local
590 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_gretap6_configure()
592 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_gretap6_configure()
593 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_gretap6_configure()
594 mlxsw_reg_mpat_eth_rspan_pack(mpat_pl, sparms.vid); in mlxsw_sp_span_entry_gretap6_configure()
595 mlxsw_reg_mpat_eth_rspan_l2_pack(mpat_pl, in mlxsw_sp_span_entry_gretap6_configure()
598 mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(mpat_pl, sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap6_configure()
602 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_gretap6_configure()
652 char mpat_pl[MLXSW_REG_MPAT_LEN]; in mlxsw_sp_span_entry_vlan_configure() local
655 mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, in mlxsw_sp_span_entry_vlan_configure()
657 mlxsw_reg_mpat_pide_set(mpat_pl, sparms.policer_enable); in mlxsw_sp_span_entry_vlan_configure()
658 mlxsw_reg_mpat_pid_set(mpat_pl, sparms.policer_id); in mlxsw_sp_span_entry_vlan_configure()
659 mlxsw_reg_mpat_eth_rspan_pack(mpat_pl, sparms.vid); in mlxsw_sp_span_entry_vlan_configure()
661 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_vlan_configure()