Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_cq.c203 int npolled; in iwch_poll_cq() local
210 for (npolled = 0; npolled < num_entries; ++npolled) { in iwch_poll_cq()
218 err = iwch_poll_cq_one(rhp, chp, wc + npolled); in iwch_poll_cq()
228 return npolled; in iwch_poll_cq()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dcq.c613 struct ib_wc *wc, int *npolled, int is_send) in mlx4_ib_qp_sw_comp() argument
625 for (i = 0; i < cur && *npolled < num_entries; i++) { in mlx4_ib_qp_sw_comp()
630 (*npolled)++; in mlx4_ib_qp_sw_comp()
637 struct ib_wc *wc, int *npolled) in mlx4_ib_poll_sw_comp() argument
641 *npolled = 0; in mlx4_ib_poll_sw_comp()
646 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); in mlx4_ib_poll_sw_comp()
647 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
652 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0); in mlx4_ib_poll_sw_comp()
653 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
886 int npolled; in mlx4_ib_poll_cq() local
[all …]
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dcq.c371 int *npolled, int is_send) in sw_comp() argument
380 np = *npolled; in sw_comp()
394 *npolled = np; in sw_comp()
398 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp() argument
402 *npolled = 0; in mlx5_ib_poll_sw_comp()
405 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp()
406 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
411 sw_comp(qp, num_entries, wc + *npolled, npolled, false); in mlx5_ib_poll_sw_comp()
412 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
552 int npolled = 0; in poll_soft_wc() local
[all …]
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c387 int npolled; in pvrdma_poll_cq() local
393 for (npolled = 0; npolled < num_entries; ++npolled) { in pvrdma_poll_cq()
394 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) in pvrdma_poll_cq()
401 return npolled; in pvrdma_poll_cq()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dcq.c522 int npolled; in rvt_poll_cq() local
535 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in rvt_poll_cq()
539 trace_rvt_cq_poll(cq, &wc->kqueue[tail], npolled); in rvt_poll_cq()
550 return npolled; in rvt_poll_cq()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c90 int npolled; in dr_poll_cq() local
93 for (npolled = 0; npolled < ne; ++npolled) { in dr_poll_cq()
99 return err == CQ_POLL_ERR ? err : npolled; in dr_poll_cq()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c2395 int npolled; in hns_roce_v1_poll_cq() local
2400 for (npolled = 0; npolled < num_entries; ++npolled) { in hns_roce_v1_poll_cq()
2401 ret = hns_roce_v1_poll_one(hr_cq, &cur_qp, wc + npolled); in hns_roce_v1_poll_cq()
2406 if (npolled) { in hns_roce_v1_poll_cq()
2418 return npolled; in hns_roce_v1_poll_cq()
Dhns_roce_hw_v2.c2974 int npolled; in hns_roce_v2_poll_cq() local
2978 for (npolled = 0; npolled < num_entries; ++npolled) { in hns_roce_v2_poll_cq()
2979 if (hns_roce_v2_poll_one(hr_cq, &cur_qp, wc + npolled)) in hns_roce_v2_poll_cq()
2983 if (npolled) { in hns_roce_v2_poll_cq()
2991 return npolled; in hns_roce_v2_poll_cq()