Home
last modified time | relevance | path

Searched refs:q_counters (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_os.c81 priv->q_counters = mlx5_devx_cmd_queue_counter_alloc(ctx); in mlx5_queue_counter_id_prepare()
82 if (!priv->q_counters) { in mlx5_queue_counter_id_prepare()
88 priv->counter_set_id = priv->q_counters->id; in mlx5_queue_counter_id_prepare()
624 if (priv->q_counters != NULL && strcmp(ctr_name, "out_of_buffer") == 0) in mlx5_os_read_dev_stat()
626 (priv->q_counters, 0, (uint32_t *)stat); in mlx5_os_read_dev_stat()
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c887 priv->q_counters = mlx5_devx_cmd_queue_counter_alloc(ctx); in mlx5_queue_counter_id_prepare()
888 if (!priv->q_counters) { in mlx5_queue_counter_id_prepare()
921 priv->counter_set_id = priv->q_counters->id; in mlx5_queue_counter_id_prepare()
2671 if (priv->q_counters != NULL && in mlx5_os_read_dev_stat()
2674 (priv->q_counters, 0, (uint32_t *)stat); in mlx5_os_read_dev_stat()
/dpdk/drivers/net/mlx5/
H A Dmlx5.c1887 if (priv->q_counters) { in mlx5_dev_close()
1888 mlx5_devx_cmd_destroy(priv->q_counters); in mlx5_dev_close()
1889 priv->q_counters = NULL; in mlx5_dev_close()
H A Dmlx5.h1519 struct mlx5_devx_obj *q_counters; /* DevX queue counter object. */ member