wqe_cnt 2263 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.wqe_cnt == BNXT_RE_UD_QP_HW_STALL) { wqe_cnt 2270 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.wqe_cnt = 0; wqe_cnt 1788 drivers/infiniband/hw/bnxt_re/qplib_fp.c qp->wqe_cnt++; wqe_cnt 276 drivers/infiniband/hw/bnxt_re/qplib_fp.h u64 wqe_cnt; wqe_cnt 428 drivers/infiniband/hw/hns/hns_roce_device.h u32 wqe_cnt; /* WQE num */ wqe_cnt 648 drivers/infiniband/hw/hns/hns_roce_device.h u32 wqe_cnt; wqe_cnt 99 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wqe_idx = (qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1); wqe_cnt 325 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (qp->sq.head & ((qp->sq.wqe_cnt << 1) - 1))); wqe_cnt 373 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wqe_idx = (hr_qp->rq.head + nreq) & (hr_qp->rq.wqe_cnt - 1); wqe_cnt 2296 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ((*cur_qp)->sq.wqe_cnt-1)); wqe_cnt 2332 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (wq->wqe_cnt - 1); wqe_cnt 2334 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 2369 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 2599 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ilog2((unsigned int)hr_qp->sq.wqe_cnt)); wqe_cnt 2603 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ilog2((unsigned int)hr_qp->rq.wqe_cnt)); wqe_cnt 2783 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ilog2((unsigned int)hr_qp->sq.wqe_cnt)); wqe_cnt 2787 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ilog2((unsigned int)hr_qp->rq.wqe_cnt)); wqe_cnt 2849 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ilog2((unsigned int)hr_qp->sq.wqe_cnt)); wqe_cnt 2853 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ilog2((unsigned int)hr_qp->rq.wqe_cnt)); wqe_cnt 3436 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_wr = hr_qp->rq.wqe_cnt; wqe_cnt 3438 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; wqe_cnt 3572 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_wr = hr_qp->rq.wqe_cnt; wqe_cnt 3576 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; wqe_cnt 286 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wqe_idx = (qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1); wqe_cnt 299 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ~(((qp->sq.head + nreq) >> ilog2(qp->sq.wqe_cnt)) & 0x1); wqe_cnt 590 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp->sq.head & ((qp->sq.wqe_cnt << 1) - 1)); wqe_cnt 651 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wqe_idx = (hr_qp->rq.head + nreq) & (hr_qp->rq.wqe_cnt - 1); wqe_cnt 2671 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wr_cnt = wr_num & ((*cur_qp)->rq.wqe_cnt - 1); wqe_cnt 2752 drivers/infiniband/hw/hns/hns_roce_hw_v2.c (wq->wqe_cnt - 1); wqe_cnt 2755 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 2767 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 3241 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ilog2((unsigned int)hr_qp->sq.wqe_cnt)); wqe_cnt 3250 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ilog2((unsigned int)hr_qp->rq.wqe_cnt)); wqe_cnt 3647 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (hr_qp->rq.wqe_cnt < 1) wqe_cnt 4472 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (hr_qp->rq.wqe_cnt) wqe_cnt 4631 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_recv_wr = hr_qp->rq.wqe_cnt; wqe_cnt 4635 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; wqe_cnt 4698 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (hr_qp->sq.wqe_cnt && (hr_qp->sdb_en == 1)) wqe_cnt 4701 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (hr_qp->rq.wqe_cnt && (hr_qp->rdb_en == 1)) wqe_cnt 4707 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (hr_qp->rq.wqe_cnt) wqe_cnt 4713 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->rq.wqe_cnt) { wqe_cnt 288 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.wqe_cnt = 0; wqe_cnt 303 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.wqe_cnt = roundup_pow_of_two(max_cnt); wqe_cnt 305 drivers/infiniband/hw/hns/hns_roce_qp.c if ((u32)hr_qp->rq.wqe_cnt > hr_dev->caps.max_wqes) { wqe_cnt 321 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_wr = hr_qp->rq.max_post = hr_qp->rq.wqe_cnt; wqe_cnt 360 drivers/infiniband/hw/hns/hns_roce_qp.c if (check_shl_overflow(1, ucmd->log_sq_bb_count, &hr_qp->sq.wqe_cnt) || wqe_cnt 361 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.wqe_cnt > hr_dev->caps.max_wqes) wqe_cnt 379 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sge.sge_cnt = roundup_pow_of_two(hr_qp->sq.wqe_cnt * wqe_cnt 396 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->buff_size = HNS_ROCE_ALOGN_UP((hr_qp->rq.wqe_cnt << wqe_cnt 398 drivers/infiniband/hw/hns/hns_roce_qp.c HNS_ROCE_ALOGN_UP((hr_qp->sq.wqe_cnt << wqe_cnt 402 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.offset = HNS_ROCE_ALOGN_UP((hr_qp->sq.wqe_cnt << wqe_cnt 408 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->buff_size = HNS_ROCE_ALOGN_UP((hr_qp->rq.wqe_cnt << wqe_cnt 412 drivers/infiniband/hw/hns/hns_roce_qp.c HNS_ROCE_ALOGN_UP((hr_qp->sq.wqe_cnt << wqe_cnt 418 drivers/infiniband/hw/hns/hns_roce_qp.c (hr_qp->sq.wqe_cnt << wqe_cnt 427 drivers/infiniband/hw/hns/hns_roce_qp.c (hr_qp->sq.wqe_cnt << wqe_cnt 527 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sge.sge_cnt = roundup_pow_of_two(hr_qp->sq.wqe_cnt * wqe_cnt 534 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sge.sge_cnt = roundup_pow_of_two(hr_qp->sq.wqe_cnt * wqe_cnt 574 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.wqe_cnt = roundup_pow_of_two(max_cnt); wqe_cnt 575 drivers/infiniband/hw/hns/hns_roce_qp.c if ((u32)hr_qp->sq.wqe_cnt > hr_dev->caps.max_wqes) { wqe_cnt 596 drivers/infiniband/hw/hns/hns_roce_qp.c size = HNS_ROCE_ALOGN_UP(hr_qp->sq.wqe_cnt << hr_qp->sq.wqe_shift, wqe_cnt 608 drivers/infiniband/hw/hns/hns_roce_qp.c size += HNS_ROCE_ALOGN_UP((hr_qp->rq.wqe_cnt << hr_qp->rq.wqe_shift), wqe_cnt 613 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_send_wr = hr_qp->sq.max_post = hr_qp->sq.wqe_cnt; wqe_cnt 645 drivers/infiniband/hw/hns/hns_roce_qp.c u32 wqe_cnt = hr_qp->rq.wqe_cnt; wqe_cnt 649 drivers/infiniband/hw/hns/hns_roce_qp.c wqe_list = kcalloc(wqe_cnt, sizeof(struct hns_roce_rinl_wqe), wqe_cnt 656 drivers/infiniband/hw/hns/hns_roce_qp.c wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * wqe_cnt 663 drivers/infiniband/hw/hns/hns_roce_qp.c for (i = 1; i < wqe_cnt; i++) wqe_cnt 667 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq_inl_buf.wqe_cnt = wqe_cnt; wqe_cnt 879 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.wrid = kcalloc(hr_qp->sq.wqe_cnt, sizeof(u64), wqe_cnt 886 drivers/infiniband/hw/hns/hns_roce_qp.c if (hr_qp->rq.wqe_cnt) { wqe_cnt 887 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.wrid = kcalloc(hr_qp->rq.wqe_cnt, sizeof(u64), wqe_cnt 978 drivers/infiniband/hw/hns/hns_roce_qp.c if (hr_qp->rq.wqe_cnt) wqe_cnt 626 drivers/infiniband/hw/mlx4/cq.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 742 drivers/infiniband/hw/mlx4/cq.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 756 drivers/infiniband/hw/mlx4/cq.c tail = wq->tail & (wq->wqe_cnt - 1); wqe_cnt 170 drivers/infiniband/hw/mlx4/mlx4_ib.h int wqe_cnt; wqe_cnt 220 drivers/infiniband/hw/mlx4/qp.c buf = get_send_wqe(qp, n & (qp->sq.wqe_cnt - 1)); wqe_cnt 340 drivers/infiniband/hw/mlx4/qp.c qp->rq.wqe_cnt = qp->rq.max_gs = 0; wqe_cnt 351 drivers/infiniband/hw/mlx4/qp.c qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr)); wqe_cnt 359 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt; wqe_cnt 363 drivers/infiniband/hw/mlx4/qp.c min(dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE, qp->rq.wqe_cnt); wqe_cnt 407 drivers/infiniband/hw/mlx4/qp.c qp->sq.wqe_cnt = roundup_pow_of_two(cap->max_send_wr + wqe_cnt 416 drivers/infiniband/hw/mlx4/qp.c qp->buf_size = (qp->rq.wqe_cnt << qp->rq.wqe_shift) + wqe_cnt 417 drivers/infiniband/hw/mlx4/qp.c (qp->sq.wqe_cnt << qp->sq.wqe_shift); wqe_cnt 420 drivers/infiniband/hw/mlx4/qp.c qp->sq.offset = qp->rq.wqe_cnt << qp->rq.wqe_shift; wqe_cnt 422 drivers/infiniband/hw/mlx4/qp.c qp->rq.offset = qp->sq.wqe_cnt << qp->sq.wqe_shift; wqe_cnt 427 drivers/infiniband/hw/mlx4/qp.c qp->sq.wqe_cnt - qp->sq_spare_wqes; wqe_cnt 448 drivers/infiniband/hw/mlx4/qp.c qp->sq.wqe_cnt = 1 << ucmd->log_sq_bb_count; wqe_cnt 451 drivers/infiniband/hw/mlx4/qp.c qp->buf_size = (qp->rq.wqe_cnt << qp->rq.wqe_shift) + wqe_cnt 452 drivers/infiniband/hw/mlx4/qp.c (qp->sq.wqe_cnt << qp->sq.wqe_shift); wqe_cnt 462 drivers/infiniband/hw/mlx4/qp.c kmalloc_array(qp->rq.wqe_cnt, sizeof(struct mlx4_ib_buf), wqe_cnt 466 drivers/infiniband/hw/mlx4/qp.c for (i = 0; i < qp->rq.wqe_cnt; i++) { wqe_cnt 500 drivers/infiniband/hw/mlx4/qp.c for (i = 0; i < qp->rq.wqe_cnt; i++) { wqe_cnt 669 drivers/infiniband/hw/mlx4/qp.c qp->sq.wqe_cnt = 1; wqe_cnt 671 drivers/infiniband/hw/mlx4/qp.c qp->buf_size = qp->sq.wqe_cnt << MLX4_IB_MIN_SQ_STRIDE; wqe_cnt 914 drivers/infiniband/hw/mlx4/qp.c qp->sq.wqe_cnt = 1; wqe_cnt 916 drivers/infiniband/hw/mlx4/qp.c qp->buf_size = (qp->rq.wqe_cnt << qp->rq.wqe_shift) + wqe_cnt 917 drivers/infiniband/hw/mlx4/qp.c (qp->sq.wqe_cnt << qp->sq.wqe_shift); wqe_cnt 1183 drivers/infiniband/hw/mlx4/qp.c qp->sq.wrid = kvmalloc_array(qp->sq.wqe_cnt, wqe_cnt 1185 drivers/infiniband/hw/mlx4/qp.c qp->rq.wrid = kvmalloc_array(qp->rq.wqe_cnt, wqe_cnt 1491 drivers/infiniband/hw/mlx4/qp.c if (qp->rq.wqe_cnt) { wqe_cnt 1507 drivers/infiniband/hw/mlx4/qp.c if (qp->rq.wqe_cnt) wqe_cnt 2233 drivers/infiniband/hw/mlx4/qp.c if (qp->rq.wqe_cnt) wqe_cnt 2234 drivers/infiniband/hw/mlx4/qp.c context->rq_size_stride = ilog2(qp->rq.wqe_cnt) << 3; wqe_cnt 2238 drivers/infiniband/hw/mlx4/qp.c if (qp->sq.wqe_cnt) wqe_cnt 2239 drivers/infiniband/hw/mlx4/qp.c context->sq_size_stride = ilog2(qp->sq.wqe_cnt) << 3; wqe_cnt 2458 drivers/infiniband/hw/mlx4/qp.c if (qp->rq.wqe_cnt && wqe_cnt 2542 drivers/infiniband/hw/mlx4/qp.c for (i = 0; i < qp->sq.wqe_cnt; ++i) { wqe_cnt 2611 drivers/infiniband/hw/mlx4/qp.c if (qp->rq.wqe_cnt) wqe_cnt 3599 drivers/infiniband/hw/mlx4/qp.c ctrl = wqe = get_send_wqe(qp, ind & (qp->sq.wqe_cnt - 1)); wqe_cnt 3600 drivers/infiniband/hw/mlx4/qp.c qp->sq.wrid[(qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1)] = wr->wr_id; wqe_cnt 3814 drivers/infiniband/hw/mlx4/qp.c (ind & qp->sq.wqe_cnt ? cpu_to_be32(1 << 31) : 0) | blh; wqe_cnt 3879 drivers/infiniband/hw/mlx4/qp.c ind = qp->rq.head & (qp->rq.wqe_cnt - 1); wqe_cnt 3922 drivers/infiniband/hw/mlx4/qp.c ind = (ind + 1) & (qp->rq.wqe_cnt - 1); wqe_cnt 4091 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_recv_wr = qp->rq.wqe_cnt; wqe_cnt 4095 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_send_wr = qp->sq.wqe_cnt; wqe_cnt 195 drivers/infiniband/hw/mlx5/cq.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 339 drivers/infiniband/hw/mlx5/cq.c idx = tail & (qp->sq.wqe_cnt - 1); wqe_cnt 405 drivers/infiniband/hw/mlx5/cq.c idx &= (wq->wqe_cnt - 1); wqe_cnt 499 drivers/infiniband/hw/mlx5/cq.c idx = wqe_ctr & (wq->wqe_cnt - 1); wqe_cnt 527 drivers/infiniband/hw/mlx5/cq.c idx = wqe_ctr & (wq->wqe_cnt - 1); wqe_cnt 540 drivers/infiniband/hw/mlx5/cq.c wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; wqe_cnt 278 drivers/infiniband/hw/mlx5/mlx5_ib.h int wqe_cnt; wqe_cnt 188 drivers/infiniband/hw/mlx5/qp.c wq->wqe_cnt, wqe_cnt 218 drivers/infiniband/hw/mlx5/qp.c wq->wqe_cnt, wqe_cnt 246 drivers/infiniband/hw/mlx5/qp.c wq->wqe_cnt, wqe_cnt 342 drivers/infiniband/hw/mlx5/qp.c qp->rq.wqe_cnt = 0; wqe_cnt 348 drivers/infiniband/hw/mlx5/qp.c qp->rq.wqe_cnt = ucmd->rq_wqe_count; wqe_cnt 355 drivers/infiniband/hw/mlx5/qp.c qp->rq.max_post = qp->rq.wqe_cnt; wqe_cnt 362 drivers/infiniband/hw/mlx5/qp.c qp->rq.wqe_cnt = wq_size / wqe_size; wqe_cnt 372 drivers/infiniband/hw/mlx5/qp.c qp->rq.max_post = qp->rq.wqe_cnt; wqe_cnt 501 drivers/infiniband/hw/mlx5/qp.c qp->sq.wqe_cnt = wq_size / MLX5_SEND_WQE_BB; wqe_cnt 502 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt > (1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz))) { wqe_cnt 505 drivers/infiniband/hw/mlx5/qp.c qp->sq.wqe_cnt, wqe_cnt 541 drivers/infiniband/hw/mlx5/qp.c qp->sq.wqe_cnt = ucmd->sq_wqe_count; wqe_cnt 543 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt > (1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz))) { wqe_cnt 545 drivers/infiniband/hw/mlx5/qp.c qp->sq.wqe_cnt, wqe_cnt 552 drivers/infiniband/hw/mlx5/qp.c base->ubuffer.buf_size = qp->rq.wqe_cnt << qp->rq.wqe_shift; wqe_cnt 553 drivers/infiniband/hw/mlx5/qp.c qp->raw_packet_qp.sq.ubuffer.buf_size = qp->sq.wqe_cnt << 6; wqe_cnt 555 drivers/infiniband/hw/mlx5/qp.c base->ubuffer.buf_size = (qp->rq.wqe_cnt << qp->rq.wqe_shift) + wqe_cnt 556 drivers/infiniband/hw/mlx5/qp.c (qp->sq.wqe_cnt << 6); wqe_cnt 911 drivers/infiniband/hw/mlx5/qp.c qp->sq.offset = qp->rq.wqe_cnt << qp->rq.wqe_shift; wqe_cnt 1065 drivers/infiniband/hw/mlx5/qp.c qp->sq.offset = qp->rq.wqe_cnt << qp->rq.wqe_shift; wqe_cnt 1066 drivers/infiniband/hw/mlx5/qp.c base->ubuffer.buf_size = err + (qp->rq.wqe_cnt << qp->rq.wqe_shift); wqe_cnt 1075 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt) wqe_cnt 1077 drivers/infiniband/hw/mlx5/qp.c ilog2(qp->rq.wqe_cnt), &qp->rq.fbc); wqe_cnt 1079 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt) { wqe_cnt 1085 drivers/infiniband/hw/mlx5/qp.c ilog2(qp->sq.wqe_cnt), wqe_cnt 1122 drivers/infiniband/hw/mlx5/qp.c qp->sq.wrid = kvmalloc_array(qp->sq.wqe_cnt, wqe_cnt 1124 drivers/infiniband/hw/mlx5/qp.c qp->sq.wr_data = kvmalloc_array(qp->sq.wqe_cnt, wqe_cnt 1126 drivers/infiniband/hw/mlx5/qp.c qp->rq.wrid = kvmalloc_array(qp->rq.wqe_cnt, wqe_cnt 1128 drivers/infiniband/hw/mlx5/qp.c qp->sq.w_list = kvmalloc_array(qp->sq.wqe_cnt, wqe_cnt 1130 drivers/infiniband/hw/mlx5/qp.c qp->sq.wqe_head = kvmalloc_array(qp->sq.wqe_cnt, wqe_cnt 1466 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt) { wqe_cnt 1486 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt) { wqe_cnt 1525 drivers/infiniband/hw/mlx5/qp.c qp->trans_qp.base.mqp.qpn = qp->sq.wqe_cnt ? sq->base.mqp.qpn : wqe_cnt 1538 drivers/infiniband/hw/mlx5/qp.c if (!qp->sq.wqe_cnt) wqe_cnt 1554 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt) { wqe_cnt 1559 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt) { wqe_cnt 2133 drivers/infiniband/hw/mlx5/qp.c ucmd.rq_wqe_count != qp->rq.wqe_cnt) { wqe_cnt 2203 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt) { wqe_cnt 2205 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, log_rq_size, ilog2(qp->rq.wqe_cnt)); wqe_cnt 2210 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt) { wqe_cnt 2211 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, log_sq_size, ilog2(qp->sq.wqe_cnt)); wqe_cnt 2977 drivers/infiniband/hw/mlx5/qp.c if ((qp->ibqp.qp_type == IB_QPT_RAW_PACKET) && qp->sq.wqe_cnt) wqe_cnt 3274 drivers/infiniband/hw/mlx5/qp.c int modify_rq = !!qp->rq.wqe_cnt; wqe_cnt 3275 drivers/infiniband/hw/mlx5/qp.c int modify_sq = !!qp->sq.wqe_cnt; wqe_cnt 3611 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) wqe_cnt 3726 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt) wqe_cnt 4019 drivers/infiniband/hw/mlx5/qp.c idx = (sq->cur_post + (wqe_sz >> 2)) & (sq->wqe_cnt - 1); wqe_cnt 4888 drivers/infiniband/hw/mlx5/qp.c idx = (idx + 1) & (qp->sq.wqe_cnt - 1); wqe_cnt 4905 drivers/infiniband/hw/mlx5/qp.c *idx = qp->sq.cur_post & (qp->sq.wqe_cnt - 1); wqe_cnt 4958 drivers/infiniband/hw/mlx5/qp.c (qp->sq.wqe_cnt - 1)) : wqe_cnt 5380 drivers/infiniband/hw/mlx5/qp.c ind = qp->rq.head & (qp->rq.wqe_cnt - 1); wqe_cnt 5415 drivers/infiniband/hw/mlx5/qp.c ind = (ind + 1) & (qp->rq.wqe_cnt - 1); wqe_cnt 5611 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.wqe_cnt) { wqe_cnt 5617 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt) { wqe_cnt 5797 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_recv_wr = qp->rq.wqe_cnt; wqe_cnt 21 drivers/infiniband/hw/mlx5/srq.h u32 wqe_cnt; wqe_cnt 56 drivers/infiniband/hw/mthca/mthca_srq.c __be16 wqe_cnt; wqe_cnt 68 drivers/infiniband/hw/mthca/mthca_srq.c __be16 wqe_cnt; wqe_cnt 154 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h int wqe_cnt; wqe_cnt 169 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h int wqe_cnt; wqe_cnt 137 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_recv_wr)); wqe_cnt 141 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_recv_wr = qp->rq.wqe_cnt; wqe_cnt 147 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->npages_recv = (qp->rq.wqe_cnt * qp->rq.wqe_size + PAGE_SIZE - 1) / wqe_cnt 162 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->sq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_send_wr)); wqe_cnt 166 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_send_wr = qp->sq.wqe_cnt; wqe_cnt 174 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c (qp->sq.wqe_cnt * qp->sq.wqe_size + PAGE_SIZE - 1) / wqe_cnt 643 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->sq.ring, qp->sq.wqe_cnt, &tail))) { wqe_cnt 804 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->sq.wqe_cnt); wqe_cnt 869 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->rq.ring, qp->rq.wqe_cnt, &tail))) { wqe_cnt 895 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->rq.wqe_cnt); wqe_cnt 376 drivers/net/ethernet/mellanox/mlx4/mlx4.h __be16 wqe_cnt; wqe_cnt 58 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c (dr_cq->qp->sq.wqe_cnt - 1); wqe_cnt 64 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c (dr_cq->qp->sq.wqe_cnt - 1); wqe_cnt 128 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dr_qp->rq.wqe_cnt = 4; wqe_cnt 131 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dr_qp->sq.wqe_cnt = roundup_pow_of_two(attr->max_send_wr); wqe_cnt 134 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(qpc, temp_qpc, log_rq_size, ilog2(dr_qp->rq.wqe_cnt)); wqe_cnt 135 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(qpc, temp_qpc, log_sq_size, ilog2(dr_qp->sq.wqe_cnt)); wqe_cnt 143 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dr_qp->sq.wqe_head = kcalloc(dr_qp->sq.wqe_cnt, wqe_cnt 173 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(qpc, qpc, log_rq_size, ilog2(dr_qp->rq.wqe_cnt)); wqe_cnt 175 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(qpc, qpc, log_sq_size, ilog2(dr_qp->sq.wqe_cnt)); wqe_cnt 237 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c idx = dr_qp->sq.pc & (dr_qp->sq.wqe_cnt - 1); wqe_cnt 981 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h unsigned int wqe_cnt; wqe_cnt 987 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h unsigned int wqe_cnt; wqe_cnt 2859 include/linux/mlx5/mlx5_ifc.h u8 wqe_cnt[0x10]; wqe_cnt 3016 include/linux/mlx5/mlx5_ifc.h u8 wqe_cnt[0x10];