Searched refs:mcounter (Results 1 – 2 of 2) sorted by relevance
1035 struct mlx5_rdma_counter *mcounter, in add_op_fc_rules() argument1058 opfc->fc = mcounter->fc[type]; in add_op_fc_rules()1193 *fc = mcounter->fc[shared_fc_type]; in is_fc_shared_and_in_use()1209 if (!mcounter->fc[i]) in mlx5r_fs_destroy_fcs()1213 mcounter->fc[i] = NULL; in mlx5r_fs_destroy_fcs()1217 mlx5_fc_destroy(dev->mdev, mcounter->fc[i]); in mlx5r_fs_destroy_fcs()1218 mcounter->fc[i] = NULL; in mlx5r_fs_destroy_fcs()1428 mcounter->fc[per_qp_type] = in_use_fc; in mlx5r_fs_bind_op_fc()1430 if (!mcounter->fc[per_qp_type]) { in mlx5r_fs_bind_op_fc()1433 if (IS_ERR(mcounter->fc[per_qp_type])) in mlx5r_fs_bind_op_fc()[all …]
452 struct mlx5_rdma_counter *mcounter = to_mcounter(counter); in do_per_qp_get_op_stat() local458 if (!mcounter->fc[i]) in do_per_qp_get_op_stat()461 ret = mlx5_fc_query(dev->mdev, mcounter->fc[i], in do_per_qp_get_op_stat()597 struct mlx5_rdma_counter *mcounter = to_mcounter(counter); in mlx5_ib_counter_dealloc() local604 WARN_ON(!xa_empty(&mcounter->qpn_opfc_xa)); in mlx5_ib_counter_dealloc()1191 struct mlx5_rdma_counter *mcounter = to_mcounter(counter); in mlx5_ib_counter_init() local1193 xa_init(&mcounter->qpn_opfc_xa); in mlx5_ib_counter_init()