Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dcq.c608 struct ib_wc *wc, int *npolled, int is_send) in mlx4_ib_qp_sw_comp() argument
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() argument
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, 0); in mlx4_ib_poll_sw_comp()
648 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
882 int npolled; in mlx4_ib_poll_cq() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcq.c389 int *npolled, bool is_send) in sw_comp() argument
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() argument
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, false); in mlx5_ib_poll_sw_comp()
436 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
576 int npolled = 0; in poll_soft_wc() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
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/
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-5.10/drivers/infiniband/hw/mthca/
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/
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/
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-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c3196 int npolled = 0; in sw_comp() local
3203 while (npolled < left) { in sw_comp()
3211 npolled++; in sw_comp()
3214 return npolled; in sw_comp()
3221 int npolled = 0; in hns_roce_v2_sw_poll_cq() local
3224 npolled += sw_comp(hr_qp, &hr_qp->sq, in hns_roce_v2_sw_poll_cq()
3225 num_entries - npolled, wc + npolled); in hns_roce_v2_sw_poll_cq()
3226 if (npolled >= num_entries) in hns_roce_v2_sw_poll_cq()
3231 npolled += sw_comp(hr_qp, &hr_qp->rq, in hns_roce_v2_sw_poll_cq()
3232 num_entries - npolled, wc + npolled); in hns_roce_v2_sw_poll_cq()
[all …]
Dhns_roce_hw_v1.c2307 int npolled; in hns_roce_v1_poll_cq() local
2312 for (npolled = 0; npolled < num_entries; ++npolled) { in hns_roce_v1_poll_cq()
2313 ret = hns_roce_v1_poll_one(hr_cq, &cur_qp, wc + npolled); in hns_roce_v1_poll_cq()
2318 if (npolled) { in hns_roce_v1_poll_cq()
2330 return npolled; in hns_roce_v1_poll_cq()