Home
last modified time | relevance | path

Searched refs:rdma_counter (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/infiniband/core/
Dcounters.c78 static void auto_mode_init_counter(struct rdma_counter *counter, in auto_mode_init_counter()
91 static int __rdma_counter_bind_qp(struct rdma_counter *counter, in __rdma_counter_bind_qp()
141 static struct rdma_counter *alloc_and_bind(struct ib_device *dev, u32 port, in alloc_and_bind()
146 struct rdma_counter *counter; in alloc_and_bind()
207 static void rdma_counter_free(struct rdma_counter *counter) in rdma_counter_free()
225 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match()
243 struct rdma_counter *counter = qp->counter; in __rdma_counter_unbind_qp()
256 static void counter_history_stat_update(struct rdma_counter *counter) in counter_history_stat_update()
278 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode()
282 struct rdma_counter *counter = NULL; in rdma_get_counter_auto_mode()
[all …]
Drestrack.c144 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
252 struct rdma_counter *counter; in rdma_restrack_add()
254 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
Dnldev.c847 struct rdma_counter *counter) in fill_stat_counter_mode()
887 struct rdma_counter *counter) in fill_stat_counter_qps()
963 struct rdma_counter *counter) in fill_stat_counter_hwcounters()
996 struct rdma_counter *counter = in fill_res_counter_entry()
997 container_of(res, struct rdma_counter, res); in fill_res_counter_entry()
/Linux-v6.1/include/rdma/
Drdma_counter.h35 struct rdma_counter { struct
54 int rdma_counter_query_stats(struct rdma_counter *counter); argument
Dib_verbs.h1807 struct rdma_counter *counter;
2629 int (*counter_bind_qp)(struct rdma_counter *counter, struct ib_qp *qp);
2638 int (*counter_dealloc)(struct rdma_counter *counter);
2644 struct rdma_counter *counter);
2648 int (*counter_update_stats)(struct rdma_counter *counter);
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dqp.h46 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter);
Dcounters.c410 mlx5_ib_counter_alloc_stats(struct rdma_counter *counter) in mlx5_ib_counter_alloc_stats()
419 static int mlx5_ib_counter_update_stats(struct rdma_counter *counter) in mlx5_ib_counter_update_stats()
429 static int mlx5_ib_counter_dealloc(struct rdma_counter *counter) in mlx5_ib_counter_dealloc()
443 static int mlx5_ib_counter_bind_qp(struct rdma_counter *counter, in mlx5_ib_counter_bind_qp()
Dqp.c3961 struct rdma_counter *counter) in __mlx5_ib_qp_set_counter()
5670 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter) in mlx5_ib_qp_set_counter()