Home
last modified time | relevance | path

Searched refs:ppcnt_reg (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c798 MLX5_BYTE_OFF(ppcnt_reg, \
854 u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0};
855 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
861 MLX5_SET(ppcnt_reg, in, local_port, 1);
863 MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP);
869 MLX5_BYTE_OFF(ppcnt_reg, \
875 u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in mlx5e_stats_get_ieee()
876 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg); in mlx5e_stats_get_ieee()
881 MLX5_SET(ppcnt_reg, in, local_port, 1); in mlx5e_stats_get_ieee()
882 MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP); in mlx5e_stats_get_ieee()
[all …]
Den_stats.h292 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \
295 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \
298 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \
301 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \
304 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \
308 MLX5_GET64(ppcnt_reg, (pstats)->eth_ext_counters, \
312 __be64 IEEE_802_3_counters[MLX5_ST_SZ_QW(ppcnt_reg)];
313 __be64 RFC_2863_counters[MLX5_ST_SZ_QW(ppcnt_reg)];
314 __be64 RFC_2819_counters[MLX5_ST_SZ_QW(ppcnt_reg)];
315 __be64 per_prio_counters[NUM_PPORT_PRIO][MLX5_ST_SZ_QW(ppcnt_reg)];
[all …]
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmad.c115 void *out_pma = MLX5_ADDR_OF(ppcnt_reg, out, in pma_cnt_assign()
162 MLX5_SET(ppcnt_reg, in, local_port, port_num); in query_ib_ppcnt()
164 MLX5_SET(ppcnt_reg, in, grp, MLX5_INFINIBAND_PORT_COUNTERS_GROUP); in query_ib_ppcnt()
225 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg); in process_pma_cmd()
Dcounters.c72 MLX5_BYTE_OFF(ppcnt_reg, \
248 u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in mlx5_ib_query_ext_ppcnt_counters()
249 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg); in mlx5_ib_query_ext_ppcnt_counters()
257 MLX5_SET(ppcnt_reg, in, local_port, 1); in mlx5_ib_query_ext_ppcnt_counters()
258 MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP); in mlx5_ib_query_ext_ppcnt_counters()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h10689 struct mlx5_ifc_ppcnt_reg_bits ppcnt_reg; member