/Linux-v5.10/drivers/infiniband/hw/mlx4/ |
D | cq.c | 608 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 …]
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | cq.c | 389 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 …]
|
/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 388 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()
|
/Linux-v5.10/drivers/infiniband/sw/rdmavt/ |
D | cq.c | 523 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()
|
/Linux-v5.10/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 663 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.10/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 953 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.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 91 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()
|
/Linux-v5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 3184 int npolled = 0; in sw_comp() local 3191 while (npolled < left) { in sw_comp() 3199 npolled++; in sw_comp() 3202 return npolled; in sw_comp() 3209 int npolled = 0; in hns_roce_v2_sw_poll_cq() local 3212 npolled += sw_comp(hr_qp, &hr_qp->sq, in hns_roce_v2_sw_poll_cq() 3213 num_entries - npolled, wc + npolled); in hns_roce_v2_sw_poll_cq() 3214 if (npolled >= num_entries) in hns_roce_v2_sw_poll_cq() 3219 npolled += sw_comp(hr_qp, &hr_qp->rq, in hns_roce_v2_sw_poll_cq() 3220 num_entries - npolled, wc + npolled); in hns_roce_v2_sw_poll_cq() [all …]
|
D | hns_roce_hw_v1.c | 2307 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()
|