Home
last modified time | relevance | path

Searched refs:ppcnt_pl (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c764 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in __mlxsw_sp_port_get_stats() local
771 mlxsw_sp_port_get_stats_raw(dev, grp, prio, ppcnt_pl); in __mlxsw_sp_port_get_stats()
773 data[data_index + i] = hw_stats[i].getter(ppcnt_pl); in __mlxsw_sp_port_get_stats()
1083 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_get_eth_phy_stats() local
1086 0, ppcnt_pl)) in mlxsw_sp_get_eth_phy_stats()
1090 mlxsw_reg_ppcnt_a_symbol_error_during_carrier_get(ppcnt_pl); in mlxsw_sp_get_eth_phy_stats()
1097 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_get_eth_mac_stats() local
1100 0, ppcnt_pl)) in mlxsw_sp_get_eth_mac_stats()
1104 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_get_eth_mac_stats()
1106 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_get_eth_mac_stats()
1135 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; mlxsw_sp_get_eth_ctrl_stats() local
1168 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; mlxsw_sp_get_rmon_stats() local
[all...]
H A Dspectrum_dcb.c482 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_pfc_cnt_get() local
485 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_pfc_cnt_get()
487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
491 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
492 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
H A Dspectrum.c888 int prio, char *ppcnt_pl) in mlxsw_sp_port_get_stats_raw()
893 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); in mlxsw_sp_port_get_stats_raw()
894 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
900 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_stats() local
904 0, ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
909 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
911 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
913 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
915 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
917 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
887 mlxsw_sp_port_get_stats_raw(struct net_device *dev, int grp, int prio, char *ppcnt_pl) mlxsw_sp_port_get_stats_raw() argument
940 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; mlxsw_sp_port_get_hw_xstats() local
[all...]
H A Dspectrum.h513 int prio, char *ppcnt_pl);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c697 int prio, char *ppcnt_pl) in mlxsw_sp_port_get_stats_raw()
702 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); in mlxsw_sp_port_get_stats_raw()
703 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
709 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_stats() local
713 0, ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
718 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
720 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
722 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
724 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
726 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
696 mlxsw_sp_port_get_stats_raw(struct net_device *dev, int grp, int prio, char *ppcnt_pl) mlxsw_sp_port_get_stats_raw() argument
749 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; mlxsw_sp_port_get_hw_xstats() local
[all...]
H A Dspectrum_dcb.c482 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_pfc_cnt_get() local
485 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_pfc_cnt_get()
487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
491 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
492 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
H A Dspectrum_ethtool.c757 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in __mlxsw_sp_port_get_stats() local
764 mlxsw_sp_port_get_stats_raw(dev, grp, prio, ppcnt_pl); in __mlxsw_sp_port_get_stats()
766 data[data_index + i] = hw_stats[i].getter(ppcnt_pl); in __mlxsw_sp_port_get_stats()
H A Dswitchx2.c524 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sx_port_get_stats() local
528 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sx_port->local_port, in mlxsw_sx_port_get_stats()
530 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sx_port_get_stats()
532 data[i] = !err ? mlxsw_sx_port_hw_stats[i].getter(ppcnt_pl) : 0; in mlxsw_sx_port_get_stats()
H A Dspectrum.h442 int prio, char *ppcnt_pl);

Completed in 21 milliseconds