| /freebsd-9-stable/contrib/ofed/libmlx4/src/ |
| D | cq.c | 126 return get_sw_cqe(cq, cq->cons_index); in next_cqe_sw() 131 *cq->set_ci_db = htonl(cq->cons_index & 0xffffff); in update_cons_index() 210 ++cq->cons_index; in mlx4_poll_one() 375 ci = cq->cons_index & 0xffffff; in mlx4_arm_cq() 418 for (prod_index = cq->cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_cq_clean() 419 if (prod_index == cq->cons_index + cq->ibv_cq.cqe) in __mlx4_cq_clean() 426 while ((int) --prod_index - (int) cq->cons_index >= 0) { in __mlx4_cq_clean() 449 cq->cons_index += nfreed; in __mlx4_cq_clean() 470 for (i = cq->cons_index; get_sw_cqe(cq, (i & cq->ibv_cq.cqe)); ++i) in mlx4_get_outstanding_cqes() 473 return i - cq->cons_index; in mlx4_get_outstanding_cqes() [all …]
|
| D | mlx4.h | 223 uint32_t cons_index; member
|
| D | verbs.c | 181 cq->cons_index = 0; in mlx4_create_cq()
|
| /freebsd-9-stable/contrib/ofed/libmthca/src/ |
| D | cq.c | 138 return cqe_sw(cq, cq->cons_index & cq->ibv_cq.cqe); in next_cqe_sw() 156 *cq->set_ci_db = htonl(cq->cons_index); in update_cons_index() 188 cq->cqn, cq->cons_index); in handle_error_cqe() 454 ++cq->cons_index; in mthca_poll_one() 509 ci = htonl(cq->cons_index); in mthca_arbel_arm_cq() 562 for (prod_index = cq->cons_index; in __mthca_cq_clean() 565 if (prod_index == cq->cons_index + cq->ibv_cq.cqe) in __mthca_cq_clean() 572 while ((int) --prod_index - (int) cq->cons_index >= 0) { in __mthca_cq_clean() 586 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibv_cq.cqe)); in __mthca_cq_clean() 588 cq->cons_index += nfreed; in __mthca_cq_clean() [all …]
|
| D | mthca.h | 159 uint32_t cons_index; member
|
| D | verbs.c | 204 cq->cons_index = 0; in mthca_create_cq()
|
| /freebsd-9-stable/sys/ofed/drivers/infiniband/hw/mthca/ |
| D | mthca_cq.c | 180 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); in next_cqe_sw() 207 *cq->set_ci_db = cpu_to_be32(cq->cons_index); in update_cons_index() 293 for (prod_index = cq->cons_index; in mthca_cq_clean() 296 if (prod_index == cq->cons_index + cq->ibcq.cqe) in mthca_cq_clean() 301 qpn, cq->cqn, cq->cons_index, prod_index); in mthca_cq_clean() 307 while ((int) --prod_index - (int) cq->cons_index >= 0) { in mthca_cq_clean() 320 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibcq.cqe)); in mthca_cq_clean() 322 cq->cons_index += nfreed; in mthca_cq_clean() 341 cq->cons_index &= cq->ibcq.cqe; in mthca_cq_resize_copy_cqes() 343 cq->cons_index -= cq->ibcq.cqe + 1; in mthca_cq_resize_copy_cqes() [all …]
|
| D | mthca_eq.c | 236 eqe = get_eqe(eq, eq->cons_index); in next_eqe_sw() 362 ++eq->cons_index; in mthca_eq_int() 378 set_eq_ci(dev, eq, eq->cons_index); in mthca_eq_int() 410 dev->eq_table.eq[i].cons_index); in mthca_tavor_interrupt() 423 tavor_set_eq_ci(dev, eq, eq->cons_index); in mthca_tavor_msi_x_interrupt() 443 dev->eq_table.eq[i].cons_index); in mthca_arbel_interrupt() 457 arbel_set_eq_ci(dev, eq, eq->cons_index); in mthca_arbel_msi_x_interrupt() 561 eq->cons_index = 0; in mthca_create_eq()
|
| D | mthca_provider.h | 109 u32 cons_index; member 205 u32 cons_index; member
|
| /freebsd-9-stable/sys/ofed/drivers/infiniband/hw/mlx4/ |
| D | cq.c | 92 return get_sw_cqe(cq, cq->mcq.cons_index); in next_cqe_sw() 333 i = cq->mcq.cons_index; in mlx4_ib_get_outstanding_cqes() 337 return i - cq->mcq.cons_index; in mlx4_ib_get_outstanding_cqes() 347 i = cq->mcq.cons_index; in mlx4_ib_cq_resize_copy_cqes() 362 ++cq->mcq.cons_index; in mlx4_ib_cq_resize_copy_cqes() 624 ++cq->mcq.cons_index; in mlx4_ib_poll_one() 854 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean() 855 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean() 862 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean() 882 cq->mcq.cons_index += nfreed; in __mlx4_ib_cq_clean()
|
| /freebsd-9-stable/sys/ofed/drivers/net/mlx4/ |
| D | eq.c | 98 __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) | in eq_set_ci() 119 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index, eqe_factor); in next_eqe_sw() 120 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe; in next_eqe_sw() 490 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 521 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 616 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 712 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int() 715 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); in mlx4_eq_int() 738 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int() 740 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); in mlx4_eq_int() [all …]
|
| D | en_rx.c | 580 u32 cons_index = mcq->cons_index; in mlx4_en_process_rx_cq() local 591 index = cons_index & size_mask; in mlx4_en_process_rx_cq() 596 cons_index & size)) { in mlx4_en_process_rx_cq() 673 ++cons_index; in mlx4_en_process_rx_cq() 674 index = cons_index & size_mask; in mlx4_en_process_rx_cq() 688 mcq->cons_index = cons_index; in mlx4_en_process_rx_cq() 691 ring->cons = mcq->cons_index; in mlx4_en_process_rx_cq()
|
| D | en_tx.c | 382 u32 cons_index = mcq->cons_index; in mlx4_en_process_tx_cq() local 391 index = cons_index & size_mask; in mlx4_en_process_tx_cq() 398 cons_index & size)) { in mlx4_en_process_tx_cq() 429 ++cons_index; in mlx4_en_process_tx_cq() 430 index = cons_index & size_mask; in mlx4_en_process_tx_cq() 439 mcq->cons_index = cons_index; in mlx4_en_process_tx_cq()
|
| D | cq.c | 328 cq->cons_index = 0; in mlx4_cq_alloc()
|
| D | mlx4.h | 379 u32 cons_index; member
|
| /freebsd-9-stable/sys/ofed/include/linux/mlx4/ |
| D | cq.h | 150 ci = cq->cons_index & 0xffffff; in mlx4_cq_arm() 168 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx4_cq_set_ci()
|
| D | device.h | 662 u32 cons_index; member
|
| /freebsd-9-stable/contrib/ofed/libmlx4/fixes/ |
| D | xrc_consolidated_v2.patch | 111 while ((int) --prod_index - (int) cq->cons_index >= 0) {
|
| /freebsd-9-stable/contrib/ofed/libmthca/ |
| D | ChangeLog | 265 cq->cons_index carefully.
|