Searched refs:rdma_counter (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.15/drivers/infiniband/core/ |
| D | counters.c | 78 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() 109 static struct rdma_counter *alloc_and_bind(struct ib_device *dev, u32 port, in alloc_and_bind() 114 struct rdma_counter *counter; in alloc_and_bind() 175 static void rdma_counter_free(struct rdma_counter *counter) in rdma_counter_free() 193 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match() 211 struct rdma_counter *counter = qp->counter; in __rdma_counter_unbind_qp() 224 static void counter_history_stat_update(struct rdma_counter *counter) in counter_history_stat_update() 246 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode() 250 struct rdma_counter *counter = NULL; in rdma_get_counter_auto_mode() [all …]
|
| D | restrack.c | 144 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()
|
| D | nldev.c | 845 struct rdma_counter *counter) in fill_stat_counter_mode() 885 struct rdma_counter *counter) in fill_stat_counter_qps() 961 struct rdma_counter *counter) in fill_stat_counter_hwcounters() 987 struct rdma_counter *counter = in fill_res_counter_entry() 988 container_of(res, struct rdma_counter, res); in fill_res_counter_entry()
|
| /Linux-v5.15/include/rdma/ |
| D | rdma_counter.h | 35 struct rdma_counter { struct 54 int rdma_counter_query_stats(struct rdma_counter *counter); argument
|
| D | ib_verbs.h | 1788 struct rdma_counter *counter; 2611 int (*counter_bind_qp)(struct rdma_counter *counter, struct ib_qp *qp); 2620 int (*counter_dealloc)(struct rdma_counter *counter); 2626 struct rdma_counter *counter); 2630 int (*counter_update_stats)(struct rdma_counter *counter);
|
| /Linux-v5.15/drivers/infiniband/hw/mlx5/ |
| D | qp.h | 46 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter);
|
| D | counters.c | 299 mlx5_ib_counter_alloc_stats(struct rdma_counter *counter) in mlx5_ib_counter_alloc_stats() 312 static int mlx5_ib_counter_update_stats(struct rdma_counter *counter) in mlx5_ib_counter_update_stats() 322 static int mlx5_ib_counter_dealloc(struct rdma_counter *counter) in mlx5_ib_counter_dealloc() 336 static int mlx5_ib_counter_bind_qp(struct rdma_counter *counter, in mlx5_ib_counter_bind_qp()
|
| D | qp.c | 3959 struct rdma_counter *counter) in __mlx5_ib_qp_set_counter() 5667 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter) in mlx5_ib_qp_set_counter()
|