wqe_index 2476 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, int wqe_index) wqe_index 2481 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bitmap_clear(srq->idx_que.bitmap, wqe_index, 1); wqe_index 2498 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int wqe_index; wqe_index 2518 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wqe_index = roce_get_field(cqe->byte_4, wqe_index 2521 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_free_srq_wqe(srq, wqe_index); wqe_index 517 drivers/infiniband/hw/mlx4/cq.c be32_to_cpu(cqe->my_qpn), be16_to_cpu(cqe->wqe_index), wqe_index 739 drivers/infiniband/hw/mlx4/cq.c wqe_ctr = be16_to_cpu(cqe->wqe_index); wqe_index 746 drivers/infiniband/hw/mlx4/cq.c wqe_ctr = be16_to_cpu(cqe->wqe_index); wqe_index 751 drivers/infiniband/hw/mlx4/cq.c wqe_ctr = be16_to_cpu(cqe->wqe_index); wqe_index 948 drivers/infiniband/hw/mlx4/cq.c mlx4_ib_free_srq_wqe(srq, be16_to_cpu(cqe->wqe_index)); wqe_index 767 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_free_srq_wqe(struct mlx4_ib_srq *srq, int wqe_index); wqe_index 286 drivers/infiniband/hw/mlx4/srq.c void mlx4_ib_free_srq_wqe(struct mlx4_ib_srq *srq, int wqe_index) wqe_index 294 drivers/infiniband/hw/mlx4/srq.c next->next_wqe_index = cpu_to_be16(wqe_index); wqe_index 295 drivers/infiniband/hw/mlx4/srq.c srq->tail = wqe_index; wqe_index 1105 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_free_srq_wqe(struct mlx5_ib_srq *srq, int wqe_index); wqe_index 1134 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_read_user_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, wqe_index 1136 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_read_user_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, wqe_index 1138 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_read_user_wqe_srq(struct mlx5_ib_srq *srq, int wqe_index, wqe_index 61 drivers/infiniband/hw/mlx5/odp.c u16 wqe_index; wqe_index 1030 drivers/infiniband/hw/mlx5/odp.c u16 wqe_index = pfault->wqe.wqe_index; wqe_index 1044 drivers/infiniband/hw/mlx5/odp.c wqe_index, qpn); wqe_index 1169 drivers/infiniband/hw/mlx5/odp.c u16 wqe_index = pfault->wqe.wqe_index; wqe_index 1200 drivers/infiniband/hw/mlx5/odp.c ret = mlx5_ib_read_user_wqe_sq(qp, wqe_index, wqe, PAGE_SIZE, wqe_index 1207 drivers/infiniband/hw/mlx5/odp.c ret = mlx5_ib_read_user_wqe_rq(qp, wqe_index, wqe, PAGE_SIZE, wqe_index 1216 drivers/infiniband/hw/mlx5/odp.c ret = mlx5_ib_read_user_wqe_srq(srq, wqe_index, wqe, PAGE_SIZE, wqe_index 1244 drivers/infiniband/hw/mlx5/odp.c ret, wqe_index, pfault->token); wqe_index 1418 drivers/infiniband/hw/mlx5/odp.c pfault->wqe.wqe_index = wqe_index 1419 drivers/infiniband/hw/mlx5/odp.c be16_to_cpu(pf_eqe->wqe.wqe_index); wqe_index 1426 drivers/infiniband/hw/mlx5/odp.c pfault->wqe.wqe_index); wqe_index 135 drivers/infiniband/hw/mlx5/qp.c int wqe_index, wqe_index 142 drivers/infiniband/hw/mlx5/qp.c size_t offset = wq_offset + ((wqe_index % wq_wqe_cnt) << wq_wqe_shift); wqe_index 164 drivers/infiniband/hw/mlx5/qp.c int wqe_index, wqe_index 186 drivers/infiniband/hw/mlx5/qp.c wqe_index, wqe_index 230 drivers/infiniband/hw/mlx5/qp.c int wqe_index, wqe_index 244 drivers/infiniband/hw/mlx5/qp.c wqe_index, wqe_index 258 drivers/infiniband/hw/mlx5/qp.c int wqe_index, wqe_index 270 drivers/infiniband/hw/mlx5/qp.c wqe_index, wqe_index 406 drivers/infiniband/hw/mlx5/srq.c void mlx5_ib_free_srq_wqe(struct mlx5_ib_srq *srq, int wqe_index) wqe_index 414 drivers/infiniband/hw/mlx5/srq.c next->next_wqe_index = cpu_to_be16(wqe_index); wqe_index 415 drivers/infiniband/hw/mlx5/srq.c srq->tail = wqe_index; wqe_index 373 drivers/infiniband/hw/mthca/mthca_cq.c struct mthca_qp *qp, int wqe_index, int is_send, wqe_index 461 drivers/infiniband/hw/mthca/mthca_cq.c mthca_free_err_wqe(dev, qp, is_send, wqe_index, &dbd, &new_wqe); wqe_index 486 drivers/infiniband/hw/mthca/mthca_cq.c int wqe_index; wqe_index 535 drivers/infiniband/hw/mthca/mthca_cq.c wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset) wqe_index 537 drivers/infiniband/hw/mthca/mthca_cq.c entry->wr_id = (*cur_qp)->wrid[wqe_index + wqe_index 543 drivers/infiniband/hw/mthca/mthca_cq.c wqe_index = wqe >> srq->wqe_shift; wqe_index 544 drivers/infiniband/hw/mthca/mthca_cq.c entry->wr_id = srq->wrid[wqe_index]; wqe_index 550 drivers/infiniband/hw/mthca/mthca_cq.c wqe_index = wqe >> wq->wqe_shift; wqe_index 556 drivers/infiniband/hw/mthca/mthca_cq.c if (unlikely(wqe_index < 0)) wqe_index 557 drivers/infiniband/hw/mthca/mthca_cq.c wqe_index = wq->max - 1; wqe_index 558 drivers/infiniband/hw/mthca/mthca_cq.c entry->wr_id = (*cur_qp)->wrid[wqe_index]; wqe_index 562 drivers/infiniband/hw/mthca/mthca_cq.c if (wq->last_comp < wqe_index) wqe_index 563 drivers/infiniband/hw/mthca/mthca_cq.c wq->tail += wqe_index - wq->last_comp; wqe_index 565 drivers/infiniband/hw/mthca/mthca_cq.c wq->tail += wqe_index + wq->max - wq->last_comp; wqe_index 567 drivers/infiniband/hw/mthca/mthca_cq.c wq->last_comp = wqe_index; wqe_index 571 drivers/infiniband/hw/mthca/mthca_cq.c handle_error_cqe(dev, cq, *cur_qp, wqe_index, is_send, wqe_index 266 drivers/infiniband/sw/rxe/rxe_qp.c qp->req.wqe_index = producer_index(qp->sq.queue); wqe_index 71 drivers/infiniband/sw/rxe/rxe_req.c unsigned int wqe_index; wqe_index 76 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index = consumer_index(qp->sq.queue); wqe_index 80 drivers/infiniband/sw/rxe/rxe_req.c for (wqe_index = consumer_index(qp->sq.queue); wqe_index 81 drivers/infiniband/sw/rxe/rxe_req.c wqe_index != producer_index(qp->sq.queue); wqe_index 82 drivers/infiniband/sw/rxe/rxe_req.c wqe_index = next_index(qp->sq.queue, wqe_index)) { wqe_index 83 drivers/infiniband/sw/rxe/rxe_req.c wqe = addr_from_index(qp->sq.queue, wqe_index); wqe_index 150 drivers/infiniband/sw/rxe/rxe_req.c if (wqe && ((qp->req.wqe_index != wqe_index 174 drivers/infiniband/sw/rxe/rxe_req.c if (qp->req.wqe_index == producer_index(qp->sq.queue)) wqe_index 177 drivers/infiniband/sw/rxe/rxe_req.c wqe = addr_from_index(qp->sq.queue, qp->req.wqe_index); wqe_index 185 drivers/infiniband/sw/rxe/rxe_req.c (qp->req.wqe_index != consumer_index(qp->sq.queue)))) { wqe_index 580 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index = next_index(qp->sq.queue, qp->req.wqe_index); wqe_index 610 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index = consumer_index(qp->sq.queue); wqe_index 661 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index = next_index(qp->sq.queue, wqe_index 662 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index); wqe_index 706 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index = next_index(qp->sq.queue, wqe_index 707 drivers/infiniband/sw/rxe/rxe_req.c qp->req.wqe_index); wqe_index 144 drivers/infiniband/sw/rxe/rxe_verbs.h int wqe_index; wqe_index 589 drivers/net/ethernet/ibm/ehea/ehea_main.c int arr_len, int wqe_index) wqe_index 595 drivers/net/ethernet/ibm/ehea/ehea_main.c x = wqe_index + 1; wqe_index 608 drivers/net/ethernet/ibm/ehea/ehea_main.c skb = skb_array[wqe_index]; wqe_index 609 drivers/net/ethernet/ibm/ehea/ehea_main.c skb_array[wqe_index] = NULL; wqe_index 665 drivers/net/ethernet/ibm/ehea/ehea_main.c int wqe_index, last_wqe_index, rq, port_reset; wqe_index 670 drivers/net/ethernet/ibm/ehea/ehea_main.c cqe = ehea_poll_rq1(qp, &wqe_index); wqe_index 678 drivers/net/ethernet/ibm/ehea/ehea_main.c last_wqe_index = wqe_index; wqe_index 685 drivers/net/ethernet/ibm/ehea/ehea_main.c wqe_index); wqe_index 737 drivers/net/ethernet/ibm/ehea/ehea_main.c cqe = ehea_poll_rq1(qp, &wqe_index); wqe_index 880 drivers/net/ethernet/ibm/ehea/ehea_main.c int wqe_index; wqe_index 893 drivers/net/ethernet/ibm/ehea/ehea_main.c cqe = ehea_poll_rq1(pr->qp, &wqe_index); wqe_index 2476 drivers/net/ethernet/ibm/ehea/ehea_main.c int wqe_index; wqe_index 2480 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe = ehea_get_swqe(&qp, &wqe_index); wqe_index 308 drivers/net/ethernet/ibm/ehea/ehea_qmr.h int *wqe_index) wqe_index 313 drivers/net/ethernet/ibm/ehea/ehea_qmr.h *wqe_index = (queue->current_q_offset) >> (7 + EHEA_SG_SQ); wqe_index 325 drivers/net/ethernet/ibm/ehea/ehea_qmr.h static inline struct ehea_cqe *ehea_poll_rq1(struct ehea_qp *qp, int *wqe_index) wqe_index 329 drivers/net/ethernet/ibm/ehea/ehea_qmr.h *wqe_index = (queue->current_q_offset) >> (7 + EHEA_SG_RQ1); wqe_index 1729 drivers/net/ethernet/mellanox/mlx4/en_netdev.c cq->buf->wqe_index = cpu_to_be16(0xffff); wqe_index 450 drivers/net/ethernet/mellanox/mlx4/en_tx.c new_index = be16_to_cpu(cqe->wqe_index) & size_mask; wqe_index 57 include/linux/mlx4/cq.h __be16 wqe_index; wqe_index 66 include/linux/mlx4/cq.h __be16 wqe_index; wqe_index 82 include/linux/mlx4/cq.h __be16 wqe_index; wqe_index 633 include/linux/mlx5/device.h __be16 wqe_index; wqe_index 2483 include/linux/mlx5/mlx5_ifc.h u8 wqe_index[0x10];