Lines Matching refs:rq_size
814 struct nes_vnic *nesvnic, int sq_size, int rq_size) in nes_setup_virt_qp() argument
835 rq_pbl_entries = (rq_size * sizeof(struct nes_hw_qp_wqe)) >> 12; in nes_setup_virt_qp()
936 int sq_size, int rq_size) in nes_setup_mmap_qp() argument
942 (sizeof(struct nes_hw_qp_wqe) * rq_size) + in nes_setup_mmap_qp()
965 mem += sizeof(struct nes_hw_qp_wqe) * rq_size; in nes_setup_mmap_qp()
969 sizeof(struct nes_hw_qp_wqe) * rq_size; in nes_setup_mmap_qp()
1035 int rq_size; in nes_create_qp() local
1052 rq_size = init_attr->cap.max_recv_wr; in nes_create_qp()
1056 rq_encoded_size = nes_get_encoded_size(&rq_size); in nes_create_qp()
1060 rq_size, sq_size); in nes_create_qp()
1065 init_attr->cap.max_recv_wr = rq_size -1; in nes_create_qp()
1066 nes_debug(NES_DBG_QP, "RQ size=%u, SQ Size=%u\n", rq_size, sq_size); in nes_create_qp()
1152 err = (!virt_wqs) ? nes_setup_mmap_qp(nesqp, nesvnic, sq_size, rq_size) : in nes_create_qp()
1153 nes_setup_virt_qp(nesqp, nespbl, nesvnic, sq_size, rq_size); in nes_create_qp()
1165 nesqp->hwqp.rq_size = rq_size; in nes_create_qp()
1297 uresp.actual_rq_size = rq_size; in nes_create_qp()
2653 attr->cap.max_recv_wr = nesqp->hwqp.rq_size; in nes_query_qp()
3359 u32 qsize = nesqp->hwqp.rq_size; in nes_post_recv()
3583 nesqp->hwqp.rq_tail = (wqe_index+1)&(nesqp->hwqp.rq_size - 1); in nes_poll_cq()