Searched refs:counter_stats (Results 1 – 3 of 3) sorted by relevance
3288 struct mlx4_counter *counter_stats, int reset) in mlx4_get_counter_stats() argument3295 if (!counter_stats) in mlx4_get_counter_stats()3320 counter_stats->counter_mode = tmp_counter->counter_mode; in mlx4_get_counter_stats()3321 if (counter_stats->counter_mode == 0) { in mlx4_get_counter_stats()3322 counter_stats->rx_frames = in mlx4_get_counter_stats()3323 cpu_to_be64(be64_to_cpu(counter_stats->rx_frames) + in mlx4_get_counter_stats()3325 counter_stats->tx_frames = in mlx4_get_counter_stats()3326 cpu_to_be64(be64_to_cpu(counter_stats->tx_frames) + in mlx4_get_counter_stats()3328 counter_stats->rx_bytes = in mlx4_get_counter_stats()3329 cpu_to_be64(be64_to_cpu(counter_stats->rx_bytes) + in mlx4_get_counter_stats()[all …]
307 struct mlx4_counter *counter_stats, int reset);
941 struct mlx4_counter counter_stats; in iboe_process_mad() local952 memset(&counter_stats, 0, sizeof(counter_stats)); in iboe_process_mad()959 &counter_stats, 0); in iboe_process_mad()969 switch (counter_stats.counter_mode & 0xf) { in iboe_process_mad()971 edit_counter(&counter_stats, in iboe_process_mad()