• Home
  • Raw
  • Download

Lines Matching refs:ppcnt_pl

740 				int prio, char *ppcnt_pl)  in mlxsw_sp_port_get_stats_raw()  argument
745 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); in mlxsw_sp_port_get_stats_raw()
746 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
752 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_stats() local
756 0, ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
761 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
763 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
765 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
767 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
769 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
772 mlxsw_reg_ppcnt_a_frame_check_sequence_errors_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
774 mlxsw_reg_ppcnt_a_alignment_errors_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
777 mlxsw_reg_ppcnt_a_in_range_length_errors_get(ppcnt_pl) + in mlxsw_sp_port_get_hw_stats()
778 mlxsw_reg_ppcnt_a_out_of_range_length_field_get(ppcnt_pl) + in mlxsw_sp_port_get_hw_stats()
779 mlxsw_reg_ppcnt_a_frame_too_long_errors_get(ppcnt_pl)); in mlxsw_sp_port_get_hw_stats()
792 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_xstats() local
796 ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
798 xstats->ecn = mlxsw_reg_ppcnt_ecn_marked_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
803 i, ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
806 mlxsw_reg_ppcnt_wred_discard_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
809 i, ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
814 mlxsw_reg_ppcnt_tc_transmit_queue_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
816 mlxsw_reg_ppcnt_tc_no_buffer_discard_uc_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
821 i, ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
825 xstats->tx_packets[i] = mlxsw_reg_ppcnt_tx_frames_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
826 xstats->tx_bytes[i] = mlxsw_reg_ppcnt_tx_octets_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()