/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_cq.c | 183 int npolled, ret; in erdma_poll_cq() local 187 for (npolled = 0; npolled < num_entries;) { in erdma_poll_cq() 188 ret = erdma_poll_one_cqe(cq, wc + npolled); in erdma_poll_cq() 195 npolled++; in erdma_poll_cq() 200 return npolled; in erdma_poll_cq()
|
/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/mlx5/ |
D | cq.c | 392 int *npolled, bool is_send) in sw_comp() argument 401 np = *npolled; in sw_comp() 421 *npolled = np; in sw_comp() 425 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp() argument 429 *npolled = 0; in mlx5_ib_poll_sw_comp() 432 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp() 433 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp() 438 sw_comp(qp, num_entries, wc + *npolled, npolled, false); in mlx5_ib_poll_sw_comp() 439 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp() 583 int npolled = 0; in poll_soft_wc() local [all …]
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 391 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()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | cq.c | 481 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()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 93 int npolled; in dr_poll_cq() local 96 for (npolled = 0; npolled < ne; ++npolled) { in dr_poll_cq() 102 return err == CQ_POLL_ERR ? err : npolled; in dr_poll_cq()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 3518 int npolled; in free_mr_send_cmd_to_hw() local 3549 npolled = hns_roce_v2_poll_cq(&free_mr->rsv_cq->ib_cq, cqe_cnt, wc); in free_mr_send_cmd_to_hw() 3550 if (npolled < 0) { in free_mr_send_cmd_to_hw() 3563 cqe_cnt -= npolled; in free_mr_send_cmd_to_hw() 3770 int npolled = 0; in sw_comp() local 3777 while (npolled < left) { in sw_comp() 3785 npolled++; in sw_comp() 3788 return npolled; in sw_comp() 3795 int npolled = 0; in hns_roce_v2_sw_poll_cq() local 3798 npolled += sw_comp(hr_qp, &hr_qp->sq, in hns_roce_v2_sw_poll_cq() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | verbs.c | 3439 int npolled = 0; in __irdma_poll_cq() local 3447 while (npolled < num_entries) { in __irdma_poll_cq() 3448 ret = irdma_poll_one(&cq_buf->cq_uk, cur_cqe, entry + npolled); in __irdma_poll_cq() 3450 ++npolled; in __irdma_poll_cq() 3471 while (npolled < num_entries) { in __irdma_poll_cq() 3472 ret = irdma_poll_one(ukcq, cur_cqe, entry + npolled); in __irdma_poll_cq() 3476 irdma_process_cqe(entry + npolled, cur_cqe); in __irdma_poll_cq() 3479 ++npolled; in __irdma_poll_cq() 3504 return npolled; in __irdma_poll_cq()
|