Home
last modified time | relevance | path

Searched refs:stats_agent (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c68 priv = container_of(sagent, struct mlx5e_priv, stats_agent); in mlx5e_hv_vhca_stats_work()
100 sagent = &priv->stats_agent; in mlx5e_hv_vhca_stats_control()
106 cancel_delayed_work_sync(&priv->stats_agent.work); in mlx5e_hv_vhca_stats_control()
120 cancel_delayed_work_sync(&priv->stats_agent.work); in mlx5e_hv_vhca_stats_cleanup()
128 priv->stats_agent.buf = kvzalloc(buf_len, GFP_KERNEL); in mlx5e_hv_vhca_stats_create()
129 if (!priv->stats_agent.buf) in mlx5e_hv_vhca_stats_create()
144 kvfree(priv->stats_agent.buf); in mlx5e_hv_vhca_stats_create()
148 priv->stats_agent.agent = agent; in mlx5e_hv_vhca_stats_create()
149 INIT_DELAYED_WORK(&priv->stats_agent.work, mlx5e_hv_vhca_stats_work); in mlx5e_hv_vhca_stats_create()
156 if (IS_ERR_OR_NULL(priv->stats_agent.agent)) in mlx5e_hv_vhca_stats_destroy()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den.h877 struct mlx5e_hv_vhca_stats_agent stats_agent; member