Home
last modified time | relevance | path

Searched refs:cq_count (Results 1 – 7 of 7) sorted by relevance

/drivers/net/enic/
Denic_res.c167 for (i = 0; i < enic->cq_count; i++) in enic_free_vnic_resources()
177 enic->cq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_CQ); in enic_get_res_counts()
184 enic->cq_count, enic->intr_count); in enic_get_res_counts()
241 for (i = 0; i < enic->cq_count; i++) { in enic_init_vnic_resources()
305 enic->cq_count, enic->intr_count, in enic_alloc_vnic_resources()
331 for (i = 0; i < enic->cq_count; i++) { in enic_alloc_vnic_resources()
Denic.h111 unsigned int cq_count; member
Denic_main.c1347 for (i = 0; i < enic->cq_count; i++) in enic_stop()
1509 enic->cq_count >= n + m && in enic_set_intr_mode()
1515 enic->cq_count = n + m; in enic_set_intr_mode()
1531 enic->cq_count >= 2 && in enic_set_intr_mode()
1537 enic->cq_count = 2; in enic_set_intr_mode()
1556 enic->cq_count >= 2 && in enic_set_intr_mode()
1561 enic->cq_count = 2; in enic_set_intr_mode()
/drivers/infiniband/hw/nes/
Dnes_hw.c172 u16 cq_count = nesdev->currcq_count; in nes_nic_tune_timer() local
176 if (shared_timer->cq_count_old <= cq_count) in nes_nic_tune_timer()
180 shared_timer->cq_count_old = cq_count; in nes_nic_tune_timer()
182 if (cq_count <= shared_timer->threshold_low && in nes_nic_tune_timer()
192 if (cq_count > 1) { in nes_nic_tune_timer()
193 nesdev->deepcq_count += cq_count; in nes_nic_tune_timer()
194 if (cq_count <= shared_timer->threshold_low) { /* increase timer gently */ in nes_nic_tune_timer()
197 } else if (cq_count <= shared_timer->threshold_target) { /* balanced */ in nes_nic_tune_timer()
200 } else if (cq_count <= shared_timer->threshold_high) { /* decrease timer gently */ in nes_nic_tune_timer()
203 } else if (cq_count <= (shared_timer->threshold_high) * 2) { in nes_nic_tune_timer()
/drivers/infiniband/core/
Dverbs.c630 int ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in ib_modify_cq() argument
633 cq->device->modify_cq(cq, cq_count, cq_period) : -ENOSYS; in ib_modify_cq()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h260 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
Dcq.c89 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx4_ib_modify_cq() argument
94 return mlx4_cq_modify(dev->dev, &mcq->mcq, cq_count, cq_period); in mlx4_ib_modify_cq()