Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
154 if (IS_ERR_OR_NULL(priv->stats_agent.agent)) in mlx5e_hv_vhca_stats_destroy()
157 mlx5_hv_vhca_agent_destroy(priv->stats_agent.agent); in mlx5e_hv_vhca_stats_destroy()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h934 struct mlx5e_hv_vhca_stats_agent stats_agent; member