/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 5115 MLXSW_REG_DEFINE(ppcnt, MLXSW_REG_PPCNT_ID, MLXSW_REG_PPCNT_LEN); 5126 MLXSW_ITEM32(reg, ppcnt, swid, 0x00, 24, 8); 5132 MLXSW_ITEM32_LP(reg, ppcnt, 0x00, 16, 0x00, 12); 5140 MLXSW_ITEM32(reg, ppcnt, pnat, 0x00, 14, 2); 5171 MLXSW_ITEM32(reg, ppcnt, grp, 0x00, 0, 6); 5179 MLXSW_ITEM32(reg, ppcnt, clr, 0x04, 31, 1); 5187 MLXSW_ITEM32(reg, ppcnt, lp_gl, 0x04, 30, 1); 5197 MLXSW_ITEM32(reg, ppcnt, prio_tc, 0x04, 0, 5); 5204 MLXSW_ITEM64(reg, ppcnt, a_frames_transmitted_ok, 5210 MLXSW_ITEM64(reg, ppcnt, a_frames_received_o [all...] |
H A D | spectrum_dcb.c | 487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
|
H A D | spectrum.c | 894 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 4650 MLXSW_REG_DEFINE(ppcnt, MLXSW_REG_PPCNT_ID, MLXSW_REG_PPCNT_LEN); 4661 MLXSW_ITEM32(reg, ppcnt, swid, 0x00, 24, 8); 4669 MLXSW_ITEM32(reg, ppcnt, local_port, 0x00, 16, 8); 4677 MLXSW_ITEM32(reg, ppcnt, pnat, 0x00, 14, 2); 4708 MLXSW_ITEM32(reg, ppcnt, grp, 0x00, 0, 6); 4716 MLXSW_ITEM32(reg, ppcnt, clr, 0x04, 31, 1); 4726 MLXSW_ITEM32(reg, ppcnt, prio_tc, 0x04, 0, 5); 4733 MLXSW_ITEM64(reg, ppcnt, a_frames_transmitted_ok, 4739 MLXSW_ITEM64(reg, ppcnt, a_frames_received_ok, 4745 MLXSW_ITEM64(reg, ppcnt, a_frame_check_sequence_error [all...] |
H A D | spectrum_dcb.c | 487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
|
H A D | switchx2.c | 530 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sx_port_get_stats()
|
H A D | spectrum.c | 703 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | monitor_stats.c | 29 if (MLX5_CAP_PCAM_REG(mdev, ppcnt) && in mlx5e_monitor_counter_supported() 105 int num_ppcnt_counters = !MLX5_CAP_PCAM_REG(mdev, ppcnt) ? 0 : in mlx5e_set_monitor_counter()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | monitor_stats.c | 29 if (MLX5_CAP_PCAM_REG(mdev, ppcnt) && in mlx5e_monitor_counter_supported() 105 int num_ppcnt_counters = !MLX5_CAP_PCAM_REG(mdev, ppcnt) ? 0 : in mlx5e_set_monitor_counter()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.c | 869 (MLX5_CAP_GEN(mdev, pcam_reg) ? MLX5_CAP_PCAM_REG(mdev, ppcnt) : 1) 1311 MLX5E_READ_CTR64_BE_F(ppcnt, phys_layer_cntrs, \ 1314 MLX5E_READ_CTR64_BE_F(ppcnt, phys_layer_cntrs, \ 1319 u32 *ppcnt, u8 lanes) in fec_set_fc_stats() 1331 static void fec_set_rs_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt) in fec_set_rs_stats() argument 1334 MLX5E_READ_CTR64_BE_F(ppcnt, phys_layer_cntrs, in fec_set_rs_stats() 1337 MLX5E_READ_CTR64_BE_F(ppcnt, phys_layer_cntrs, in fec_set_rs_stats() 1318 fec_set_fc_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt, u8 lanes) fec_set_fc_stats() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.c | 677 (MLX5_CAP_GEN(mdev, pcam_reg) ? MLX5_CAP_PCAM_REG(mdev, ppcnt) : 1)
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 9082 u8 ppcnt[0x1]; member
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 10090 u8 ppcnt[0x1]; member
|