#include "en.h"
#include "monitor_stats.h"
#include "lib/eq.h"
#define NUM_REQ_PPCNT_COUNTER_S1 …
#define NUM_REQ_Q_COUNTERS_S1 …
static int mlx5e_monitor_counter_cap(struct mlx5_core_dev *mdev)
{ … }
int mlx5e_monitor_counter_supported(struct mlx5e_priv *priv)
{ … }
static void mlx5e_monitor_counter_arm(struct mlx5_core_dev *mdev)
{ … }
static void mlx5e_monitor_counters_work(struct work_struct *work)
{ … }
static int mlx5e_monitor_event_handler(struct notifier_block *nb,
unsigned long event, void *eqe)
{ … }
static int fill_monitor_counter_ppcnt_set1(int cnt, u32 *in)
{ … }
static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in)
{ … }
static void mlx5e_set_monitor_counter(struct mlx5_core_dev *mdev, int q_counter)
{ … }
void mlx5e_monitor_counter_init(struct mlx5e_priv *priv)
{ … }
void mlx5e_monitor_counter_cleanup(struct mlx5e_priv *priv)
{ … }