Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c819 MLX5_BYTE_OFF(ppcnt_reg, \
875 u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0};
876 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
882 MLX5_SET(ppcnt_reg, in, local_port, 1);
884 MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP);
890 MLX5_BYTE_OFF(ppcnt_reg, \
896 u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in mlx5e_stats_get_ieee()
897 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg); in mlx5e_stats_get_ieee()
902 MLX5_SET(ppcnt_reg, in, local_port, 1); in mlx5e_stats_get_ieee()
903 MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP); in mlx5e_stats_get_ieee()
[all …]
Den_stats.h294 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \
297 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \
300 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \
303 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \
306 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \
310 MLX5_GET64(ppcnt_reg, (pstats)->eth_ext_counters, \
314 __be64 IEEE_802_3_counters[MLX5_ST_SZ_QW(ppcnt_reg)];
315 __be64 RFC_2863_counters[MLX5_ST_SZ_QW(ppcnt_reg)];
316 __be64 RFC_2819_counters[MLX5_ST_SZ_QW(ppcnt_reg)];
317 __be64 per_prio_counters[NUM_PPORT_PRIO][MLX5_ST_SZ_QW(ppcnt_reg)];
[all …]
/Linux-v6.6/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.c117 MLX5_BYTE_OFF(ppcnt_reg, \
302 u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in mlx5_ib_query_ext_ppcnt_counters()
303 int sz = MLX5_ST_SZ_BYTES(ppcnt_reg); in mlx5_ib_query_ext_ppcnt_counters()
311 MLX5_SET(ppcnt_reg, in, local_port, 1); in mlx5_ib_query_ext_ppcnt_counters()
312 MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP); in mlx5_ib_query_ext_ppcnt_counters()
/Linux-v6.6/include/linux/mlx5/
Dmlx5_ifc.h10984 struct mlx5_ifc_ppcnt_reg_bits ppcnt_reg; member