Searched refs:ppcnt_pl (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_dcb.c | 536 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_pfc_cnt_get() local 539 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_pfc_cnt_get() 541 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get() 545 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get() 546 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
|
| D | spectrum.c | 1073 int prio, char *ppcnt_pl) in mlxsw_sp_port_get_stats_raw() argument 1078 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); in mlxsw_sp_port_get_stats_raw() 1079 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw() 1085 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_stats() local 1089 0, ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 1094 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 1096 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 1098 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 1100 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 1102 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() [all …]
|
| D | switchx2.c | 529 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sx_port_get_stats() local 533 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sx_port->local_port, in mlxsw_sx_port_get_stats() 535 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sx_port_get_stats() 537 data[i] = !err ? mlxsw_sx_port_hw_stats[i].getter(ppcnt_pl) : 0; in mlxsw_sx_port_get_stats()
|