Home
last modified time | relevance | path

Searched refs:prod_index (Results 1 – 9 of 9) sorted by relevance

/freebsd-11-stable/contrib/ofed/libmlx4/
HDcq.c717 uint32_t prod_index; in __mlx4_cq_clean() local
729 for (prod_index = cq->cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_cq_clean()
730 if (prod_index == cq->cons_index + cq->ibv_cq.cqe) in __mlx4_cq_clean()
737 while ((int) --prod_index - (int) cq->cons_index >= 0) { in __mlx4_cq_clean()
738 cqe = get_cqe(cq, prod_index & cq->ibv_cq.cqe); in __mlx4_cq_clean()
750 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibv_cq.cqe); in __mlx4_cq_clean()
/freebsd-11-stable/sys/dev/mthca/
HDmthca_cq.c282 u32 prod_index; in mthca_cq_clean() local
294 for (prod_index = cq->cons_index; in mthca_cq_clean()
295 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean()
296 ++prod_index) in mthca_cq_clean()
297 if (prod_index == cq->cons_index + cq->ibcq.cqe) in mthca_cq_clean()
302 qpn, cq->cqn, cq->cons_index, prod_index); in mthca_cq_clean()
308 while ((int) --prod_index - (int) cq->cons_index >= 0) { in mthca_cq_clean()
309 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean()
315 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean()
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
HDmlx4_ib_cq.c920 u32 prod_index; in __mlx4_ib_cq_clean() local
933 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean()
934 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean()
941 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean()
942 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
950 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
HDmlx5_ib_cq.c1040 u32 prod_index; in __mlx5_ib_cq_clean() local
1053 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean()
1054 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean()
1060 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean()
1061 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
1068 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
/freebsd-11-stable/contrib/ofed/libmlx5/
HDcq.c1365 uint32_t prod_index; in __mlx5_cq_clean() local
1382 for (prod_index = cq->cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx5_cq_clean()
1383 if (prod_index == cq->cons_index + cq->ibv_cq.cqe) in __mlx5_cq_clean()
1391 while ((int) --prod_index - (int) cq->cons_index >= 0) { in __mlx5_cq_clean()
1392 cqe = get_cqe(cq, prod_index & cq->ibv_cq.cqe); in __mlx5_cq_clean()
1397 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibv_cq.cqe); in __mlx5_cq_clean()
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
HDecore_int_api.h93 prod = OSAL_LE32_TO_CPU(sb_info->sb_virt->prod_index) & in ecore_sb_update_sb_idx()
HDcommon_hsi.h1377 __le32 prod_index; member
1398 __le32 prod_index; member
/freebsd-11-stable/sys/dev/qlxgbe/
HDql_hw.h1123 uint32_t prod_index; member
HDql_hw.c3486 hw_tx_cntxt->tx_prod_reg = tcntxt_rsp->tx_ring[0].prod_index; in qla_init_xmt_cntxt_i()