Lines Matching refs:counter_index
544 mlx4_counter_free(dev->dev, qp->counter_index->index);
545 list_del(&qp->counter_index->list);
548 kfree(qp->counter_index);
549 qp->counter_index = NULL;
1675 if (mqp->counter_index)
1952 struct counter_index *new_counter_index;
1974 qp->counter_index = new_counter_index;
2129 int counter_index;
2219 if (new_state == IB_QPS_RESET && qp->counter_index)
2252 counter_index =
2254 if (qp->counter_index)
2255 counter_index = qp->counter_index->index;
2257 if (counter_index != -1) {
2258 context->pri_path.counter_index = counter_index;
2260 if (qp->counter_index) {
2267 context->pri_path.counter_index =
2618 if (err && qp->counter_index)
4321 if (qp->counter_index)