Lines Matching refs:counter_index
509 mlx4_counter_free(dev->dev, qp->counter_index->index);
510 list_del(&qp->counter_index->list);
513 kfree(qp->counter_index);
514 qp->counter_index = NULL;
1640 if (mqp->counter_index)
1919 struct counter_index *new_counter_index;
1941 qp->counter_index = new_counter_index;
2096 int counter_index;
2186 if (new_state == IB_QPS_RESET && qp->counter_index)
2219 counter_index =
2221 if (qp->counter_index)
2222 counter_index = qp->counter_index->index;
2224 if (counter_index != -1) {
2225 context->pri_path.counter_index = counter_index;
2227 if (qp->counter_index) {
2234 context->pri_path.counter_index =
2585 if (err && qp->counter_index)
4286 if (qp->counter_index)