Home
last modified time | relevance | path

Searched refs:npolled (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/hw/erdma/
H A Derdma_cq.c185 int npolled, ret; in erdma_poll_cq() local
189 for (npolled = 0; npolled < num_entries;) { in erdma_poll_cq()
190 ret = erdma_poll_one_cqe(cq, wc + npolled); in erdma_poll_cq()
197 npolled++; in erdma_poll_cq()
202 return npolled; in erdma_poll_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dcq.c608 struct ib_wc *wc, int *npolled, int is_send) in mlx4_ib_qp_sw_comp()
620 for (i = 0; i < cur && *npolled < num_entries; i++) { in mlx4_ib_qp_sw_comp()
625 (*npolled)++; in mlx4_ib_qp_sw_comp()
632 struct ib_wc *wc, int *npolled) in mlx4_ib_poll_sw_comp()
636 *npolled = 0; in mlx4_ib_poll_sw_comp()
641 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); in mlx4_ib_poll_sw_comp()
642 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
647 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, in mlx4_ib_poll_sw_comp()
607 mlx4_ib_qp_sw_comp(struct mlx4_ib_qp *qp, int num_entries, struct ib_wc *wc, int *npolled, int is_send) mlx4_ib_qp_sw_comp() argument
631 mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries, struct ib_wc *wc, int *npolled) mlx4_ib_poll_sw_comp() argument
882 int npolled; mlx4_ib_poll_cq() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dcq.c608 struct ib_wc *wc, int *npolled, int is_send) in mlx4_ib_qp_sw_comp()
620 for (i = 0; i < cur && *npolled < num_entries; i++) { in mlx4_ib_qp_sw_comp()
625 (*npolled)++; in mlx4_ib_qp_sw_comp()
632 struct ib_wc *wc, int *npolled) in mlx4_ib_poll_sw_comp()
636 *npolled = 0; in mlx4_ib_poll_sw_comp()
641 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); in mlx4_ib_poll_sw_comp()
642 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
647 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, in mlx4_ib_poll_sw_comp()
607 mlx4_ib_qp_sw_comp(struct mlx4_ib_qp *qp, int num_entries, struct ib_wc *wc, int *npolled, int is_send) mlx4_ib_qp_sw_comp() argument
631 mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries, struct ib_wc *wc, int *npolled) mlx4_ib_poll_sw_comp() argument
882 int npolled; mlx4_ib_poll_cq() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dcq.c389 int *npolled, bool is_send) in sw_comp()
398 np = *npolled; in sw_comp()
418 *npolled = np; in sw_comp()
422 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp()
426 *npolled = 0; in mlx5_ib_poll_sw_comp()
429 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp()
430 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
435 sw_comp(qp, num_entries, wc + *npolled, npolled, fals in mlx5_ib_poll_sw_comp()
388 sw_comp(struct mlx5_ib_qp *qp, int num_entries, struct ib_wc *wc, int *npolled, bool is_send) sw_comp() argument
421 mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries, struct ib_wc *wc, int *npolled) mlx5_ib_poll_sw_comp() argument
576 int npolled = 0; poll_soft_wc() local
605 int npolled; mlx5_ib_poll_cq() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dcq.c395 int *npolled, bool is_send) in sw_comp()
404 np = *npolled; in sw_comp()
424 *npolled = np; in sw_comp()
428 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp()
432 *npolled = 0; in mlx5_ib_poll_sw_comp()
435 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp()
436 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
441 sw_comp(qp, num_entries, wc + *npolled, npolled, fals in mlx5_ib_poll_sw_comp()
394 sw_comp(struct mlx5_ib_qp *qp, int num_entries, struct ib_wc *wc, int *npolled, bool is_send) sw_comp() argument
427 mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries, struct ib_wc *wc, int *npolled) mlx5_ib_poll_sw_comp() argument
586 int npolled = 0; poll_soft_wc() local
615 int npolled; mlx5_ib_poll_cq() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c388 int npolled; in pvrdma_poll_cq() local
394 for (npolled = 0; npolled < num_entries; ++npolled) { in pvrdma_poll_cq()
395 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) in pvrdma_poll_cq()
402 return npolled; in pvrdma_poll_cq()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A Dcq.c523 int npolled; in rvt_poll_cq() local
536 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in rvt_poll_cq()
540 trace_rvt_cq_poll(cq, &wc->kqueue[tail], npolled); in rvt_poll_cq()
551 return npolled; in rvt_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H A Dcq.c481 int npolled; in rvt_poll_cq() local
494 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in rvt_poll_cq()
498 trace_rvt_cq_poll(cq, &wc->kqueue[tail], npolled); in rvt_poll_cq()
509 return npolled; in rvt_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c391 int npolled; in pvrdma_poll_cq() local
397 for (npolled = 0; npolled < num_entries; ++npolled) { in pvrdma_poll_cq()
398 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) in pvrdma_poll_cq()
405 return npolled; in pvrdma_poll_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c663 int npolled; in mthca_poll_cq() local
667 npolled = 0; in mthca_poll_cq()
669 while (npolled < num_entries) { in mthca_poll_cq()
671 &freed, entry + npolled); in mthca_poll_cq()
674 ++npolled; in mthca_poll_cq()
720 return err == 0 || err == -EAGAIN ? npolled : err; in mthca_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c663 int npolled; in mthca_poll_cq() local
667 npolled = 0; in mthca_poll_cq()
669 while (npolled < num_entries) { in mthca_poll_cq()
671 &freed, entry + npolled); in mthca_poll_cq()
674 ++npolled; in mthca_poll_cq()
720 return err == 0 || err == -EAGAIN ? npolled : err; in mthca_poll_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
H A Dcq.c953 int npolled; in c4iw_poll_cq() local
959 for (npolled = 0; npolled < num_entries; ++npolled) { in c4iw_poll_cq()
961 err = c4iw_poll_cq_one(chp, wc + npolled); in c4iw_poll_cq()
967 return !err || err == -ENODATA ? npolled : err; in c4iw_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
H A Dcq.c953 int npolled; in c4iw_poll_cq() local
959 for (npolled = 0; npolled < num_entries; ++npolled) { in c4iw_poll_cq()
961 err = c4iw_poll_cq_one(chp, wc + npolled); in c4iw_poll_cq()
967 return !err || err == -ENODATA ? npolled : err; in c4iw_poll_cq()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_send.c91 int npolled; in dr_poll_cq() local
94 for (npolled = 0; npolled < ne; ++npolled) { in dr_poll_cq()
100 return err == CQ_POLL_ERR ? err : npolled; in dr_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c3397 int npolled; in free_mr_send_cmd_to_hw() local
3428 npolled = hns_roce_v2_poll_cq(&free_mr->rsv_cq->ib_cq, cqe_cnt, wc); in free_mr_send_cmd_to_hw()
3429 if (npolled < 0) { in free_mr_send_cmd_to_hw()
3442 cqe_cnt -= npolled; in free_mr_send_cmd_to_hw()
3616 int npolled = 0; in sw_comp() local
3623 while (npolled < left) { in sw_comp()
3631 npolled++; in sw_comp()
3634 return npolled; in sw_comp()
3641 int npolled = 0; in hns_roce_v2_sw_poll_cq() local
3644 npolled in hns_roce_v2_sw_poll_cq()
3942 int npolled; hns_roce_v2_poll_cq() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c3195 int npolled = 0; in sw_comp() local
3202 while (npolled < left) { in sw_comp()
3210 npolled++; in sw_comp()
3213 return npolled; in sw_comp()
3220 int npolled = 0; in hns_roce_v2_sw_poll_cq() local
3223 npolled += sw_comp(hr_qp, &hr_qp->sq, in hns_roce_v2_sw_poll_cq()
3224 num_entries - npolled, wc + npolled); in hns_roce_v2_sw_poll_cq()
3225 if (npolled >= num_entries) in hns_roce_v2_sw_poll_cq()
3230 npolled in hns_roce_v2_sw_poll_cq()
3521 int npolled; hns_roce_v2_poll_cq() local
[all...]
H A Dhns_roce_hw_v1.c2378 int npolled; in hns_roce_v1_poll_cq() local
2383 for (npolled = 0; npolled < num_entries; ++npolled) { in hns_roce_v1_poll_cq()
2384 ret = hns_roce_v1_poll_one(hr_cq, &cur_qp, wc + npolled); in hns_roce_v1_poll_cq()
2389 if (npolled) { in hns_roce_v1_poll_cq()
2401 return npolled; in hns_roce_v1_poll_cq()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_send.c237 int npolled; in dr_poll_cq() local
240 for (npolled = 0; npolled < ne; ++npolled) { in dr_poll_cq()
246 return err == CQ_POLL_ERR ? err : npolled; in dr_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dverbs.c3638 int npolled = 0; in __irdma_poll_cq() local
3646 while (npolled < num_entries) { in __irdma_poll_cq()
3647 ret = irdma_poll_one(&cq_buf->cq_uk, cur_cqe, entry + npolled); in __irdma_poll_cq()
3649 ++npolled; in __irdma_poll_cq()
3670 while (npolled < num_entries) { in __irdma_poll_cq()
3671 ret = irdma_poll_one(ukcq, cur_cqe, entry + npolled); in __irdma_poll_cq()
3675 irdma_process_cqe(entry + npolled, cur_cqe); in __irdma_poll_cq()
3678 ++npolled; in __irdma_poll_cq()
3703 return npolled; in __irdma_poll_cq()

Completed in 45 milliseconds